Re: [PATCH 0/2] firmware: google: Expose coreboot tables and CBMEM

From: Stephen Boyd
Date: Fri Nov 15 2019 - 17:23:29 EST


Quoting patrick.rudolph@xxxxxxxxxxxxx (2019-11-15 08:15:14)
> From: Patrick Rudolph <patrick.rudolph@xxxxxxxxxxxxx>
>
> 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.