diff options
author | Ryan Roberts <ryan.roberts@arm.com> | 2023-03-08 11:09:47 +0000 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2023-03-30 19:27:56 +0100 |
commit | e659babfc5a693553cf9473470840464f0ed5d77 (patch) | |
tree | 9d1deba2e214c6c43766231ad0169ee1543e59a0 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | a2bed39057b434c4fd816005d1b950fefc61569d (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 <ryan.roberts@arm.com>
Reviewed-by: Oliver Upton <oliver.upton@linux.dev>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20230308110948.1820163-3-ryan.roberts@arm.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions