summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorJinyu Tang <jinyu.tang@linux.dev>2026-08-14 07:45:06 -0400
committerAnup Patel <anup@brainfault.org>2026-10-03 15:08:14 +0530
commit0971048f467ef2f52f8e05ab4488705e27f9024e (patch)
treeda691060d4ba3110b70bc6e398f00c1f95f0b6d7 /tools/perf/scripts/python/bin
parente8b32e3779513e9ceed73f09c3f53db423140193 (diff)
KVM: selftests: Add RISC-V Sv57 page table indexing
RISC-V selftests can create guests with five page-table levels, for example when the selected guest mode is Sv57. The RISC-V page-table walker only had index arrays for levels 0 through 3, so virt_arch_pg_map() indexed past the end of the arrays when level 4 was used. Add the missing L4 index mask and shift so selftests can build guest page tables for Sv57 VMs. Reviewed-by: Nutty Liu <nutty.liu@hotmail.com> Reviewed-by: Anup Patel <anup@brainfault.org> Signed-off-by: Jinyu Tang <jinyu.tang@linux.dev> Link: https://lore.kernel.org/r/20260814114507.583424-3-jinyu.tang@linux.dev Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions