linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/4] Allow coreboot modules to autoload and enable cbmem in the arm64 defconfig
@ 2024-01-17 19:03 Nícolas F. R. A. Prado
  2024-01-17 19:03 ` [PATCH v3 1/4] firmware: coreboot: Generate modalias uevent for devices Nícolas F. R. A. Prado
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Nícolas F. R. A. Prado @ 2024-01-17 19:03 UTC (permalink / raw)
  To: Tzung-Bi Shih
  Cc: Arnd Bergmann, Brian Norris, Julius Werner, Masahiro Yamada,
	Nathan Chancellor, Nicolas Schier, Catalin Marinas, Will Deacon,
	AngeloGioacchino Del Regno, Andy Shevchenko, kernel,
	chrome-platform, linux-kernel, linux-kbuild, linux-arm-kernel,
	Nícolas F. R. A. Prado

This series adds the missing pieces to the coreboot bus and the module
alias generation to allow coreboot modules to be automatically loaded
when matching devices are detected.

The configs for cbmem coreboot entries are then enabled in the arm64
defconfig, as modules, to allow reading logs from coreboot on arm64
Chromebooks, which is useful for debugging the boot process.

Changes in v3:
- Merged all "add to module device table" commits into a single commit
  which also changes the coreboot_driver struct to contain an id table
  and avoid unused variable warnings for the id tables.

Changes in v2:
- Added commits for vpd, memconsole and framebuffer drivers to add them
  to the module device table

---
Nícolas F. R. A. Prado (4):
      firmware: coreboot: Generate modalias uevent for devices
      firmware: coreboot: Generate aliases for coreboot modules
      firmware: coreboot: Replace tag with id table in driver struct
      arm64: defconfig: Enable support for cbmem entries in the coreboot table

 arch/arm64/configs/defconfig                   |  3 +++
 drivers/firmware/google/cbmem.c                |  8 +++++++-
 drivers/firmware/google/coreboot_table.c       | 20 +++++++++++++++++++-
 drivers/firmware/google/coreboot_table.h       |  3 ++-
 drivers/firmware/google/framebuffer-coreboot.c |  8 +++++++-
 drivers/firmware/google/memconsole-coreboot.c  |  8 +++++++-
 drivers/firmware/google/vpd.c                  |  8 +++++++-
 include/linux/mod_devicetable.h                |  8 ++++++++
 scripts/mod/devicetable-offsets.c              |  3 +++
 scripts/mod/file2alias.c                       | 10 ++++++++++
 10 files changed, 73 insertions(+), 6 deletions(-)
---
base-commit: 0f067394dd3b2af3263339cf7183bdb6ee0ac1f8
change-id: 20240117-coreboot-mod-defconfig-826b01e242d9

Best regards,
-- 
Nícolas F. R. A. Prado <nfraprado@collabora.com>


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2024-02-06  3:54 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-17 19:03 [PATCH v3 0/4] Allow coreboot modules to autoload and enable cbmem in the arm64 defconfig Nícolas F. R. A. Prado
2024-01-17 19:03 ` [PATCH v3 1/4] firmware: coreboot: Generate modalias uevent for devices Nícolas F. R. A. Prado
2024-02-05  1:37   ` Tzung-Bi Shih
2024-02-05 14:13     ` Nícolas F. R. A. Prado
2024-02-06  3:54       ` Tzung-Bi Shih
2024-01-17 19:03 ` [PATCH v3 2/4] firmware: coreboot: Generate aliases for coreboot modules Nícolas F. R. A. Prado
2024-01-17 19:03 ` [PATCH v3 3/4] firmware: coreboot: Replace tag with id table in driver struct Nícolas F. R. A. Prado
2024-01-18  8:46   ` AngeloGioacchino Del Regno
2024-01-17 19:03 ` [PATCH v3 4/4] arm64: defconfig: Enable support for cbmem entries in the coreboot table Nícolas F. R. A. Prado
2024-01-19  2:39 ` [PATCH v3 0/4] Allow coreboot modules to autoload and enable cbmem in the arm64 defconfig Tzung-Bi Shih
2024-01-23 22:07 ` Brian Norris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).