Re: [PATCH] x86/boot: Use efi_setup_data for searching RSDP on kexec-ed kernels

From: Dave Young
Date: Wed Apr 17 2019 - 21:24:30 EST


On 04/17/19 at 10:22am, Borislav Petkov wrote:
> On Wed, Apr 17, 2019 at 09:38:38AM +0800, Dave Young wrote:
> > But if you want to apply it now, I think it is fine as well, probably
> > the laptop issue is lenovo firmware specific, we can add rsdp in cmdline
> > or boot params via kexec-tools so it should be good by using new kexec-tools.
>
> I'm not in a hurry to apply it - if you guys wanna debug this further,
> sure, we can wait and then tag all the fixes for stable so that they can
> get backported.

Thanks! According to our debugging this indeed need amending. We tried
maping the efi systab/acpi table area with some hardcode changes, and
test passed. This means the previous tests people have done probably
just happened work, maybe early pg table happen to cover the memory
areas in their cases. We noticed in vm guest and some other machines, the systab
all fall into memory under 2G, but the systab of T420 sits in area
0xda...... which is 2G ~ 4G area.

Kairui is trying to work on some fix so that it can be folded into the
current reviewed patch.

Thanks
Dave