From: Dave Young Date: Fri, 20 Dec 2013 10:02:18 +0000 (+0800) Subject: efi: Export EFI runtime memory mapping to sysfs X-Git-Tag: v3.14-rc1~163^2~8 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=926172d46038d7610b6b8d84e40db727cefb482d;p=pandora-kernel.git efi: Export EFI runtime memory mapping to sysfs 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 directory /sys/firmware/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 Signed-off-by: Dave Young Tested-by: Toshi Kani Signed-off-by: Matt Fleming --- Reading git-diff-tree failed