aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorKalesh Singh <[email protected]>2022-07-26 00:37:46 -0700
committerMarc Zyngier <[email protected]>2022-07-26 10:50:12 +0100
commit6928bcc84bc4bd9a24a1cb1986418c3de76e1d99 (patch)
tree998aa50f0f6d9954e2155c5ef20a2b19e46f25c3 /scripts/gdb/linux/modules.py
parent72adac1bd234002a65cef738e0eebfd6c2ce2e30 (diff)
KVM: arm64: Allocate shared pKVM hyp stacktrace buffers
In protected nVHE mode the host cannot directly access hypervisor memory, so we will dump the hypervisor stacktrace to a shared buffer with the host. The minimum size for the buffer required, assuming the min frame size of [x29, x30] (2 * sizeof(long)), is half the combined size of the hypervisor and overflow stacks plus an additional entry to delimit the end of the stacktrace. The stacktrace buffers are used later in the series to dump the nVHE hypervisor stacktrace when using protected-mode. Signed-off-by: Kalesh Singh <[email protected]> Reviewed-by: Fuad Tabba <[email protected]> Tested-by: Fuad Tabba <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions