efi/x86: Make fw_vendor, config_table and runtime sysfs nodes x86 specific
authorArd Biesheuvel <ardb@kernel.org>
Mon, 20 Jan 2020 16:23:21 +0000 (17:23 +0100)
committerArd Biesheuvel <ardb@kernel.org>
Sun, 23 Feb 2020 20:59:42 +0000 (21:59 +0100)
commit9cd437ac0ef4f324a92e2579784b03bb487ae7fb
treeac32f5c550cb3980bd4c776a520a322331d13e13
parent0a67361dcdaa29dca1e77ebac919c62e93a8b3bc
efi/x86: Make fw_vendor, config_table and runtime sysfs nodes x86 specific

There is some code that exposes physical addresses of certain parts of
the EFI firmware implementation via sysfs nodes. These nodes are only
used on x86, and are of dubious value to begin with, so let's move
their handling into the x86 arch code.

Tested-by: Tony Luck <tony.luck@intel.com> # arch/ia64
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
arch/x86/include/asm/efi.h
arch/x86/kernel/kexec-bzimage64.c
arch/x86/platform/efi/efi.c
arch/x86/platform/efi/quirks.c
drivers/firmware/efi/arm-init.c
drivers/firmware/efi/efi.c
include/linux/efi.h