Skip to content

PCI: dwc: Make the MSI domain naming explicit

Shawn Lin linux-pci 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2PCI: dwc: Rename dw_pcie_allocate_domains to dw_pcie_allocate_msi_domainsdrivers/pci/controller/dwc/pci-keystone.c drivers/pci/controller/dwc/pcie-designware-host.c drivers/pci/controller/dwc/pcie-designware.h+6 -60 replies
2/2PCI: dwc: Rename pp->irq_domain to pp->msi_irq_domaindrivers/pci/controller/dwc/pci-dra7xx.c drivers/pci/controller/dwc/pci-keystone.c drivers/pci/controller/dwc/pcie-designware-host.c +1 more+7 -71 reply

Reviews trailers per patch

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

PatchVignesh Raghavendra
1/2
2/2R-b

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/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() to
dw_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