On Fri, 2024-11-08 at 05:22 +0000, David Woodhouse wrote: > > @@ -128,7 +138,7 @@ SYM_CODE_START_LOCAL_NOALIGN(identity_mapped) > /* set return address to 0 if not preserving context */ > pushq $0 > /* store the start address on the stack */ > - pushq %rdx > + pushq start_address(%rip) > > /* > * Clear X86_CR4_CET (if it was set) such that we can clear CR0_WP Oops, drop that part; I did that (and actually defined it, and stored the value in it) just to test that everything was actually *working*, since I think the rest of the data fields are only used for preserve_context mode. Fixed in the tree at https://git.infradead.org/users/dwmw2/linux.git/shortlog/refs/heads//kexec-lds
<<attachment: smime.p7s>>
_______________________________________________ kexec mailing list kexec@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/kexec