All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: LKML <linux-kernel@vger.kernel.org>
Cc: Bjorn Helgaas <helgaas@kernel.org>, Marc Zygnier <maz@kernel.org>,
	Alex Williamson <alex.williamson@redhat.com>,
	Kevin Tian <kevin.tian@intel.com>,
	Jason Gunthorpe <jgg@nvidia.com>, Megha Dey <megha.dey@intel.com>,
	Ashok Raj <ashok.raj@intel.com>,
	linux-pci@vger.kernel.org, Cedric Le Goater <clg@kaod.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Juergen Gross <jgross@suse.com>,
	xen-devel@lists.xenproject.org, Arnd Bergmann <arnd@arndb.de>,
	Michael Ellerman <mpe@ellerman.id.au>,
	Benjamin Herrenschmidt <benh@kernel.crashing.org>,
	linuxppc-dev@lists.ozlabs.org,
	Bjorn Helgaas <bhelgaas@google.com>,
	Stuart Yoder <stuyoder@gmail.com>,
	Laurentiu Tudor <laurentiu.tudor@nxp.com>,
	Nishanth Menon <nm@ti.com>, Tero Kristo <kristo@kernel.org>,
	Santosh Shilimkar <ssantosh@kernel.org>,
	linux-arm-kernel@lists.infradead.org,
	Vinod Koul <vkoul@kernel.org>,
	dmaengine@vger.kernel.org, Mark Rutland <mark.rutland@arm.com>,
	Will Deacon <will@kernel.org>,
	Robin Murphy <robin.murphy@arm.com>,
	Joerg Roedel <joro@8bytes.org>,
	iommu@lists.linux-foundation.org,
	Jassi Brar <jassisinghbrar@gmail.com>,
	Peter Ujfalusi <peter.ujfalusi@gmail.com>,
	Sinan Kaya <okaya@kernel.org>
Subject: [patch V3 08/35] device: Add device:: Msi_data pointer and struct msi_device_data
Date: Fri, 10 Dec 2021 23:18:55 +0100 (CET)	[thread overview]
Message-ID: <20211210221813.676660809@linutronix.de> (raw)
In-Reply-To: 20211210221642.869015045@linutronix.de

From: Thomas Gleixner <tglx@linutronix.de>

Create struct msi_device_data and add a pointer of that type to struct
dev_msi_info, which is part of struct device. Provide an allocator function
which can be invoked from the MSI interrupt allocation code pathes.

Add a properties field to the data structure as a first member so the
allocation size is not zero bytes. The field will be uses later on.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
---
 include/linux/device.h |    5 +++++
 include/linux/msi.h    |   18 ++++++++++++++++++
 kernel/irq/msi.c       |   32 ++++++++++++++++++++++++++++++++
 3 files changed, 55 insertions(+)

--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -45,6 +45,7 @@ struct iommu_ops;
 struct iommu_group;
 struct dev_pin_info;
 struct dev_iommu;
+struct msi_device_data;
 
 /**
  * struct subsys_interface - interfaces to device functions
@@ -374,11 +375,15 @@ struct dev_links_info {
 /**
  * struct dev_msi_info - Device data related to MSI
  * @domain:	The MSI interrupt domain associated to the device
+ * @data:	Pointer to MSI device data
  */
 struct dev_msi_info {
 #ifdef CONFIG_GENERIC_MSI_IRQ_DOMAIN
 	struct irq_domain	*domain;
 #endif
+#ifdef CONFIG_GENERIC_MSI_IRQ
+	struct msi_device_data	*data;
+#endif
 };
 
 /**
--- a/include/linux/msi.h
+++ b/include/linux/msi.h
@@ -171,6 +171,16 @@ struct msi_desc {
 	};
 };
 
+/**
+ * msi_device_data - MSI per device data
+ * @properties:		MSI properties which are interesting to drivers
+ */
+struct msi_device_data {
+	unsigned long			properties;
+};
+
+int msi_setup_device_data(struct device *dev);
+
 /* Helpers to hide struct msi_desc implementation details */
 #define msi_desc_to_dev(desc)		((desc)->dev)
 #define dev_to_msi_list(dev)		(&(dev)->msi_list)
