[PATCH v2 08/12] drivers:pci:msi: Store PCI domain (segment) as part of IRQ domain

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Jake Oshins <jakeo@xxxxxxxxxxxxx>

In order to allow an MSI IRQ domain to be specific to a PCI domain, add a field
to the struct that tracks the PCI domain.

Signed-off-by: Jake Oshins <jakeo@xxxxxxxxxxxxx>
---
 include/linux/msi.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/linux/msi.h b/include/linux/msi.h
index ad939d0..7370225 100644
--- a/include/linux/msi.h
+++ b/include/linux/msi.h
@@ -227,6 +227,7 @@ struct msi_domain_ops {
  * @handler_data:	Optional: associated interrupt flow handler data
  * @handler_name:	Optional: associated interrupt flow handler name
  * @data:		Optional: domain specific data
+ * @pci_domain:		Associated PCI domain (segment)
  */
 struct msi_domain_info {
 	u32			flags;
@@ -237,6 +238,7 @@ struct msi_domain_info {
 	void			*handler_data;
 	const char		*handler_name;
 	void			*data;
+	int			pci_domain;
 };
 
 /* Flags for msi_domain_info */
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux