Re: [PATCH v2] x86/kexec: Push kjump return address even for non-kjump kexec
From: Dave Hansen
Date: Thu May 07 2026 - 18:08:23 EST
On 4/28/26 13:59, David Woodhouse wrote:
> + /*
> + * Set return address to 0 if not preserving context. The purgatory
> + * shipped in kexec-tools will unconditionally look for the return
> + * address on the stack and set a kexec_jump_back_entry= command
> + * line option if it's non-zero. There's no other way that it can
> + * tell a preserve-context (kjump) kexec from a normal one.
> + */
> + pushq $0
Thanks for the update. LGTM:
Acked-by: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>