Skip to content

MSI, of, irqchip/gicv3-its: Handle "msi-map" properties.

David Daney linux-arm-kernel linux-devicetree linux-pci lkml 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest4 patches 4 repliesIn review
  2. v44 patches 2 repliesSuperseded
  3. v34 patches 5 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v23 patches10 repliesSuperseded
v12 patches7 repliesSuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Docs: dt: Add PCI MSI map bindingsDocumentation/devicetree/bindings/pci/pci-msi.txt+220 -03 replies
2/4of/irq: Add new function of_msi_map_rid()drivers/of/irq.c include/linux/of_irq.h+91 -00 replies
3/4PCI/MSI: Add helper function pci_msi_domain_get_msi_rid().drivers/pci/msi.c include/linux/msi.h+31 -01 reply
4/4irqchip/gic-v3-its: Add handling of PCI requester id.drivers/irqchip/irq-gic-v3-its-pci-msi.c+1 -30 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchMarc ZyngierRob HerringBjorn Helgaas
1/4A-b
2/4R-b A-b
3/4R-b A-b
4/4R-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.

Read the v5 thread

Cover letter [PATCH v5 0/4] MSI, of, irqchip/gicv3-its: Handle "msi-map" properties.

From: David Daney <[email protected]>

The first patch from Mark Rutland adds the OF device tree binding description, which explains what we are attempting to do here. For MSI messages on GICv3 systems there is some side-band data that accompanies the message, this data is specified in the OF device tree "msi-map" property of the PCI host driver.

The second patch adds a parser to get the required information out of the device tree.

The third patch creates the pci_msi_domain_get_msi_rid() function to make it more convenient to generate the proper PCI/MSI requester id.

The final patch converts gicv3-its to use the new infrastructure.

Changes from v1: Factor out the device tree access code to a separate function in drivers/of/irq.c

Changes from v2: Added the pci_msi_domain_get_msi_rid() patch to generalize the support a bit more.

Changes from v3: Added Acked-by to 2/4. Simplified and improved pci_msi_domain_get_msi_rid() as suggested by Marc Zyngier in 3/4. 1/4 and 4/4 unchanged.

Changes from v4: Added Reviewed-by to 3/4 and 4/4

David Daney (3):
of/irq: Add new function of_msi_map_rid() PCI/MSI: Add helper function pci_msi_domain_get_msi_rid(). irqchip/gic-v3-its: Add handling of PCI requester id.

Mark Rutland (1):
Docs: dt: Add PCI MSI map bindings

 Documentation/devicetree/bindings/pci/pci-msi.txt | 220 ++++++++++++++++++++++
 drivers/irqchip/irq-gic-v3-its-pci-msi.c          |   4 +-
 drivers/of/irq.c                                  |  84 +++++++++
 drivers/pci/msi.c                                 |  30 +++
 include/linux/msi.h                               |   1 +
 include/linux/of_irq.h                            |   7 +
 6 files changed, 343 insertions(+), 3 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/pci/pci-msi.txt
Signature · 1 line
1.9.1