[RFC PATCH 6/7] x86/kexec: Debugging support: Dump registers on exception

David Woodhouse dwmw2 at infradead.org
Thu Nov 7 21:21:58 PST 2024


On Tue, 2024-11-05 at 18:47 -0800, H. Peter Anvin wrote:
> 
> 
> Yes, the linker script needs to happen. 


How does this look? Need to do 32-bit too, and actually test the
preserve_context case. And then port the debugging bits on top...

David Woodhouse (2):
      x86/kexec: Use linker script for relocate_kernel page layout
      x86/kexec: Add data section to relocate_kernel

 arch/x86/include/asm/sections.h      |  1 +
 arch/x86/kernel/machine_kexec_64.c   |  6 ++--
 arch/x86/kernel/relocate_kernel_64.S | 64 ++++++++++++++++++++----------------
 arch/x86/kernel/vmlinux.lds.S        | 12 ++++++-
 4 files changed, 51 insertions(+), 32 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5965 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/kexec/attachments/20241107/74badaf9/attachment.p7s>


More information about the kexec mailing list