Re: [PATCH] x86/kexec: always ensure EFI systab region is mapped
From: Baoquan He
Date: Wed Apr 24 2019 - 01:41:43 EST
On 04/24/19 at 02:47am, Junichi Nomura wrote:
> On 4/24/19 2:15 AM, Kairui Song wrote:
> > On Mon, Apr 22, 2019 at 11:21 PM Junichi Nomura <j-nomura@xxxxxxxxxxxxx> wrote:
> >> Is the mapping of ACPI tables just by luck, too?
> > Good question, they should have same issue with systab, I ignored this one.
> > Then in first kernel when doing kexec it should ensure both ACPI
> > tables and the EFI systab are mapped, that should cover everything and
> > make it work.
> > Is there anything else missing?
> No, as far as I looked around get_rsdp_addr().
Have made a draft patch to build ident mapping for ACPI tables too, it's
based on Kairui's patch. Dave has tested on his t400s laptop, and
passed. Please check if this adding is OK.
Kairui, you can add this into your patch to make a new one and resend.
Or I can combine them and send for you today.