[coreboot] Re: [PATCH v4 1/2] firmware: google: Expose CBMEM over sysfs

2020-06-26 Thread Stephen Boyd
Quoting Julius Werner (2020-06-25 13:51:34) > > > +What: /sys/bus/coreboot/devices/.../cbmem_attributes/address > > > +Date: Apr 2020 > > > +KernelVersion: 5.6 > > > +Contact: Patrick Rudolph > > > +Description: > > > + coreboot device directory can contain a

[coreboot] Re: [PATCH v4 2/2] firmware: google: Expose coreboot tables over sysfs

2020-06-25 Thread Stephen Boyd
ibutes/data > > Signed-off-by: Patrick Rudolph > --- Reviewed-by: Stephen Boyd Minor nits below: > -v2: > - Add ABI documentation > - Add 0x prefix on hex values > - Remove wrong ioremap hint as found by CI > -v3: > - Use BIN_ATTR_RO &g

[coreboot] Re: [PATCH v4 1/2] firmware: google: Expose CBMEM over sysfs

2020-06-25 Thread Stephen Boyd
Quoting patrick.rudo...@9elements.com (2020-04-07 01:29:06) > From: Patrick Rudolph > > Make all CBMEM buffers available to userland. This is useful for tools > that are currently using /dev/mem. > > Make the id, size and address available, as well as the raw table data. > > Tools can easily

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

2019-11-15 Thread Stephen Boyd
Quoting patrick.rudo...@9elements.com (2019-11-15 08:15:14) > From: Patrick Rudolph > > 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 >