[v2,0/7] Allow coreboot modules to autoload and enable cbmem in the arm64 defconfig

Message ID 20240112131857.900734-1-nfraprado@collabora.com
Headers
Series Allow coreboot modules to autoload and enable cbmem in the arm64 defconfig |

Message

Nícolas F. R. A. Prado Jan. 12, 2024, 1:18 p.m. UTC
  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 v2:
- Added commits for vpd, memconsole and framebuffer drivers to add them
  to the module device table

Nícolas F. R. A. Prado (7):
  firmware: coreboot: Generate modalias uevent for devices
  firmware: coreboot: Generate aliases for coreboot modules
  firmware: google: cbmem: Add to module device table
  firmware: google: vpd: Add to module device table
  firmware: google: memconsole: Add to module device table
  firmware: google: framebuffer: Add to module device table
  arm64: defconfig: Enable support for cbmem entries in the coreboot
    table

 arch/arm64/configs/defconfig                   |  3 +++
 drivers/firmware/google/cbmem.c                |  7 +++++++
 drivers/firmware/google/coreboot_table.c       |  9 +++++++++
 drivers/firmware/google/framebuffer-coreboot.c |  7 +++++++
 drivers/firmware/google/memconsole-coreboot.c  |  7 +++++++
 drivers/firmware/google/vpd.c                  |  7 +++++++
 include/linux/mod_devicetable.h                |  8 ++++++++
 scripts/mod/devicetable-offsets.c              |  3 +++
 scripts/mod/file2alias.c                       | 10 ++++++++++
 9 files changed, 61 insertions(+)
  

Comments

AngeloGioacchino Del Regno Jan. 17, 2024, 10:29 a.m. UTC | #1
Il 12/01/24 14:18, Nícolas F. R. A. Prado ha scritto:
> 
> 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.
> 

For the entire series:

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>

> 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 (7):
>    firmware: coreboot: Generate modalias uevent for devices
>    firmware: coreboot: Generate aliases for coreboot modules
>    firmware: google: cbmem: Add to module device table
>    firmware: google: vpd: Add to module device table
>    firmware: google: memconsole: Add to module device table
>    firmware: google: framebuffer: Add to module device table
>    arm64: defconfig: Enable support for cbmem entries in the coreboot
>      table
> 
>   arch/arm64/configs/defconfig                   |  3 +++
>   drivers/firmware/google/cbmem.c                |  7 +++++++
>   drivers/firmware/google/coreboot_table.c       |  9 +++++++++
>   drivers/firmware/google/framebuffer-coreboot.c |  7 +++++++
>   drivers/firmware/google/memconsole-coreboot.c  |  7 +++++++
>   drivers/firmware/google/vpd.c                  |  7 +++++++
>   include/linux/mod_devicetable.h                |  8 ++++++++
>   scripts/mod/devicetable-offsets.c              |  3 +++
>   scripts/mod/file2alias.c                       | 10 ++++++++++
>   9 files changed, 61 insertions(+)
>