PCI: dwc: Make the MSI domain naming explicit
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | PCI: dwc: Rename dw_pcie_allocate_domains to dw_pcie_allocate_msi_domainsdrivers/ drivers/ drivers/ | +6 | 0 replies | |
| 2/2 | PCI: dwc: Rename pp->irq_domain to pp->msi_irq_domaindrivers/ drivers/ drivers/ +1 more | +7 | 1 reply |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Vignesh Raghavendra |
|---|---|
| 1/2 | |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] PCI: dwc: Make the MSI domain naming explicit
I was looking into whether the DWC core provides a common INTx irq domain registration and handling flow, as several glue drivers owning a legacy interrupt controller copy-paste the same code (get the "legacy-interrupt-controller" child node, create a linear domain with a one-line .map callback, install a chained handler).
The DWC core has no INTx equivalent at all: dw_pcie_allocate_domains() looks like it could be that helper at first glance, but it only creates the MSI parent irq domain (msi_create_parent_irq_domain() with DOMAIN_BUS_PCI_MSI). Likewise, struct dw_pcie_rp::irq_domain only serves the MSI parent domain.
So make the naming explicit:
patch 1 renames dw_pcie_allocate_domains() todw_pcie_allocate_msi_domains().
patch 2 renames struct dw_pcie_rp::irq_domain to ::msi_irq_domain.
Shawn Lin (2):
PCI: dwc: Rename dw_pcie_allocate_domains to
dw_pcie_allocate_msi_domains
PCI: dwc: Rename pp->irq_domain to pp->msi_irq_domain
drivers/pci/controller/dwc/pci-dra7xx.c | 2 +- drivers/pci/controller/dwc/pci-keystone.c | 4 ++-- drivers/pci/controller/dwc/pcie-designware-host.c | 14 +++++++------- drivers/pci/controller/dwc/pcie-designware.h | 6 +++--- 4 files changed, 13 insertions(+), 13 deletions(-)
Signature · 1 line
2.7.4