All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] firmware: google: Expose coreboot tables and CBMEM
@ 2019-11-20 13:39 patrick.rudolph
  2019-11-20 13:39 ` [PATCH 1/2] firmware: google: Expose CBMEM over sysfs patrick.rudolph
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: patrick.rudolph @ 2019-11-20 13:39 UTC (permalink / raw)
  To: linux-kernel
  Cc: Patrick Rudolph, Greg Kroah-Hartman, Thomas Gleixner,
	Alexios Zavras, Allison Randal, Samuel Holland, Julius Werner,
	Stephen Boyd

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 read-only sysfs attributes.

Unconditionally expose all tables and buffers making future changes in
coreboot possible without modifying a kernel driver.

Changes in v2:
 - Add ABI documentation
 - Add 0x prefix on hex values
 - Remove wrong ioremap hint as found by CI

Patrick Rudolph (2):
  firmware: google: Expose CBMEM over sysfs
  firmware: google: Expose coreboot tables over sysfs

 Documentation/ABI/stable/sysfs-bus-coreboot |  73 +++++++++
 drivers/firmware/google/Kconfig             |   9 ++
 drivers/firmware/google/Makefile            |   1 +
 drivers/firmware/google/cbmem-coreboot.c    | 162 ++++++++++++++++++++
 drivers/firmware/google/coreboot_table.c    |  60 ++++++++
 drivers/firmware/google/coreboot_table.h    |  13 ++
 6 files changed, 318 insertions(+)
 create mode 100644 Documentation/ABI/stable/sysfs-bus-coreboot
 create mode 100644 drivers/firmware/google/cbmem-coreboot.c

-- 
2.21.0


^ permalink raw reply	[flat|nested] 7+ messages in thread
* [PATCH 0/2] firmware: google: Expose coreboot tables and CBMEM
@ 2019-11-15 16:15 patrick.rudolph
  2019-11-15 16:15 ` [PATCH 2/2] firmware: google: Expose coreboot tables over sysfs patrick.rudolph
  0 siblings, 1 reply; 7+ messages in thread
From: patrick.rudolph @ 2019-11-15 16:15 UTC (permalink / raw)
  To: linux-kernel
  Cc: coreboot, Patrick Rudolph, Greg Kroah-Hartman, Thomas Gleixner,
	Allison Randal, Alexios Zavras, Stephen Boyd, Julius Werner,
	Samuel Holland

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 ++
 5 files changed, 243 insertions(+)
 create mode 100644 drivers/firmware/google/cbmem-coreboot.c

-- 
2.21.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-11-20 14:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-20 13:39 [PATCH 0/2] firmware: google: Expose coreboot tables and CBMEM patrick.rudolph
2019-11-20 13:39 ` [PATCH 1/2] firmware: google: Expose CBMEM over sysfs patrick.rudolph
2019-11-20 14:02   ` Greg Kroah-Hartman
2019-11-20 13:39 ` [PATCH 2/2] firmware: google: Expose coreboot tables " patrick.rudolph
2019-11-20 14:03   ` Greg Kroah-Hartman
2019-11-20 14:02 ` [PATCH 0/2] firmware: google: Expose coreboot tables and CBMEM Greg Kroah-Hartman
  -- strict thread matches above, loose matches on Subject: below --
2019-11-15 16:15 patrick.rudolph
2019-11-15 16:15 ` [PATCH 2/2] firmware: google: Expose coreboot tables over sysfs patrick.rudolph

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.