PCI: MSI parent domain conversion
Status from this message: Applied the series except patch 14/16 to pci/controller/msi-parent, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/16 | PCI: dwc: Switch to msi_create_parent_irq_domain()drivers/ drivers/ drivers/ | +25 | 1 reply | |
| 2/16 | PCI: mobiveil: Switch to msi_create_parent_irq_domain()drivers/ drivers/ drivers/ | +23 | 1 reply | |
| 3/16 | PCI: aardvark: Switch to msi_create_parent_irq_domain()drivers/ drivers/ | +24 | 1 reply | |
| 4/16 | PCI: altera-msi: Switch to msi_create_parent_irq_domain()drivers/ drivers/ | +22 | 1 reply | |
| 5/16 | PCI: brcmstb: Switch to msi_create_parent_irq_domain()drivers/ drivers/ | +23 | 2 replies | |
| 6/16 | PCI: iproc: Switch to msi_create_parent_irq_domain()drivers/ drivers/ | +22 | 2 replies | |
| 7/16 | PCI: mediatek-gen3: Switch to msi_create_parent_irq_domain()drivers/ drivers/ | +26 | 1 reply | |
| 8/16 | PCI: mediatek: Switch to msi_create_parent_irq_domain()drivers/ drivers/ | +23 | 1 reply | |
| 9/16 | PCI: rcar-host: Switch to msi_create_parent_irq_domain()drivers/ drivers/ | +26 | 1 reply | |
| 10/16 | PCI: xilinx-xdma: Switch to msi_create_parent_irq_domain()drivers/ drivers/ | +22 | 1 reply | |
| 11/16 | PCI: xilinx-nwl: Switch to msi_create_parent_irq_domain()drivers/ drivers/ | +24 | 1 reply | |
| 12/16 | PCI: xilinx: Switch to msi_create_parent_irq_domain()drivers/ drivers/ | +32 | 1 reply | |
| 13/16 | PCI: plda: Switch to msi_create_parent_irq_domain()drivers/ drivers/ drivers/ | +23 | 1 reply | |
| 14/16 | PCI: hv: Switch to msi_create_parent_irq_domain()drivers/ drivers/ | +80 | 14 replies | |
| 15/16 | PCI: vmd: Convert to lock guardsdrivers/ | +29 | 1 reply | |
| 16/16 | PCI: vmd: Switch to msi_create_parent_irq_domain()drivers/ drivers/ | +82 | 6 replies |
Reviews trailers per patch
All 16 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Florian Fainelli | Thomas Gleixner | Bjorn Helgaas |
|---|---|---|---|
| Series | A-b | ||
| 1/16 | R-b | ||
| 2/16 | R-b | ||
| 3/16 | R-b | ||
| 4/16 | R-b | ||
| 5/16 | R-b | R-b | |
| 6/16 | R-b | R-b | |
| 7/16 | R-b | ||
| 8/16 | R-b | ||
| 9/16 | R-b | ||
| 10/16 | R-b | ||
| 11/16 | R-b | ||
| 12/16 | R-b | ||
| 13/16 | R-b | ||
| 14/16 | R-b | ||
| 15/16 | R-b | ||
| 16/16 | R-b |
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.
Cover letter [PATCH 00/16] PCI: MSI parent domain conversion
The initial implementation of PCI/MSI interrupt domains in the hierarchical interrupt domain model used a shortcut by providing a global PCI/MSI domain.
This works because the PCI/MSI[X] hardware is standardized and uniform, but it violates the basic design principle of hierarchical interrupt domains:
Each hardware block involved in the interrupt delivery chain should have a separate interrupt domain.
For PCI/MSI[X], the interrupt controller is per PCI device and not a global made-up entity.
Unsurprisingly, the shortcut turned out to have downsides as it does not allow dynamic allocation of interrupt vectors after initialization and it prevents supporting IMS on PCI. For further details, see:
https://lore.kernel.org/lkml/[email protected]/
The solution is implementing per device MSI domains, this means the entities which provide global PCI/MSI domain so far have to implement MSI parent domain functionality instead.
This series converts the PCI controller drivers to implement MSI parent domain.
drivers/pci/Kconfig | 1 + drivers/pci/controller/Kconfig | 11 + drivers/pci/controller/dwc/Kconfig | 1 + .../pci/controller/dwc/pcie-designware-host.c | 68 ++---- drivers/pci/controller/dwc/pcie-designware.h | 1 - drivers/pci/controller/mobiveil/Kconfig | 1 + .../controller/mobiveil/pcie-mobiveil-host.c | 42 ++-- .../pci/controller/mobiveil/pcie-mobiveil.h | 1 - drivers/pci/controller/pci-aardvark.c | 59 ++--- drivers/pci/controller/pci-hyperv.c | 98 ++++++-- drivers/pci/controller/pcie-altera-msi.c | 44 ++-- drivers/pci/controller/pcie-brcmstb.c | 44 ++-- drivers/pci/controller/pcie-iproc-msi.c | 45 ++-- drivers/pci/controller/pcie-mediatek-gen3.c | 67 ++--- drivers/pci/controller/pcie-mediatek.c | 46 ++-- drivers/pci/controller/pcie-rcar-host.c | 69 ++---- drivers/pci/controller/pcie-xilinx-dma-pl.c | 48 ++-- drivers/pci/controller/pcie-xilinx-nwl.c | 45 ++-- drivers/pci/controller/pcie-xilinx.c | 55 +++-- drivers/pci/controller/plda/Kconfig | 1 + drivers/pci/controller/plda/pcie-plda-host.c | 44 ++-- drivers/pci/controller/plda/pcie-plda.h | 1 - drivers/pci/controller/vmd.c | 229 +++++++++--------- 23 files changed, 504 insertions(+), 517 deletions(-)
Signature · 1 line
2.39.5