aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorRyan Roberts <[email protected]>2023-03-08 11:09:47 +0000
committerMarc Zyngier <[email protected]>2023-03-30 19:27:56 +0100
commite659babfc5a693553cf9473470840464f0ed5d77 (patch)
tree9d1deba2e214c6c43766231ad0169ee1543e59a0 /tools/testing/selftests/bpf/progs/test_autoload.c
parenta2bed39057b434c4fd816005d1b950fefc61569d (diff)
KVM: selftests: arm64: Fix pte encode/decode for PA bits > 48
The high bits [51:48] of a physical address should appear at [15:12] in a 64K pte, not at [51:48] as was previously being programmed. Fix this with new helper functions that do the conversion correctly. This also sets us up nicely for adding LPA2 encodings in future. Fixes: 7a6629ef746d ("kvm: selftests: add virt mem support for aarch64") Signed-off-by: Ryan Roberts <[email protected]> Reviewed-by: Oliver Upton <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions