diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2023-01-19 17:09:02 +0000 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2023-01-21 11:02:19 +0000 |
commit | c3b37c2d77a2c735857c55492ee81e88e855497d (patch) | |
tree | 28eed49ac174a395c315e49ade89edd24d0fd09a /drivers/usb/cdns3/cdns3-debug.h | |
parent | de535c0234dd2dbd9c790790f2ca1c4ec8a52d2b (diff) |
KVM: arm64: Pass the actual page address to mte_clear_page_tags()
Commit d77e59a8fccd ("arm64: mte: Lock a page for MTE tag
initialisation") added a call to mte_clear_page_tags() in case a
prior mte_copy_tags_from_user() failed in order to avoid stale tags in
the guest page (it should have really been a separate commit).
Unfortunately, the argument passed to this function was the address of
the struct page rather than the actual page address. Fix this function
call.
Fixes: d77e59a8fccd ("arm64: mte: Lock a page for MTE tag initialisation")
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Marc Zyngier <maz@kernel.org>
Reviewed-by: Oliver Upton <oliver.upton@linux.dev>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20230119170902.1574756-1-catalin.marinas@arm.com
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions