summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorVincent Donnefort <vdonnefort@google.com>2025-01-07 14:28:21 +0300
committerMarc Zyngier <maz@kernel.org>2025-01-08 14:18:39 +0300
commit68344037b764401f751c66661c53334ea1e15324 (patch)
tree280c346d64c2652836e8625f137e3e46ff82a11e /tools/perf/scripts/python/stackcollapse.py
parente8440c1e2d23a9ca5e0af1a18be637cbd5a5d44f (diff)
downloadlinux-68344037b764401f751c66661c53334ea1e15324.tar.xz
KVM: arm64: Fix nVHE stacktrace VA bits mask
The hypervisor VA space size depends on both the ID map's (IDMAP_VA_BITS) and the kernel stage-1 (VA_BITS). However, the hypervisor stacktrace decoding is solely relying on VA_BITS. This is especially an issue when VA_BITS < IDMAP_VA_BITS (i.e. VA_BITS is 39-bit): the hypervisor may have addresses bigger than the stacktrace is masking. Align this mask with hyp_va_bits. Signed-off-by: Vincent Donnefort <vdonnefort@google.com> Link: https://lore.kernel.org/r/20250107112821.416591-1-vdonnefort@google.com Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions