All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/3] firmware: Add coreboot CFR firmware attributes driver
@ 2026-07-10 16:39 Sean Rhodes
  2026-07-13  5:45 ` [PATCH v5 " Sean Rhodes
  0 siblings, 1 reply; 14+ messages in thread
From: Sean Rhodes @ 2026-07-10 16:39 UTC (permalink / raw)
  To: Tzung-Bi Shih
  Cc: Hans de Goede, Ilpo Järvinen, Corentin Chary, Luke D. Jones,
	Denis Benato, Prasanth Ksr, Jorge Lopez, Mark Pearson,
	Derek J. Clark, Joshua Grisham, Brian Norris, Julius Werner,
	Thomas Zimmermann, Javier Martinez Canillas, Kees Cook,
	Uwe Kleine-König, Michael S. Tsirkin, Huacai Chen,
	Chen-Yu Tsai, Florian Fainelli, Titouan Ameline de Cadeville,
	linux-kernel, platform-driver-x86, Dell.Client.Kernel,
	chrome-platform

Move the firmware attributes class helper out of platform/x86, rename
the coreboot-table firmware driver directory from google to coreboot, and
add a coreboot CFR firmware attributes driver.

Changes in v4:
- Rebase onto current upstream/master.
- Add Mark's Reviewed-by to patch 1.
- Include <linux/device-id/coreboot.h> instead of
  <linux/mod_devicetable.h> in the CFR driver.

Sean Rhodes (3):
  firmware: Move firmware attributes class helper
  firmware: Rename google firmware directory to coreboot
  firmware: coreboot: Add CFR firmware attributes driver

 MAINTAINERS                                   |   18 +-
 drivers/firmware/Kconfig                      |    5 +-
 drivers/firmware/Makefile                     |    3 +-
 drivers/firmware/{google => coreboot}/Kconfig |   19 +-
 .../firmware/{google => coreboot}/Makefile    |    1 +
 drivers/firmware/{google => coreboot}/cbmem.c |    0
 drivers/firmware/coreboot/coreboot-cfr.c      | 1068 +++++++++++++++++
 .../{google => coreboot}/coreboot_table.c     |    0
 .../{google => coreboot}/coreboot_table.h     |    0
 .../framebuffer-coreboot.c                    |    0
 drivers/firmware/{google => coreboot}/gsmi.c  |    0
 .../memconsole-coreboot.c                     |    0
 .../memconsole-x86-legacy.c                   |    0
 .../{google => coreboot}/memconsole.c         |    0
 .../{google => coreboot}/memconsole.h         |    6 +-
 drivers/firmware/{google => coreboot}/vpd.c   |    0
 .../{google => coreboot}/vpd_decode.c         |    0
 .../{google => coreboot}/vpd_decode.h         |    0
 .../firmware_attributes_class.c               |    2 +-
 drivers/platform/x86/Kconfig                  |    3 -
 drivers/platform/x86/Makefile                 |    2 -
 drivers/platform/x86/asus-armoury.c           |    2 +-
 .../x86/dell/dell-wmi-sysman/sysman.c         |    2 +-
 drivers/platform/x86/hp/hp-bioscfg/bioscfg.c  |    2 +-
 drivers/platform/x86/lenovo/think-lmi.c       |    2 +-
 drivers/platform/x86/lenovo/wmi-other.c       |    2 +-
 drivers/platform/x86/samsung-galaxybook.c     |    2 +-
 .../linux/firmware_attributes.h               |    6 +-
 28 files changed, 1120 insertions(+), 25 deletions(-)
 rename drivers/firmware/{google => coreboot}/Kconfig (83%)
 rename drivers/firmware/{google => coreboot}/Makefile (92%)
 rename drivers/firmware/{google => coreboot}/cbmem.c (100%)
 create mode 100644 drivers/firmware/coreboot/coreboot-cfr.c
 rename drivers/firmware/{google => coreboot}/coreboot_table.c (100%)
 rename drivers/firmware/{google => coreboot}/coreboot_table.h (100%)
 rename drivers/firmware/{google => coreboot}/framebuffer-coreboot.c (100%)
 rename drivers/firmware/{google => coreboot}/gsmi.c (100%)
 rename drivers/firmware/{google => coreboot}/memconsole-coreboot.c (100%)
 rename drivers/firmware/{google => coreboot}/memconsole-x86-legacy.c (100%)
 rename drivers/firmware/{google => coreboot}/memconsole.c (100%)
 rename drivers/firmware/{google => coreboot}/memconsole.h (82%)
 rename drivers/firmware/{google => coreboot}/vpd.c (100%)
 rename drivers/firmware/{google => coreboot}/vpd_decode.c (100%)
 rename drivers/firmware/{google => coreboot}/vpd_decode.h (100%)
 rename drivers/{platform/x86 => firmware}/firmware_attributes_class.c (94%)
 rename drivers/platform/x86/firmware_attributes_class.h =>
include/linux/firmware_attributes.h (60%)

Range-diff against v3:
1:  0d105cd2eb39 ! 1:  4a82d0a07612 firmware: Move firmware attributes
class helper
    @@ Commit message
         firmware drivers use the standard firmware-attributes ABI
without living
         under platform/x86.

    +    Reviewed-by: Mark Pearson <mpearson-lenovo@squebb.ca>
         Signed-off-by: Sean Rhodes <sean@starlabs.systems>

      ## MAINTAINERS ##
2:  4cc4e0c4b69a = 2:  285b33f805dc firmware: Rename google firmware
directory to coreboot
3:  b12a36d80e48 ! 3:  5edcdb4635c2 firmware: coreboot: Add CFR
firmware attributes driver
    @@ drivers/firmware/coreboot/coreboot-cfr.c (new)
     +#include <linux/kobject.h>
     +#include <linux/limits.h>
     +#include <linux/list.h>
    -+#include <linux/mod_devicetable.h>
    ++#include <linux/device-id/coreboot.h>
     +#include <linux/module.h>
     +#include <linux/mutex.h>
     +#include <linux/slab.h>
-- 
2.53.0

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

end of thread, other threads:[~2026-07-17  5:53 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-10 16:39 [PATCH v4 0/3] firmware: Add coreboot CFR firmware attributes driver Sean Rhodes
2026-07-13  5:45 ` [PATCH v5 " Sean Rhodes
2026-07-13  5:45   ` [PATCH v5 1/3] firmware: Move firmware attributes class helper Sean Rhodes
2026-07-13  7:13     ` Derek J. Clark
2026-07-13  5:45   ` [PATCH v5 2/3] firmware: Rename google firmware directory to coreboot Sean Rhodes
2026-07-13  5:45   ` [PATCH v5 3/3] firmware: coreboot: Add CFR firmware attributes driver Sean Rhodes
2026-07-13  8:13   ` [PATCH v6 0/3] firmware: Add coreboot " Sean Rhodes
2026-07-13  8:13     ` [PATCH v6 1/3] firmware: Move firmware attributes class helper Sean Rhodes
2026-07-13 10:03       ` Derek J. Clark
2026-07-15 12:11         ` Oliver Lin
2026-07-13  8:13     ` [PATCH v6 2/3] firmware: Rename google firmware directory to coreboot Sean Rhodes
2026-07-13  8:13     ` [PATCH v6 3/3] firmware: coreboot: Add CFR firmware attributes driver Sean Rhodes
2026-07-17  5:53       ` Tzung-Bi Shih
2026-07-13  9:53     ` [PATCH v6 0/3] firmware: Add coreboot " Derek J. Clark

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.