aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorKalesh Singh <[email protected]>2022-04-20 14:42:56 -0700
committerMarc Zyngier <[email protected]>2022-04-28 20:53:13 +0100
commit66de19fad9ef47c5376a99bb2b00661f1c788a94 (patch)
treee48f84b936a6cd584013bd9a2c14f077d93cc08f /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent1a919b17ef012ca0572bae759c27e5ea02bfb47f (diff)
KVM: arm64: Detect and handle hypervisor stack overflows
The hypervisor stacks (for both nVHE Hyp mode and nVHE protected mode) are aligned such that any valid stack address has PAGE_SHIFT bit as 1. This allows us to conveniently check for overflow in the exception entry without corrupting any GPRs. We won't recover from a stack overflow so panic the hypervisor. Signed-off-by: Kalesh Singh <[email protected]> Tested-by: Fuad Tabba <[email protected]> Reviewed-by: Fuad Tabba <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions