Quoting patrick.rudolph@9elements.com (2019-11-15 08:15:14)
From: Patrick Rudolph patrick.rudolph@9elements.com
As user land tools currently use /dev/mem to access coreboot tables and CBMEM, provide a better way by using sysfs attributes.
Unconditionally expose all tables and buffers making future changes in coreboot possible without modifying a kernel driver.
Patrick Rudolph (2): firmware: google: Expose CBMEM over sysfs firmware: google: Expose coreboot tables over sysfs
drivers/firmware/google/Kconfig | 6 + drivers/firmware/google/Makefile | 1 + drivers/firmware/google/cbmem-coreboot.c | 164 +++++++++++++++++++++++ drivers/firmware/google/coreboot_table.c | 59 ++++++++ drivers/firmware/google/coreboot_table.h | 13 ++
There should be some Documentation/ABI updates here too so we know how the sysfs files work.