@@ -233,10 +243,16 @@ void pci_msi_mask_irq(struct irq_data *d
 void pci_msi_unmask_irq(struct irq_data *data);
 
 #ifdef CONFIG_SYSFS
+int msi_device_populate_sysfs(struct device *dev);
+void msi_device_destroy_sysfs(struct device *dev);
+
 const struct attribute_group **msi_populate_sysfs(struct device *dev);
 void msi_destroy_sysfs(struct device *dev,
 		       const struct attribute_group **msi_irq_groups);
 #else
+static inline int msi_device_populate_sysfs(struct device *dev) { return 0; }
+static inline void msi_device_destroy_sysfs(struct device *dev) { }
+
 static inline const struct attribute_group **msi_populate_sysfs(struct device *dev)
 {
 	return NULL;
@@ -384,6 +400,8 @@ enum {
 	MSI_FLAG_MUST_REACTIVATE	= (1 << 5),
 	/* Is level-triggered capable, using two messages */
 	MSI_FLAG_LEVEL_CAPABLE		= (1 << 6),
+	/* Populate sysfs on alloc() and destroy it on free() */
+	MSI_FLAG_DEV_SYSFS		= (1 << 7),
 };
 
 int msi_domain_set_affinity(struct irq_data *data, const struct cpumask *mask,
--- a/kernel/irq/msi.c
+++ b/kernel/irq/msi.c
@@ -73,6 +73,38 @@ void get_cached_msi_msg(unsigned int irq
 }
 EXPORT_SYMBOL_GPL(get_cached_msi_msg);
 
+static void msi_device_data_release(struct device *dev, void *res)
+{
+	WARN_ON_ONCE(!list_empty(&dev->msi_list));
+	dev->msi.data = NULL;
+}
+
+/**
+ * msi_setup_device_data - Setup MSI device data
+ * @dev:	Device for which MSI device data should be set up
+ *
+ * Return: 0 on success, appropriate error code otherwise
+ *
+ * This can be called more than once for @dev. If the MSI device data is
+ * already allocated the call succeeds. The allocated memory is
+ * automatically released when the device is destroyed.
+ */
+int msi_setup_device_data(struct device *dev)
+{
+	struct msi_device_data *md;
+
+	if (dev->msi.data)
+		return 0;
+
+	md = devres_alloc(msi_device_data_release, sizeof(*md), GFP_KERNEL);
+	if (!md)
+		return -ENOMEM;
+
+	dev->msi.data = md;
+	devres_add(dev, md);
+	return 0;
+}
+
 #ifdef CONFIG_SYSFS
 static ssize_t msi_mode_show(struct device *dev, struct device_attribute *attr,
 			     char *buf)


WARNING: multiple messages have this Message-ID (diff)
From: Thomas Gleixner <tglx@linutronix.de>
To: LKML <linux-kernel@vger.kernel.org>
Cc: Nishanth Menon <nm@ti.com>, Mark Rutland <mark.rutland@arm.com>,
	Stuart Yoder <stuyoder@gmail.com>,
	Benjamin Herrenschmidt <benh@kernel.crashing.org>,
	Will Deacon <will@kernel.org>, Ashok Raj <ashok.raj@intel.com>,
	Michael Ellerman <mpe@ellerman.id.au>,
	Jassi Brar <jassisinghbrar@gmail.com>,
	Sinan Kaya <okaya@kernel.org>,
	iommu@lists.linux-foundation.org,
	Peter Ujfalusi <peter.ujfalusi@gmail.com>,
	Bjorn Helgaas <helgaas@kernel.org>,
	linux-arm-kernel@lists.infradead.org,
	Jason Gunthorpe <jgg@nvidia.com>,
	linux-pci@vger.kernel.org, xen-devel@lists.xenproject.org,
	Kevin Tian <kevin.tian@intel.com>, Arnd Bergmann <arnd@arndb.de>,
	Robin Murphy <robin.murphy@arm.com>,
	Alex Williamson <alex.williamson@redhat.com>,
	Cedric Le Goater <clg@kaod.org>,
	Santosh Shilimkar <ssantosh@kernel.org>,
	Bjorn Helgaas <bhelgaas@google.com>,
	Megha Dey <megha.dey@intel.com>, Juergen Gross <jgross@suse.com>,
	Tero Kristo <kristo@kernel.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Vinod Koul <vkoul@kernel.org>, Marc Zygnier <maz@kernel.org>,
	dmaengine@vger.kernel.org, linuxppc-dev@lists.ozlabs.org
Subject: [patch V3 08/35] device: Add device:: Msi_data pointer and struct msi_device_data
Date: Fri, 10 Dec 2021 23:18:55 +0100 (CET)	[thread overview]
Message-ID: <20211210221813.676660809@linutronix.de> (raw)
In-Reply-To: 20211210221642.869015045@linutronix.de

From: Thomas Gleixner <tglx@linutronix.de>

Create struct msi_device_data and add a pointer of that type to struct
dev_msi_info, which is part of struct device. Provide an allocator function
which can be invoked from the MSI interrupt allocation code pathes.

Add a properties field to the data structure as a first member so the
allocation size is not zero bytes. The field will be uses later on.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
---
 include/linux/device.h |    5 +++++
 include/linux/msi.h    |   18 ++++++++++++++++++
 kernel/irq/msi.c       |   32 ++++++++++++++++++++++++++++++++
 3 files changed, 55 insertions(+)

--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -45,6 +45,7 @@ struct iommu_ops;
 struct iommu_group;
 struct dev_pin_info;
 struct dev_iommu;
+struct msi_device_data;
 
 /**
  * struct subsys_interface - interfaces to device functions
@@ -374,11 +375,15 @@ struct dev_links_info {
 /**
  * struct dev_msi_info - Device data related to MSI
  * @domain:	The MSI interrupt domain associated to the device
+ * @data:	Pointer to MSI device data
  */
 struct dev_msi_info {
 #ifdef CONFIG_GENERIC_MSI_IRQ_DOMAIN
 	struct irq_domain	*domain;
 #endif
+#ifdef CONFIG_GENERIC_MSI_IRQ
+	struct msi_device_data	*data;
+#endif
 };
 
 /**
--- a/include/linux/msi.h
+++ b/include/linux/msi.h
@@ -171,6 +171,16 @@ struct msi_desc {
 	};
 };
 
+/**
+ * msi_device_data - MSI per device data
+ * @properties:		MSI properties which are interesting to drivers
+ */
+struct msi_device_data {
+	unsigned long			properties;
+};
+
+int msi_setup_device_data(struct device *dev);
+
 /* Helpers to hide struct msi_desc implementation details */
 #define msi_desc_to_dev(desc)		((desc)->dev)
 #define dev_to_msi_list(dev)		(&(dev)->msi_list)
@@ -233,10 +243,16 @@ void pci_msi_mask_irq(struct irq_data *d
 void pci_msi_unmask_irq(struct irq_data *data);
 
 #ifdef CONFIG_SYSFS
+int msi_device_populate_sysfs(struct device *dev);
+void msi_device_destroy_sysfs(struct device *dev);
+
 const struct attribute_group **msi_populate_sysfs(struct device *dev);
 void msi_destroy_sysfs(struct device *dev,
 		       const struct attribute_group **msi_irq_groups);
 #else
+static inline int msi_device_populate_sysfs(struct device *dev) { return 0; }
+static inline void msi_device_destroy_sysfs(struct device *dev) { }
+
 static inline const struct attribute_group **msi_populate_sysfs(struct device *dev)
 {
 	return NULL;
@@ -384,6 +400,8 @@ enum {
 	MSI_FLAG_MUST_REACTIVATE	= (1 << 5),
 	/* Is level-triggered capable, using two messages */
 	MSI_FLAG_LEVEL_CAPABLE		= (1 << 6),
+	/* Populate sysfs on alloc() and destroy it on free() */
+	MSI_FLAG_DEV_SYSFS		= (1 << 7),
 };
 
 int msi_domain_set_affinity(struct irq_data *data, const struct cpumask *mask,
--- a/kernel/irq/msi.c
+++ b/kernel/irq/msi.c
@@ -73,6 +73,38 @@ void get_cached_msi_msg(unsigned int irq
 }
 EXPORT_SYMBOL_GPL(get_cached_msi_msg);
 
+static void msi_device_data_release(struct device *dev, void *res)
+{
+	WARN_ON_ONCE(!list_empty(&dev->msi_list));
+	dev->msi.data = NULL;
+}
+
+/**
+ * msi_setup_device_data - Setup MSI device data
+ * @dev:	Device for which MSI device data should be set up
+ *
+ * Return: 0 on success, appropriate error code otherwise
+ *
+ * This can be called more than once for @dev. If the MSI device data is
+ * already allocated the call succeeds. The allocated memory is
+ * automatically released when the device is destroyed.
+ */
+int msi_setup_device_data(struct device *dev)
+{
+	struct msi_device_data *md;
+
+	if (dev->msi.data)
+		return 0;
+
+	md = devres_alloc(msi_device_data_release, sizeof(*md), GFP_KERNEL);
+	if (!md)
+		return -ENOMEM;
+
+	dev->msi.data = md;
+	devres_add(dev, md);
+	return 0;
+}
+
 #ifdef CONFIG_SYSFS
 static ssize_t msi_mode_show(struct device *dev, struct device_attribute *attr,
 			     char *buf)

_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

WARNING: multiple messages have this Message-ID (diff)
From: Thomas Gleixner <tglx@linutronix.de>
To: LKML <linux-kernel@vger.kernel.org>
Cc: Nishanth Menon <nm@ti.com>, Mark Rutland <mark.rutland@arm.com>,
	Stuart Yoder <stuyoder@gmail.com>, Will Deacon <will@kernel.org>,
	Ashok Raj <ashok.raj@intel.com>, Joerg Roedel <joro@8bytes.org>,
	Jassi Brar <jassisinghbrar@gmail.com>,
	Sinan Kaya <okaya@kernel.org>,
	iommu@lists.linux-foundation.org,
	Peter Ujfalusi <peter.ujfalusi@gmail.com>,
	Bjorn Helgaas <helgaas@kernel.org>,
	linux-arm-kernel@lists.infradead.org,
	Jason Gunthorpe <jgg@nvidia.com>,
	linux-pci@vger.kernel.org, xen-devel@lists.xenproject.org,
	Kevin Tian <kevin.tian@intel.com>, Arnd Bergmann <arnd@arndb.de>,
	Robin Murphy <robin.murphy@arm.com>,
	Alex Williamson <alex.williamson@redhat.com>,
	Cedric Le Goater <clg@kaod.org>,
	Santosh Shilimkar <ssantosh@kernel.org>,
	Bjorn Helgaas <bhelgaas@google.com>,
	Megha Dey <megha.dey@intel.com>,
	Laurentiu Tudor <laurentiu.tudor@nxp.com>,
	Juergen Gross <jgross@suse.com>, Tero Kristo <kristo@kernel.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Vinod Koul <vkoul@kernel.org>, Marc Zygnier <maz@kernel.org>,
	dmaengine@vger.kernel.org, linuxppc-dev@lists.ozlabs.org
Subject: [patch V3 08/35] device: Add device:: Msi_data pointer and struct msi_device_data
Date: Fri, 10 Dec 2021 23:18:55 +0100 (CET)	[thread overview]
Message-ID: <20211210221813.676660809@linutronix.de> (raw)
In-Reply-To: 20211210221642.869015045@linutronix.de

From: Thomas Gleixner <tglx@linutronix.de>

Create struct msi_device_data and add a pointer of that type to struct
dev_msi_info, which is part of struct device. Provide an allocator function
which can be invoked from the MSI interrupt allocation code pathes.

Add a properties field to the data structure as a first member so the
allocation size is not zero bytes. The field will be uses later on.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
---
 include/linux/device.h |    5 +++++
 include/linux/msi.h    |   18 ++++++++++++++++++
 kernel/irq/msi.c       |   32 ++++++++++++++++++++++++++++++++
 3 files changed, 55 insertions(+)

--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -45,6 +45,7 @@ struct iommu_ops;
 struct iommu_group;
 struct dev_pin_info;
 struct dev_iommu;
+struct msi_device_data;
 
 /**
  * struct subsys_interface - interfaces to device functions
@@ -374,11 +375,15 @@ struct dev_links_info {
 /**
  * struct dev_msi_info - Device data related to MSI
  * @domain:	The MSI interrupt domain associated to the device
+ * @data:	Pointer to MSI device data
  */
 struct dev_msi_info {
 #ifdef CONFIG_GENERIC_MSI_IRQ_DOMAIN
 	struct irq_domain	*domain;
 #endif
+#ifdef CONFIG_GENERIC_MSI_IRQ
+	struct msi_device_data	*data;
+#endif
 };
 
 /**
--- a/include/linux/msi.h
+++ b/include/linux/msi.h
@@ -171,6 +171,16 @@ struct msi_desc {
 	};
 };
 
+/**
+ * msi_device_data - MSI per device data
+ * @properties:		MSI properties which are interesting to drivers
+ */
+struct msi_device_data {
+	unsigned long			properties;
+};
+
+int msi_setup_device_data(struct device *dev);
+
 /* Helpers to hide struct msi_desc implementation details */
 #define msi_desc_to_dev(desc)		((desc)->dev)
 #define dev_to_msi_list(dev)		(&(dev)->msi_list)
@@ -233,10 +243,16 @@ void pci_msi_mask_irq(struct irq_data *d
 void pci_msi_unmask_irq(struct irq_data *data);
 
 #ifdef CONFIG_SYSFS
+int msi_device_populate_sysfs(struct device *dev);
+void msi_device_destroy_sysfs(struct device *dev);
+
 const struct attribute_group **msi_populate_sysfs(struct device *dev);
 void msi_destroy_sysfs(struct device *dev,
 		       const struct attribute_group **msi_irq_groups);
 #else
+static inline int msi_device_populate_sysfs(struct device *dev) { return 0; }
+static inline void msi_device_destroy_sysfs(struct device *dev) { }
+
 static inline const struct attribute_group **msi_populate_sysfs(struct device *dev)
 {
 	return NULL;
@@ -384,6 +400,8 @@ enum {
 	MSI_FLAG_MUST_REACTIVATE	= (1 << 5),
 	/* Is level-triggered capable, using two messages */
 	MSI_FLAG_LEVEL_CAPABLE		= (1 << 6),
+	/* Populate sysfs on alloc() and destroy it on free() */
+	MSI_FLAG_DEV_SYSFS		= (1 << 7),
 };
 
 int msi_domain_set_affinity(struct irq_data *data, const struct cpumask *mask,
--- a/kernel/irq/msi.c
+++ b/kernel/irq/msi.c
@@ -73,6 +73,38 @@ void get_cached_msi_msg(unsigned int irq
 }
 EXPORT_SYMBOL_GPL(get_cached_msi_msg);
 
+static void msi_device_data_release(struct device *dev, void *res)
+{
+	WARN_ON_ONCE(!list_empty(&dev->msi_list));
+	dev->msi.data = NULL;
+}
+
+/**
+ * msi_setup_device_data - Setup MSI device data
+ * @dev:	Device for which MSI device data should be set up
+ *
+ * Return: 0 on success, appropriate error code otherwise
+ *
+ * This can be called more than once for @dev. If the MSI device data is
+ * already allocated the call succeeds. The allocated memory is
+ * automatically released when the device is destroyed.
+ */
+int msi_setup_device_data(struct device *dev)
+{
+	struct msi_device_data *md;
+
+	if (dev->msi.data)
+		return 0;
+
+	md = devres_alloc(msi_device_data_release, sizeof(*md), GFP_KERNEL);
+	if (!md)
+		return -ENOMEM;
+
+	dev->msi.data = md;
+	devres_add(dev, md);
+	return 0;
+}
+
 #ifdef CONFIG_SYSFS
 static ssize_t msi_mode_show(struct device *dev, struct device_attribute *attr,
 			     char *buf)


WARNING: multiple messages have this Message-ID (diff)
From: Thomas Gleixner <tglx@linutronix.de>
To: LKML <linux-kernel@vger.kernel.org>
Cc: Bjorn Helgaas <helgaas@kernel.org>, Marc Zygnier <maz@kernel.org>,
	Alex Williamson <alex.williamson@redhat.com>,
	Kevin Tian <kevin.tian@intel.com>,
	Jason Gunthorpe <jgg@nvidia.com>, Megha Dey <megha.dey@intel.com>,
	Ashok Raj <ashok.raj@intel.com>,
	linux-pci@vger.kernel.org, Cedric Le Goater <clg@kaod.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Juergen Gross <jgross@suse.com>,
	xen-devel@lists.xenproject.org, Arnd Bergmann <arnd@arndb.de>,
	Michael Ellerman <mpe@ellerman.id.au>,
	Benjamin Herrenschmidt <benh@kernel.crashing.org>,
	linuxppc-dev@lists.ozlabs.org,
	Bjorn Helgaas <bhelgaas@google.com>,
	Stuart Yoder <stuyoder@gmail.com>,
	Laurentiu Tudor <laurentiu.tudor@nxp.com>,
	Nishanth Menon <nm@ti.com>, Tero Kristo <kristo@kernel.org>,
	Santosh Shilimkar <ssantosh@kernel.org>,
	linux-arm-kernel@lists.infradead.org,
	Vinod Koul <vkoul@kernel.org>,
	dmaengine@vger.kernel.org, Mark Rutland <mark.rutland@arm.com>,
	Will Deacon <will@kernel.org>,
	Robin Murphy <robin.murphy@arm.com>,
	Joerg Roedel <joro@8bytes.org>,
	iommu@lists.linux-foundation.org,
	Jassi Brar <jassisinghbrar@gmail.com>,
	Peter Ujfalusi <peter.ujfalusi@gmail.com>,
	Sinan Kaya <okaya@kernel.org>
Subject: [patch V3 08/35] device: Add device:: Msi_data pointer and struct msi_device_data
Date: Fri, 10 Dec 2021 23:18:55 +0100 (CET)	[thread overview]
Message-ID: <20211210221813.676660809@linutronix.de> (raw)
In-Reply-To: 20211210221642.869015045@linutronix.de

From: Thomas Gleixner <tglx@linutronix.de>

Create struct msi_device_data and add a pointer of that type to struct
dev_msi_info, which is part of struct device. Provide an allocator function
which can be invoked from the MSI interrupt allocation code pathes.

Add a properties field to the data structure as a first member so the
allocation size is not zero bytes. The field will be uses later on.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
---
 include/linux/device.h |    5 +++++
 include/linux/msi.h    |   18 ++++++++++++++++++
 kernel/irq/msi.c       |   32 ++++++++++++++++++++++++++++++++
 3 files changed, 55 insertions(+)

--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -45,6 +45,7 @@ struct iommu_ops;
 struct iommu_group;
 struct dev_pin_info;
 struct dev_iommu;
+struct msi_device_data;
 
 /**
  * struct subsys_interface - interfaces to device functions
@@ -374,11 +375,15 @@ struct dev_links_info {
 /**
  * struct dev_msi_info - Device data related to MSI
  * @domain:	The MSI interrupt domain associated to the device
+ * @data:	Pointer to MSI device data
  */
 struct dev_msi_info {
 #ifdef CONFIG_GENERIC_MSI_IRQ_DOMAIN
 	struct irq_domain	*domain;
 #endif
+#ifdef CONFIG_GENERIC_MSI_IRQ
+	struct msi_device_data	*data;
+#endif
 };
 
 /**
--- a/include/linux/msi.h
+++ b/include/linux/msi.h
@@ -171,6 +171,16 @@ struct msi_desc {
 	};
 };
 
+/**
+ * msi_device_data - MSI per device data
+ * @properties:		MSI properties which are interesting to drivers
+ */
+struct msi_device_data {
+	unsigned long			properties;
+};
+
+int msi_setup_device_data(struct device *dev);
+
 /* Helpers to hide struct msi_desc implementation details */
 #define msi_desc_to_dev(desc)		((desc)->dev)
 #define dev_to_msi_list(dev)		(&(dev)->msi_list)
@@ -233,10 +243,16 @@ void pci_msi_mask_irq(struct irq_data *d
 void pci_msi_unmask_irq(struct irq_data *data);
 
 #ifdef CONFIG_SYSFS
+int msi_device_populate_sysfs(struct device *dev);
+void msi_device_destroy_sysfs(struct device *dev);
+
 const struct attribute_group **msi_populate_sysfs(struct device *dev);
 void msi_destroy_sysfs(struct device *dev,
 		       const struct attribute_group **msi_irq_groups);
 #else
+static inline int msi_device_populate_sysfs(struct device *dev) { return 0; }
+static inline void msi_device_destroy_sysfs(struct device *dev) { }
+
 static inline const struct attribute_group **msi_populate_sysfs(struct device *dev)
 {
 	return NULL;
@@ -384,6 +400,8 @@ enum {
 	MSI_FLAG_MUST_REACTIVATE	= (1 << 5),
 	/* Is level-triggered capable, using two messages */
 	MSI_FLAG_LEVEL_CAPABLE		= (1 << 6),
+	/* Populate sysfs on alloc() and destroy it on free() */
+	MSI_FLAG_DEV_SYSFS		= (1 << 7),
 };
 
 int msi_domain_set_affinity(struct irq_data *data, const struct cpumask *mask,
--- a/kernel/irq/msi.c
+++ b/kernel/irq/msi.c
@@ -73,6 +73,38 @@ void get_cached_msi_msg(unsigned int irq
 }
 EXPORT_SYMBOL_GPL(get_cached_msi_msg);
 
+static void msi_device_data_release(struct device *dev, void *res)
+{
+	WARN_ON_ONCE(!list_empty(&dev->msi_list));
+	dev->msi.data = NULL;
+}
+
+/**
+ * msi_setup_device_data - Setup MSI device data
+ * @dev:	Device for which MSI device data should be set up
+ *
+ * Return: 0 on success, appropriate error code otherwise
+ *
+ * This can be called more than once for @dev. If the MSI device data is
+ * already allocated the call succeeds. The allocated memory is
+ * automatically released when the device is destroyed.
+ */
+int msi_setup_device_data(struct device *dev)
+{
+	struct msi_device_data *md;
+
+	if (dev->msi.data)
+		return 0;
+
+	md = devres_alloc(msi_device_data_release, sizeof(*md), GFP_KERNEL);
+	if (!md)
+		return -ENOMEM;
+
+	dev->msi.data = md;
+	devres_add(dev, md);
+	return 0;
+}
+
 #ifdef CONFIG_SYSFS
 static ssize_t msi_mode_show(struct device *dev, struct device_attribute *attr,
 			     char *buf)


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2021-12-10 22:19 UTC|newest]

Thread overview: 372+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-10 22:18 [patch V3 00/35] genirq/msi, PCI/MSI: Spring cleaning - Part 2 Thomas Gleixner
2021-12-10 22:18 ` Thomas Gleixner
2021-12-10 22:18 ` Thomas Gleixner
2021-12-10 22:18 ` Thomas Gleixner
2021-12-10 22:18 ` [patch V3 01/35] PCI/MSI: Set pci_dev::msi[x]_enabled early Thomas Gleixner
2021-12-10 22:18   ` Thomas Gleixner
2021-12-10 22:18   ` Thomas Gleixner
2021-12-10 22:18   ` Thomas Gleixner
2021-12-13 13:37   ` Jason Gunthorpe
2021-12-13 13:37     ` Jason Gunthorpe
2021-12-13 13:37     ` Jason Gunthorpe
2021-12-13 13:37     ` Jason Gunthorpe via iommu
2021-12-16 21:41   ` [tip: irq/msi] " tip-bot2 for Thomas Gleixner
2021-12-10 22:18 ` [patch V3 02/35] x86/pci/XEN: Use PCI device property Thomas Gleixner
2021-12-10 22:18   ` Thomas Gleixner
2021-12-10 22:18   ` Thomas Gleixner
2021-12-10 22:18   ` Thomas Gleixner
2021-12-13 13:56   ` Jason Gunthorpe
2021-12-13 13:56     ` Jason Gunthorpe
2021-12-13 13:56     ` Jason Gunthorpe
2021-12-13 13:56     ` Jason Gunthorpe via iommu
2021-12-16 21:41   ` [tip: irq/msi] " tip-bot2 for Thomas Gleixner
2021-12-10 22:18 ` [patch V3 03/35] x86/apic/msi: Use PCI device MSI property Thomas Gleixner
2021-12-10 22:18   ` Thomas Gleixner
2021-12-10 22:18   ` Thomas Gleixner
2021-12-10 22:18   ` Thomas Gleixner
2021-12-11 10:52   ` Greg Kroah-Hartman
2021-12-11 10:52     ` Greg Kroah-Hartman
2021-12-11 10:52     ` Greg Kroah-Hartman
2021-12-11 10:52     ` Greg Kroah-Hartman
2021-12-13 13:59   ` Jason Gunthorpe
2021-12-13 13:59     ` Jason Gunthorpe
2021-12-13 13:59     ` Jason Gunthorpe via iommu
2021-12-13 13:59     ` Jason Gunthorpe
2021-12-16 21:41   ` [tip: irq/msi] " tip-bot2 for Thomas Gleixner
2021-12-10 22:18 ` [patch V3 04/35] genirq/msi: Use PCI device property Thomas Gleixner
2021-12-10 22:18   ` Thomas Gleixner
2021-12-10 22:18   ` Thomas Gleixner
2021-12-10 22:18   ` Thomas Gleixner
2021-12-13 13:59   ` Jason Gunthorpe
2021-12-13 13:59     ` Jason Gunthorpe
2021-12-13 13:59     ` Jason Gunthorpe
2021-12-13 13:59     ` Jason Gunthorpe via iommu
2021-12-16 21:41   ` [tip: irq/msi] " tip-bot2 for Thomas Gleixner
2021-12-10 22:18 ` [patch V3 05/35] powerpc/cell/axon_msi: " Thomas Gleixner
2021-12-10 22:18   ` Thomas Gleixner
2021-12-10 22:18   ` Thomas Gleixner
2021-12-10 22:18   ` Thomas Gleixner
2021-12-11 15:21   ` Arnd Bergmann
2021-12-11 15:21     ` Arnd Bergmann
2021-12-11 15:21     ` Arnd Bergmann
2021-12-11 15:21     ` Arnd Bergmann
2021-12-13 14:01   ` Jason Gunthorpe
2021-12-13 14:01     ` Jason Gunthorpe
2021-12-13 14:01     ` Jason Gunthorpe
2021-12-13 14:01     ` Jason Gunthorpe via iommu
2021-12-16 21:41   ` [tip: irq/msi] " tip-bot2 for Thomas Gleixner
2021-12-10 22:18 ` [patch V3 06/35] powerpc/pseries/msi: Use PCI device properties Thomas Gleixner
2021-12-10 22:18   ` Thomas Gleixner
2021-12-10 22:18   ` Thomas Gleixner
2021-12-10 22:18   ` Thomas Gleixner
2021-12-13 14:04   ` Jason Gunthorpe
2021-12-13 14:04     ` Jason Gunthorpe
2021-12-13 14:04     ` Jason Gunthorpe
2021-12-13 14:04     ` Jason Gunthorpe via iommu
2021-12-16 21:41   ` [tip: irq/msi] " tip-bot2 for Thomas Gleixner
2021-12-10 22:18 ` [patch V3 07/35] device: Move MSI related data into a struct Thomas Gleixner
2021-12-10 22:18   ` Thomas Gleixner
2021-12-10 22:18   ` Thomas Gleixner
2021-12-10 22:18   ` Thomas Gleixner
2021-12-11 15:22   ` Arnd Bergmann
2021-12-11 15:22     ` Arnd Bergmann
2021-12-11 15:22     ` Arnd Bergmann
2021-12-11 15:22     ` Arnd Bergmann
2021-12-16 21:41   ` [tip: irq/msi] " tip-bot2 for Thomas Gleixner
2021-12-10 22:18 ` Thomas Gleixner [this message]
2021-12-10 22:18   ` [patch V3 08/35] device: Add device:: Msi_data pointer and struct msi_device_data Thomas Gleixner
2021-12-10 22:18   ` Thomas Gleixner
2021-12-10 22:18   ` Thomas Gleixner
2021-12-16 21:41   ` [tip: irq/msi] " tip-bot2 for Thomas Gleixner
2021-12-10 22:18 ` [patch V3 09/35] PCI/MSI: Allocate MSI device data on first use Thomas Gleixner
2021-12-10 22:18   ` Thomas Gleixner
2021-12-10 22:18   ` Thomas Gleixner
2021-12-10 22:18   ` Thomas Gleixner
2021-12-15 17:16   ` [patch V4 09-01/35] PCI/MSI: Decouple MSI[-X] disable from pcim_release() Thomas Gleixner
2021-12-15 17:16     ` Thomas Gleixner
2021-12-15 17:16     ` Thomas Gleixner
2021-12-15 17:16     ` Thomas Gleixner
2021-12-15 17:19     ` [patch V4 09-02/35] PCI/MSI: Allocate MSI device data on first use Thomas Gleixner
2021-12-15 17:19       ` Thomas Gleixner
2021-12-15 17:19       ` Thomas Gleixner
2021-12-15 17:19       ` Thomas Gleixner
2021-12-15 17:46       ` Greg Kroah-Hartman
2021-12-15 17:46         ` Greg Kroah-Hartman
2021-12-15 17:46         ` Greg Kroah-Hartman
2021-12-15 17:46         ` Greg Kroah-Hartman
2021-12-16 21:41       ` [tip: irq/msi] " tip-bot2 for Thomas Gleixner
2021-12-15 17:46     ` [patch V4 09-01/35] PCI/MSI: Decouple MSI[-X] disable from pcim_release() Greg Kroah-Hartman
2021-12-15 17:46       ` Greg Kroah-Hartman
2021-12-15 17:46       ` Greg Kroah-Hartman
2021-12-15 17:46       ` Greg Kroah-Hartman
2021-12-16 21:41     ` [tip: irq/msi] " tip-bot2 for Thomas Gleixner
2021-12-10 22:18 ` [patch V3 10/35] platform-msi: Allocate MSI device data on first use Thomas Gleixner
2021-12-10 22:18   ` Thomas Gleixner
2021-12-10 22:18   ` Thomas Gleixner
2021-12-10 22:18   ` Thomas Gleixner
2021-12-16 21:41   ` [tip: irq/msi] " tip-bot2 for Thomas Gleixner
2021-12-10 22:19 ` [patch V3 11/35] bus: fsl-mc-msi: " Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-16 21:41   ` [tip: irq/msi] " tip-bot2 for Thomas Gleixner
2021-12-10 22:19 ` [patch V3 12/35] soc: ti: ti_sci_inta_msi: " Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-11 15:22   ` Arnd Bergmann
2021-12-11 15:22     ` Arnd Bergmann
2021-12-11 15:22     ` Arnd Bergmann
2021-12-11 15:22     ` Arnd Bergmann
2021-12-13 17:56   ` Nishanth Menon
2021-12-13 17:56     ` Nishanth Menon via iommu
2021-12-13 17:56     ` Nishanth Menon
2021-12-13 17:56     ` Nishanth Menon
2021-12-16 21:41   ` [tip: irq/msi] " tip-bot2 for Thomas Gleixner
2021-12-10 22:19 ` [patch V3 13/35] genirq/msi: Provide msi_device_populate/destroy_sysfs() Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-16 21:41   ` [tip: irq/msi] " tip-bot2 for Thomas Gleixner
2021-12-10 22:19 ` [patch V3 14/35] PCI/MSI: Let the irq code handle sysfs groups Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-16 21:41   ` [tip: irq/msi] " tip-bot2 for Thomas Gleixner
2021-12-10 22:19 ` [patch V3 15/35] platform-msi: Let the core " Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-16 21:41   ` [tip: irq/msi] " tip-bot2 for Thomas Gleixner
2021-12-10 22:19 ` [patch V3 16/35] genirq/msi: Remove the original sysfs interfaces Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-16 21:41   ` [tip: irq/msi] " tip-bot2 for Thomas Gleixner
2021-12-10 22:19 ` [patch V3 17/35] platform-msi: Rename functions and clarify comments Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-16 21:41   ` [tip: irq/msi] " tip-bot2 for Thomas Gleixner
2021-12-10 22:19 ` [patch V3 18/35] platform-msi: Store platform private data pointer in msi_device_data Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-16 21:41   ` [tip: irq/msi] " tip-bot2 for Thomas Gleixner
2021-12-10 22:19 ` [patch V3 19/35] genirq/msi: Consolidate MSI descriptor data Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-16 21:40   ` [tip: irq/msi] " tip-bot2 for Thomas Gleixner
2021-12-10 22:19 ` [patch V3 20/35] platform-msi: Use msi_desc::msi_index Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-16 21:40   ` [tip: irq/msi] " tip-bot2 for Thomas Gleixner
2021-12-10 22:19 ` [patch V3 21/35] bus: fsl-mc-msi: " Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-16 21:40   ` [tip: irq/msi] " tip-bot2 for Thomas Gleixner
2021-12-10 22:19 ` [patch V3 22/35] soc: ti: ti_sci_inta_msi: " Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-13 17:57   ` Nishanth Menon
2021-12-13 17:57     ` Nishanth Menon via iommu
2021-12-13 17:57     ` Nishanth Menon
2021-12-13 17:57     ` Nishanth Menon
2021-12-16 21:40   ` [tip: irq/msi] " tip-bot2 for Thomas Gleixner
2021-12-10 22:19 ` [patch V3 23/35] PCI/MSI: " Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-16 21:40   ` [tip: irq/msi] " tip-bot2 for Thomas Gleixner
2021-12-10 22:19 ` [patch V3 24/35] PCI/MSI: Provide MSI_FLAG_MSIX_CONTIGUOUS Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-16 21:40   ` [tip: irq/msi] " tip-bot2 for Thomas Gleixner
2021-12-10 22:19 ` [patch V3 25/35] powerpc/pseries/msi: Let core code check for contiguous entries Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-13 14:05   ` Jason Gunthorpe
2021-12-13 14:05     ` Jason Gunthorpe
2021-12-13 14:05     ` Jason Gunthorpe
2021-12-13 14:05     ` Jason Gunthorpe via iommu
2021-12-16 21:40   ` [tip: irq/msi] " tip-bot2 for Thomas Gleixner
2021-12-10 22:19 ` [patch V3 26/35] genirq/msi: Provide interface to retrieve Linux interrupt number Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-13 14:22   ` Jason Gunthorpe
2021-12-13 14:22     ` Jason Gunthorpe
2021-12-13 14:22     ` Jason Gunthorpe
2021-12-13 14:22     ` Jason Gunthorpe via iommu
2021-12-16 21:40   ` [tip: irq/msi] " tip-bot2 for Thomas Gleixner
2021-12-10 22:19 ` [patch V3 27/35] PCI/MSI: Use __msi_get_virq() in pci_get_vector() Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-13 14:23   ` Jason Gunthorpe
2021-12-13 14:23     ` Jason Gunthorpe
2021-12-13 14:23     ` Jason Gunthorpe
2021-12-13 14:23     ` Jason Gunthorpe via iommu
2021-12-16 21:40   ` [tip: irq/msi] PCI/MSI: Use msi_get_virq() " tip-bot2 for Thomas Gleixner
2021-12-10 22:19 ` [patch V3 28/35] PCI/MSI: Simplify pci_irq_get_affinity() Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-16 21:40   ` [tip: irq/msi] " tip-bot2 for Thomas Gleixner
2021-12-17 22:30   ` [patch V3 28/35] " Nathan Chancellor
2021-12-17 22:30     ` Nathan Chancellor
2021-12-17 22:30     ` Nathan Chancellor
2021-12-17 22:30     ` Nathan Chancellor
2021-12-18 10:25     ` Thomas Gleixner
2021-12-18 10:25       ` Thomas Gleixner
2021-12-18 10:25       ` Thomas Gleixner
2021-12-18 10:25       ` Thomas Gleixner
2021-12-18 19:04       ` Nathan Chancellor
2021-12-18 19:04         ` Nathan Chancellor
2021-12-18 19:04         ` Nathan Chancellor
2021-12-18 19:04         ` Nathan Chancellor
2021-12-18 19:39       ` [tip: irq/msi] PCI/MSI: Unbreak pci_irq_get_affinity() tip-bot2 for Thomas Gleixner
2021-12-18 20:25       ` [patch V3 28/35] PCI/MSI: Simplify pci_irq_get_affinity() Cédric Le Goater
2021-12-18 20:25         ` Cédric Le Goater
2021-12-18 20:25         ` Cédric Le Goater
2021-12-18 20:25         ` Cédric Le Goater
2021-12-20 11:55         ` Thomas Gleixner
2021-12-20 11:55           ` Thomas Gleixner
2021-12-20 11:55           ` Thomas Gleixner
2021-12-20 11:55           ` Thomas Gleixner
2022-01-30 17:12   ` Guenter Roeck
2022-01-30 17:12     ` Guenter Roeck
2022-01-30 17:12     ` Guenter Roeck
2022-01-30 17:12     ` Guenter Roeck
2022-01-31 11:27     ` Thomas Gleixner
2022-01-31 11:27       ` Thomas Gleixner
2022-01-31 11:27       ` Thomas Gleixner
2022-01-31 11:27       ` Thomas Gleixner
2022-01-31 15:21       ` Guenter Roeck
2022-01-31 15:21         ` Guenter Roeck
2022-01-31 15:21         ` Guenter Roeck
2022-01-31 15:21         ` Guenter Roeck
2022-01-31 21:16         ` Thomas Gleixner
2022-01-31 21:16           ` Thomas Gleixner
2022-01-31 21:16           ` Thomas Gleixner
2022-01-31 21:16           ` Thomas Gleixner
2022-02-04  8:57           ` [tip: irq/urgent] PCI/MSI: Remove bogus warning in pci_irq_get_affinity() tip-bot2 for Thomas Gleixner
2022-02-04 11:29             ` Thorsten Leemhuis
2021-12-10 22:19 ` [patch V3 29/35] dmaengine: mv_xor_v2: Get rid of msi_desc abuse Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-13  5:14   ` Vinod Koul
2021-12-13  5:14     ` Vinod Koul
2021-12-13  5:14     ` Vinod Koul
2021-12-13  5:14     ` Vinod Koul
2021-12-16 21:40   ` [tip: irq/msi] " tip-bot2 for Thomas Gleixner
2021-12-10 22:19 ` [patch V3 30/35] perf/smmuv3: Use msi_get_virq() Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-16 21:40   ` [tip: irq/msi] " tip-bot2 for Thomas Gleixner
2021-12-10 22:19 ` [patch V3 31/35] iommu/arm-smmu-v3: " Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-16 21:40   ` [tip: irq/msi] " tip-bot2 for Thomas Gleixner
2021-12-10 22:19 ` [patch V3 32/35] mailbox: bcm-flexrm-mailbox: Rework MSI interrupt handling Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-16 21:40   ` [tip: irq/msi] " tip-bot2 for Thomas Gleixner
2021-12-10 22:19 ` [patch V3 33/35] bus: fsl-mc: fsl-mc-allocator: Rework MSI handling Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-16 21:40   ` [tip: irq/msi] " tip-bot2 for Thomas Gleixner
2021-12-10 22:19 ` [patch V3 34/35] soc: ti: ti_sci_inta_msi: Get rid of ti_sci_inta_msi_get_virq() Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-11 15:24   ` Arnd Bergmann
2021-12-11 15:24     ` Arnd Bergmann
2021-12-11 15:24     ` Arnd Bergmann
2021-12-11 15:24     ` Arnd Bergmann
2021-12-13  5:15   ` Vinod Koul
2021-12-13  5:15     ` Vinod Koul
2021-12-13  5:15     ` Vinod Koul
2021-12-13  5:15     ` Vinod Koul
2021-12-13 17:57   ` Nishanth Menon
2021-12-13 17:57     ` Nishanth Menon
2021-12-13 17:57     ` Nishanth Menon via iommu
2021-12-13 17:57     ` Nishanth Menon
2021-12-16 21:40   ` [tip: irq/msi] " tip-bot2 for Thomas Gleixner
2021-12-10 22:19 ` [patch V3 35/35] dmaengine: qcom_hidma: Cleanup MSI handling Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-10 22:19   ` Thomas Gleixner
2021-12-13  5:14   ` Vinod Koul
2021-12-13  5:14     ` Vinod Koul
2021-12-13  5:14     ` Vinod Koul
2021-12-13  5:14     ` Vinod Koul
2021-12-16 21:40   ` [tip: irq/msi] " tip-bot2 for Thomas Gleixner
2021-12-13 18:29 ` [patch V3 00/35] genirq/msi, PCI/MSI: Spring cleaning - Part 2 Nishanth Menon
2021-12-13 18:29   ` Nishanth Menon via iommu
2021-12-13 18:29   ` Nishanth Menon
2021-12-13 18:29   ` Nishanth Menon
2021-12-14  9:41   ` Thomas Gleixner
2021-12-14  9:41     ` Thomas Gleixner
2021-12-14  9:41     ` Thomas Gleixner
2021-12-14  9:41     ` Thomas Gleixner
2021-12-14  9:41     ` Thomas Gleixner
2021-12-14 16:22     ` Nishanth Menon via iommu
2021-12-14 16:22       ` Nishanth Menon
2021-12-14 16:22       ` Nishanth Menon
2021-12-14 16:22       ` Nishanth Menon
2021-12-14 16:36       ` Thomas Gleixner
2021-12-14 16:36         ` Thomas Gleixner
2021-12-14 16:36         ` Thomas Gleixner
2021-12-14 16:36         ` Thomas Gleixner
2021-12-14 17:03         ` Thomas Gleixner
2021-12-14 17:03           ` Thomas Gleixner
2021-12-14 17:03           ` Thomas Gleixner
2021-12-14 17:03           ` Thomas Gleixner
2021-12-14 20:15           ` Thomas Gleixner
2021-12-14 20:15             ` Thomas Gleixner
2021-12-14 20:15             ` Thomas Gleixner
2021-12-14 20:15             ` Thomas Gleixner
2021-12-14 20:56             ` Nishanth Menon
2021-12-14 20:56               ` Nishanth Menon
2021-12-14 20:56               ` Nishanth Menon
2021-12-14 20:56               ` Nishanth Menon via iommu
2021-12-14 21:19               ` Thomas Gleixner
2021-12-14 21:19                 ` Thomas Gleixner
2021-12-14 21:19                 ` Thomas Gleixner
2021-12-14 21:19                 ` Thomas Gleixner
2021-12-15 16:18                 ` Thomas Gleixner
2021-12-15 16:18                   ` Thomas Gleixner
2021-12-15 16:18                   ` Thomas Gleixner
2021-12-15 16:18                   ` Thomas Gleixner
2021-12-15 16:35                   ` Thomas Gleixner
2021-12-15 16:35                     ` Thomas Gleixner
2021-12-15 16:35                     ` Thomas Gleixner
2021-12-15 16:35                     ` Thomas Gleixner
2021-12-15 18:08                     ` Nishanth Menon
2021-12-15 18:08                       ` Nishanth Menon
2021-12-15 18:08                       ` Nishanth Menon via iommu
2021-12-15 18:08                       ` Nishanth Menon
2021-12-16  1:45                     ` Nishanth Menon
2021-12-16  1:45                       ` Nishanth Menon
2021-12-16  1:45                       ` Nishanth Menon via iommu
2021-12-16  1:45                       ` Nishanth Menon
2021-12-16 17:23                       ` Thomas Gleixner
2021-12-16 17:23                         ` Thomas Gleixner
2021-12-16 17:23                         ` Thomas Gleixner
2021-12-16 17:23                         ` Thomas Gleixner
2021-12-16  6:14                     ` Michael Kelley (LINUX)
2021-12-16  6:14                       ` Michael Kelley (LINUX)
2021-12-16  6:14                       ` Michael Kelley (LINUX)
2021-12-16  6:14                       ` Michael Kelley (LINUX) via iommu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211210221813.676660809@linutronix.de \
    --to=tglx@linutronix.de \
    --cc=alex.williamson@redhat.com \
    --cc=arnd@arndb.de \
    --cc=ashok.raj@intel.com \
    --cc=benh@kernel.crashing.org \
    --cc=bhelgaas@google.com \
    --cc=clg@kaod.org \
    --cc=dmaengine@vger.kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=helgaas@kernel.org \
    --cc=iommu@lists.linux-foundation.org \
    --cc=jassisinghbrar@gmail.com \
    --cc=jgg@nvidia.com \
    --cc=jgross@suse.com \
    --cc=joro@8bytes.org \
    --cc=kevin.tian@intel.com \
    --cc=kristo@kernel.org \
    --cc=laurentiu.tudor@nxp.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=mark.rutland@arm.com \
    --cc=maz@kernel.org \
    --cc=megha.dey@intel.com \
    --cc=mpe@ellerman.id.au \
    --cc=nm@ti.com \
    --cc=okaya@kernel.org \
    --cc=peter.ujfalusi@gmail.com \
    --cc=robin.murphy@arm.com \
    --cc=ssantosh@kernel.org \
    --cc=stuyoder@gmail.com \
    --cc=vkoul@kernel.org \
    --cc=will@kernel.org \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.