summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/stackdepot.py
diff options
context:
space:
mode:
authorRoman Kisel <romank@linux.microsoft.com>2025-02-28 00:47:27 +0300
committerWei Liu <wei.liu@kernel.org>2025-03-21 00:23:03 +0300
commitced518ad55b4118dd77f8a455a06801b89f2f877 (patch)
tree669670eb4b2d616197243e4186f56f6e01a30f70 /scripts/gdb/linux/stackdepot.py
parentfe14262695526145334bfa0bb51fcc365cf6dfb5 (diff)
downloadlinux-ced518ad55b4118dd77f8a455a06801b89f2f877.tar.xz
x86/hyperv: Add VTL mode emergency restart callback
By default, X86(-64) systems use the emergecy restart routine in the course of which the code unconditionally writes to the physical address of 0x472 to indicate the boot mode to the firmware (BIOS or UEFI). When the kernel itself runs as a firmware in the VTL mode, that write corrupts the memory of the guest upon emergency restarting. Preserving the state intact in that situation is important for debugging, at least. Define the specialized machine callback to avoid that write and use the triple fault to perform emergency restart. Signed-off-by: Roman Kisel <romank@linux.microsoft.com> Link: https://lore.kernel.org/r/20250227214728.15672-2-romank@linux.microsoft.com Signed-off-by: Wei Liu <wei.liu@kernel.org> Message-ID: <20250227214728.15672-2-romank@linux.microsoft.com>
Diffstat (limited to 'scripts/gdb/linux/stackdepot.py')
0 files changed, 0 insertions, 0 deletions