Skip to content

hw/pci: Consider reserved slots mask when checking PCI bus is full

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3hw/pci: Have various pci_bus*() methods take a const PCIBus argumenthw/pci-bridge/pci_expander_bridge.c hw/pci/pci.c include/hw/pci/pci.h +1 more+21 -211 reply
2/3hw/qdev: Introduce BusClass::is_full() handlerinclude/hw/core/qdev.h system/qdev-monitor.c+8 -00 replies
3/3hw/pci: Consider reserved slots mask when checking PCI bus is fullhw/pci/pci.c+17 -03 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchThomas HuthMark Cave-Ayland
SeriesT-b
1/3R-b
2/3
3/3

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

Read the v1 thread

Cover letter [PATCH 0/3] hw/pci: Consider reserved slots mask when checking PCI bus is full

Generic fix for the SPARC/Sabre issue reported by Thomas:
https://lore.kernel.org/qemu-devel/[email protected]/
"hw/sparc64/sun4u: Mark unusable PCI busses as full to ease device plugging"

Philippe Mathieu-Daudé (3):
hw/pci: Have various pci_bus*() methods take a const PCIBus argument hw/qdev: Introduce BusClass::is_full() handler
hw/pci: Consider reserved slots mask when checking PCI bus is full

 include/hw/core/qdev.h              |  5 +++++
 include/hw/pci/pci.h                | 10 ++++-----
 include/hw/pci/pci_bus.h            | 10 ++++-----
 hw/pci-bridge/pci_expander_bridge.c |  4 ++--
 hw/pci/pci.c                        | 35 +++++++++++++++++++++--------
 system/qdev-monitor.c               |  3 +++
 6 files changed, 46 insertions(+), 21 deletions(-)
Signature · 1 line
2.53.0