aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorArd Biesheuvel <[email protected]>2024-02-14 13:29:25 +0100
committerCatalin Marinas <[email protected]>2024-02-16 12:42:42 +0000
commit95e059b5db6082e62632f40434059759c7c1f6ed (patch)
tree355fb43900f1a534c658d6c47e549d1b6b5f5ba2 /tools/perf/util/trace-event-scripting.c
parentd40900fcb39700207823486ca512a1a87d6331e2 (diff)
arm64: kvm: avoid CONFIG_PGTABLE_LEVELS for runtime levels
get_user_mapping_size() uses vabits_actual and CONFIG_PGTABLE_LEVELS to provide the starting point for a table walk. This is fine for LVA, as the number of translation levels is the same regardless of whether LVA is enabled. However, with LPA2, this will no longer be the case, so let's derive the number of levels from the number of VA bits directly. Acked-by: Marc Zyngier <[email protected]> Acked-by: Oliver Upton <[email protected]> Signed-off-by: Ard Biesheuvel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions