Re: [PATCH] efi/x86-stub: store acpi_rsdp_addr in bootparams

From: Dave Young

Date: Thu Feb 19 2026 - 02:02:45 EST


> > > The kexec use case is it depends on the pre-kexec kernel saving it
> > > during boot for noefi case. I do not have a better idea to do it in
> > > kexec code for the time being.
> >
> > How about something like this?
>
> Thanks! It works for me, however the legacy kexec_load syscall still
> failed with a panic I did not dig into the root cause yet, I supposed
> it will find the rsdp from /sys/firmware/efi/systab file, maybe some
> userspace code bug.

FYI, the changes work with the latest upstream kexec-tools,
In case someone is curious, it fixed the wrong "%lux" with ""0x%" PRIx64"

Thanks
Dave