Skip to content

hw/pci-bridge: fix build with CONFIG_CXL disabled

Daniel P. Berrangé linux-cxl qemu-arm qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 2 repliesIn review

Changes in v2 from the cover letter

* Instead of using CONFIG_CXL in pci_expander_bridge.c split the file in two and conditionalize in meson.build

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2hw/arm: remove pci-bridge/pci_expander_bridge.h from virt.chw/arm/virt.c+0 -11 reply
2/2hw/pci-bridge: split CXL PXB into separate filehw/cxl/cxl-host.c hw/pci-bridge/meson.build hw/pci-bridge/pci_expander_bridge.c +4 more+242 -2021 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchPhilippe Mathieu-Daudé
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] hw/pci-bridge: fix build with CONFIG_CXL disabled

See patch 2 for the details

Changed in v2:

* Instead of using CONFIG_CXL in pci_expander_bridge.c split the file in two and conditionalize in meson.build

Daniel P. Berrangé (2):
hw/arm: remove pci-bridge/pci_expander_bridge.h from virt.c hw/pci-bridge: split CXL PXB into separate file

 hw/arm/virt.c                                 |   1 -
 hw/cxl/cxl-host.c                             |   2 +-
 hw/pci-bridge/meson.build                     |   4 +-
 hw/pci-bridge/pci_expander_bridge.c           | 194 +----------------
 hw/pci-bridge/pci_expander_bridge_common.h    |  29 +++
 hw/pci-bridge/pci_expander_bridge_cxl.c       | 201 ++++++++++++++++++
 hw/pci-bridge/pci_expander_bridge_stubs.c     |  14 --
 ...der_bridge.h => pci_expander_bridge_cxl.h} |   0
 8 files changed, 242 insertions(+), 203 deletions(-)
 create mode 100644 hw/pci-bridge/pci_expander_bridge_common.h
 create mode 100644 hw/pci-bridge/pci_expander_bridge_cxl.c
 delete mode 100644 hw/pci-bridge/pci_expander_bridge_stubs.c
 rename include/hw/pci-bridge/{pci_expander_bridge.h => pci_expander_bridge_cxl.h} (100%)
Signature · 1 line
2.55.0