[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20131029053427.GH5185@dhcp-16-126.nay.redhat.com>
Date: Tue, 29 Oct 2013 13:34:27 +0800
From: Dave Young <dyoung@...hat.com>
To: linux-kernel@...r.kernel.org
Cc: linux-efi@...r.kernel.org, x86@...nel.org, mjg59@...f.ucam.org,
hpa@...or.com, James.Bottomley@...senPartnership.com,
vgoyal@...hat.com, ebiederm@...ssion.com, horms@...ge.net.au,
kexec@...ts.fedoraproject.org, kexec@...ts.infradead.org,
bp@...en8.de
Subject: Re: [patch 5/6] export efi runtime memory mapping to sysfs
On 10/27/13 at 11:47am, Dave Young wrote:
> kexec kernel will need exactly same mapping for
> efi runtime memory ranges. Thus here export the
> runtime ranges mapping to sysfs, kexec-tools
> will assemble them and pass to 2nd kernel via
> setup_data.
>
> Introducing a new directly /sys/firmware/efi/efi-runtime-map
> Just like /sys/firmware/memmap. Containing below attribute
> in each file of that directory:
> attribute num_pages phys_addr type virt_addr
>
> It will not work for efi 32bit. Only x86_64 currently.
>
> Signed-off-by: Dave Young <dyoung@...hat.com>
> ---
> arch/x86/include/asm/efi.h | 3
> arch/x86/platform/efi/efi.c | 11 ++
> drivers/firmware/efi/Kconfig | 10 +
> drivers/firmware/efi/Makefile | 1
> drivers/firmware/efi/efi-runtime-map.c | 166 +++++++++++++++++++++++++++++++++
> drivers/firmware/efi/efi.c | 3
> 6 files changed, 193 insertions(+), 1 deletion(-)
Remind myself: add below to Documentaion in next version:
Documentation/ABI/testing/sysfs-efi-runtime-map
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists