Fix irq allocation of PCI host bridge on powernv
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | ppc/pnv: Tune the POWER9 PCIe Host bridge modelhw/ | +4 | 5 replies | |
| 2/3 | pci: Export the pci_intx() functionhw/ include/ | +5 | 1 reply | |
| 3/3 | pcie_aer: Don't trigger a LSI if none are definedhw/ | +3 | 1 reply |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Cédric Le Goater |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] Fix irq allocation of PCI host bridge on powernv
This series removes a bogus allocation of a LSI interrupt for the PCI Host Bridge found in the powernv model (phb4). The real hardware doesn't declare any LSI, so the model should match. It was causing some inconsistencies in the interrupt controller data.
However, removing that LSI shows that the PCI AER code assumes an interrupt is defined (LSI or MSI or MSI-X), which is not the case with the root bridge device on powernv. So the last patch adds a check to make sure a LSI is defined before entering pci_set_irq() as it asserts if it's called with no LSI defined.
Frederic Barrat (3):
ppc/pnv: Tune the POWER9 PCIe Host bridge model
pci: Export the pci_intx() function
pcie_aer: Don't trigger a LSI if none are defined
hw/pci-host/pnv_phb4.c | 5 ++++- hw/pci/pci.c | 5 ----- hw/pci/pcie_aer.c | 4 +++- include/hw/pci/pci.h | 5 +++++ 4 files changed, 12 insertions(+), 7 deletions(-)
Signature · 1 line
2.33.1