]> git.baikalelectronics.ru Git - kernel.git/commit
efi: Export Runtime Configuration Interface table to sysfs
authorNarendra K <Narendra.K@dell.com>
Wed, 10 Jul 2019 18:59:15 +0000 (18:59 +0000)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 8 Aug 2019 08:10:25 +0000 (11:10 +0300)
commita75521f7aacc7b6ddd479202f730519ddab9909c
tree9a016f580ce572836e68e02592d5c6b3be1849ec
parent91abb10a0f121849a02ab904b52b115ad51e6a29
efi: Export Runtime Configuration Interface table to sysfs

System firmware advertises the address of the 'Runtime
Configuration Interface table version 2 (RCI2)' via
an EFI Configuration Table entry. This code retrieves the RCI2
table from the address and exports it to sysfs as a binary
attribute 'rci2' under /sys/firmware/efi/tables directory.
The approach adopted is similar to the attribute 'DMI' under
/sys/firmware/dmi/tables.

RCI2 table contains BIOS HII in XML format and is used to populate
BIOS setup page in Dell EMC OpenManage Server Administrator tool.
The BIOS setup page contains BIOS tokens which can be configured.

Signed-off-by: Narendra K <Narendra.K@dell.com>
Reviewed-by: Mario Limonciello <mario.limonciello@dell.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Documentation/ABI/testing/sysfs-firmware-efi
arch/x86/platform/efi/efi.c
drivers/firmware/efi/Kconfig
drivers/firmware/efi/Makefile
drivers/firmware/efi/efi.c
drivers/firmware/efi/rci2-table.c [new file with mode: 0644]
include/linux/efi.h