Skip to content

hw/nvram/fw_cfg: Do not build device if not needed (Spring cleanup)

Philippe Mathieu-Daudé qemu-arm qemu-devel qemu-riscv 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7stubs: Restrict fw_cfg stubs to sysemustubs/meson.build+1 -11 reply
2/7hw/nvram: Rename FW_CFG_MIPS as generic FW_CFG Kconfig symbolhw/mips/Kconfig hw/mips/meson.build hw/nvram/Kconfig+5 -50 replies
3/7hw/nvram: Declare FW_CFG_DMA Kconfig symbol in hw/nvram/hw/display/Kconfig hw/nvram/Kconfig+4 -30 replies
4/7hw/acpi/vmgenid: Make ACPI_VMGENID depends on FW_CFG Kconfighw/acpi/Kconfig+1 -01 reply
5/7hw: Have machines Kconfig-select FW_CFGhw/arm/Kconfig hw/hppa/Kconfig hw/i386/Kconfig +3 more+8 -05 replies
6/7hw/{arm,hppa,riscv}: Add fw_cfg arch-specific stubMAINTAINERS hw/arm/fw_cfg.c hw/arm/meson.build +4 more+61 -12 replies
7/7hw/nvram: Do not build FW_CFG if not requiredhw/nvram/meson.build stubs/fw_cfg.c+48 -31 reply

Reviews trailers per patch

3 of 7 patches have a Reviewed-by or Acked-by.

PatchDavid GibsonLaszlo ErsekEduardo Habkost
1/7A-b
2/7
3/7
4/7R-b
5/7A-b A-b
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/7] hw/nvram/fw_cfg: Do not build device if not needed (Spring cleanup)

Hi,

Quite a trivial series around fw_cfg:
- enforce the FW_CFG Kconfig symbol,
- add missing Kconfig dependencies,
- explicit machines using the fw_cfg device,
- allow targets not using the device to build without it.

Please review,

Phil.

Philippe Mathieu-Daudé (7):
stubs: Restrict fw_cfg stubs to sysemu
hw/nvram: Rename FW_CFG_MIPS as generic FW_CFG Kconfig symbol hw/nvram: Declare FW_CFG_DMA Kconfig symbol in hw/nvram/ hw/acpi/vmgenid: Make ACPI_VMGENID depends on FW_CFG Kconfig
hw: Have machines Kconfig-select FW_CFG hw/{arm,hppa,riscv}: Add fw_cfg arch-specific stub hw/nvram: Do not build FW_CFG if not required

 hw/arm/fw_cfg.c      | 19 +++++++++++++++++
 hw/hppa/fw_cfg.c     | 19 +++++++++++++++++
 hw/riscv/fw_cfg.c    | 19 +++++++++++++++++
 stubs/fw_cfg.c       | 49 ++++++++++++++++++++++++++++++++++++++++++--
 MAINTAINERS          |  2 +-
 hw/acpi/Kconfig      |  1 +
 hw/arm/Kconfig       |  2 ++
 hw/arm/meson.build   |  1 +
 hw/display/Kconfig   |  3 ---
 hw/hppa/Kconfig      |  1 +
 hw/hppa/meson.build  |  1 +
 hw/i386/Kconfig      |  2 ++
 hw/mips/Kconfig      |  5 +----
 hw/mips/meson.build  |  2 +-
 hw/nvram/Kconfig     |  7 +++++++
 hw/nvram/meson.build |  2 +-
 hw/ppc/Kconfig       |  1 +
 hw/riscv/meson.build |  1 +
 hw/sparc/Kconfig     |  1 +
 hw/sparc64/Kconfig   |  1 +
 stubs/meson.build    |  2 +-
 21 files changed, 128 insertions(+), 13 deletions(-)
 create mode 100644 hw/arm/fw_cfg.c
 create mode 100644 hw/hppa/fw_cfg.c
 create mode 100644 hw/riscv/fw_cfg.c
Signature · 1 line
2.26.3