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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

<<attachment: smime.p7s>>

_______________________________________________
kexec mailing list
kexec@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/kexec

[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux