summaryrefslogtreecommitdiff
path: root/include/linux/msi.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2015-10-16 14:22:15 +0200
committerThomas Gleixner <tglx@linutronix.de>2015-10-16 14:22:15 +0200
commit3b93baf56dafa2d27e4fc227990dcd3ffeb10510 (patch)
treebf5cbab9a60df9291dcc92592f21a1c52cc593ee /include/linux/msi.h
parenta71225e204f5ba8b41e7bb100ca37c074861d5b1 (diff)
parent54fa97eeb9e22b47d68b67ee00987afa7fbc2178 (diff)
Merge tag 'msi-map-4.4' of git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms into irq/core
Support for msi-map, and msi-parent update from Marc Zyngier: - New map-map property to describe the remapping of requester-ids, and the routing of MSIs to controllers - New hooks to make MSI domains per-device if required - Extension of msi-parent to provide sideband information - Extensive documentation for both msi-map and msi-parent
Diffstat (limited to 'include/linux/msi.h')
-rw-r--r--include/linux/msi.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/msi.h b/include/linux/msi.h
index 32a24b9a9556..0b4460374020 100644
--- a/include/linux/msi.h
+++ b/include/linux/msi.h
@@ -294,6 +294,13 @@ irq_hw_number_t pci_msi_domain_calc_hwirq(struct pci_dev *dev,
struct msi_desc *desc);
int pci_msi_domain_check_cap(struct irq_domain *domain,
struct msi_domain_info *info, struct device *dev);
+u32 pci_msi_domain_get_msi_rid(struct irq_domain *domain, struct pci_dev *pdev);
+struct irq_domain *pci_msi_get_device_domain(struct pci_dev *pdev);
+#else
+static inline struct irq_domain *pci_msi_get_device_domain(struct pci_dev *pdev)
+{
+ return NULL;
+}
#endif /* CONFIG_PCI_MSI_IRQ_DOMAIN */
#endif /* LINUX_MSI_H */