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@xxxxxxxxxx> > --- > 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-efi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html