summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorAlexandre Ghiti <alexghiti@rivosinc.com>2023-01-23 12:29:28 +0300
committerAnup Patel <anup@brainfault.org>2023-02-07 18:05:24 +0300
commitc25a6dddc62c84f50e57094bd44e7f9d84907f49 (patch)
tree63f77263a83bb0c2a8000ad9f28420aab0fb6a20 /tools/perf/scripts/python/stat-cpi.py
parent4ec5183ec48656cec489c49f989c508b68b518e3 (diff)
downloadlinux-c25a6dddc62c84f50e57094bd44e7f9d84907f49.tar.xz
KVM: RISC-V: Fix wrong usage of PGDIR_SIZE to check page sizes
At the moment, riscv only supports PMD and PUD hugepages. For sv39, PGDIR_SIZE == PUD_SIZE but not for sv48 and sv57. So fix this by changing PGDIR_SIZE into PUD_SIZE. Fixes: 9d05c1fee837 ("RISC-V: KVM: Implement stage2 page table programming") Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com> Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions