]> git.proxmox.com Git - mirror_ubuntu-focal-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)
commit1c5fecb61255aa12a16c4c06335ab68979865914
tree9a016f580ce572836e68e02592d5c6b3be1849ec
parent5828efb95bc43ad6a59f05458d3aed9649dd5a63
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