Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1231057
| From | David Daney <ddaney.cavm@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v2 3/3] irqchip/gicv3-its: Handle OF device tree "msi-map" properties. |
| Date | 2015-09-23 02:10 +0200 |
| Message-ID | <qbFNf-4eK-7@gated-at.bofh.it> (permalink) |
| References | <qbFNf-4eK-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: David Daney <david.daney@cavium.com> Call of_msi_map_rid() to handle mapping of the requester id. Signed-off-by: David Daney <david.daney@cavium.com> --- drivers/irqchip/irq-gic-v3-its-pci-msi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-gic-v3-its-pci-msi.c b/drivers/irqchip/irq-gic-v3-its-pci-msi.c index cf351c6..8b1c938 100644 --- a/drivers/irqchip/irq-gic-v3-its-pci-msi.c +++ b/drivers/irqchip/irq-gic-v3-its-pci-msi.c @@ -86,7 +86,8 @@ static int its_pci_msi_prepare(struct irq_domain *domain, struct device *dev, pci_for_each_dma_alias(pdev, its_get_pci_alias, &dev_alias); /* ITS specific DeviceID, as the core ITS ignores dev. */ - info->scratchpad[0].ul = dev_alias.dev_id; + info->scratchpad[0].ul = of_msi_map_rid(dev, domain->of_node, + dev_alias.dev_id); return msi_info->ops->msi_prepare(domain->parent, dev, dev_alias.count, info); -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v2 0/3] of, irqchip/gicv3-its: Handle "msi-map" properties. David Daney <ddaney.cavm@gmail.com> - 2015-09-23 02:10 +0200
[PATCH v2 1/3] Docs: dt: Add PCI MSI map bindings David Daney <ddaney.cavm@gmail.com> - 2015-09-23 02:10 +0200
Re: [PATCH v2 1/3] Docs: dt: Add PCI MSI map bindings Marc Zyngier <marc.zyngier@arm.com> - 2015-09-23 18:40 +0200
[PATCH v2 3/3] irqchip/gicv3-its: Handle OF device tree "msi-map" properties. David Daney <ddaney.cavm@gmail.com> - 2015-09-23 02:10 +0200
Re: [PATCH v2 3/3] irqchip/gicv3-its: Handle OF device tree "msi-map" properties. Marc Zyngier <marc.zyngier@arm.com> - 2015-09-23 19:10 +0200
Re: [PATCH v2 3/3] irqchip/gicv3-its: Handle OF device tree "msi-map" properties. Will Deacon <will.deacon@arm.com> - 2015-09-23 20:00 +0200
Re: [PATCH v2 3/3] irqchip/gicv3-its: Handle OF device tree "msi-map" properties. Marc Zyngier <marc.zyngier@arm.com> - 2015-09-23 20:20 +0200
Re: [PATCH v2 3/3] irqchip/gicv3-its: Handle OF device tree "msi-map" properties. Robin Murphy <robin.murphy@arm.com> - 2015-09-23 21:30 +0200
[PATCH v2 2/3] of/irq: Add new function of_msi_map_rid() David Daney <ddaney.cavm@gmail.com> - 2015-09-23 02:10 +0200
Re: [PATCH v2 2/3] of/irq: Add new function of_msi_map_rid() Marc Zyngier <marc.zyngier@arm.com> - 2015-09-23 19:00 +0200
Re: [PATCH v2 2/3] of/irq: Add new function of_msi_map_rid() Rob Herring <robh@kernel.org> - 2015-09-23 19:10 +0200
csiph-web