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(-)
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ kexec mailing list [email protected] http://lists.infradead.org/mailman/listinfo/kexec
