aboutsummaryrefslogtreecommitdiff
path: root/include/linux/page_ref.h
diff options
context:
space:
mode:
authorGravatar Ricardo Koller <ricarkol@google.com> 2023-01-27 21:43:52 +0000
committerGravatar Marc Zyngier <maz@kernel.org> 2023-01-29 18:49:08 +0000
commit8b03c97fa6fd442b949b71aeb7545b970b968fe3 (patch)
treeb9e781c9ee4c5e967cac730da46ff74991d6c6a6 /include/linux/page_ref.h
parentKVM: selftests: aarch64: Do not default to dirty PTE pages on all S1PTWs (diff)
downloadlinux-8b03c97fa6fd442b949b71aeb7545b970b968fe3.tar.gz
linux-8b03c97fa6fd442b949b71aeb7545b970b968fe3.tar.bz2
linux-8b03c97fa6fd442b949b71aeb7545b970b968fe3.zip
KVM: selftests: aarch64: Fix check of dirty log PT write
The dirty log checks are mistakenly testing the first page in the page table (PT) memory region instead of the page holding the test data page PTE. This wasn't an issue before commit 406504c7b040 ("KVM: arm64: Fix S1PTW handling on RO memslots") as all PT pages (including the first page) were treated as writes. Fix the page_fault_test dirty logging tests by checking for the right page: the one for the PTE of the data test page. Fixes: a4edf25b3e25 ("KVM: selftests: aarch64: Add dirty logging tests into page_fault_test") Signed-off-by: Ricardo Koller <ricarkol@google.com> Reviewed-by: Oliver Upton <oliver.upton@linux.dev> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20230127214353.245671-4-ricarkol@google.com
Diffstat (limited to 'include/linux/page_ref.h')
0 files changed, 0 insertions, 0 deletions