* [PATCH] genirq: Fix percpu_devid irq affinity documentation
@ 2025-10-30 14:30 Marc Zyngier
2025-10-31 21:30 ` [tip: irq/core] " tip-bot2 for Marc Zyngier
0 siblings, 1 reply; 2+ messages in thread
From: Marc Zyngier @ 2025-10-30 14:30 UTC (permalink / raw)
To: linux-kernel; +Cc: Thomas Gleixner, Stephen Rothwell
Stephen points out that some of the percpu_devid irq affinity
documentation is either missing or not matching the data structures.
Address all the issues in one go.
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Fixes: 87b0031f7f73 ("irqdomain: Add firmware info reporting interface")
Fixes: 258e7d28a3dc ("genirq: Add affinity to percpu_devid interrupt requests")
Signed-off-by: Marc Zyngier <maz@kernel.org>
---
include/linux/interrupt.h | 1 +
include/linux/irqdomain.h | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h
index fa62ab556ee32..266f2b39213a0 100644
--- a/include/linux/interrupt.h
+++ b/include/linux/interrupt.h
@@ -109,6 +109,7 @@ typedef irqreturn_t (*irq_handler_t)(int, void *);
* @name: name of the device
* @dev_id: cookie to identify the device
* @percpu_dev_id: cookie to identify the device
+ * @affinity: CPUs this irqaction is allowed to run on
* @next: pointer to the next irqaction for shared interrupts
* @irq: interrupt number
* @flags: flags (see IRQF_* above)
diff --git a/include/linux/irqdomain.h b/include/linux/irqdomain.h
index 5907baf6099d9..952d3c8dd6b7a 100644
--- a/include/linux/irqdomain.h
+++ b/include/linux/irqdomain.h
@@ -48,7 +48,7 @@ struct irq_fwspec {
* struct irq_fwspec_info - firmware provided IRQ information structure
*
* @flags: Information validity flags
- * @cpumask: Affinity mask for this interrupt
+ * @affinity: Affinity mask for this interrupt
*
* This structure reports firmware-specific information about an
* interrupt. The only significant information is the affinity of a
--
2.47.3
^ permalink raw reply [flat|nested] 2+ messages in thread* [tip: irq/core] genirq: Fix percpu_devid irq affinity documentation
2025-10-30 14:30 [PATCH] genirq: Fix percpu_devid irq affinity documentation Marc Zyngier
@ 2025-10-31 21:30 ` tip-bot2 for Marc Zyngier
0 siblings, 0 replies; 2+ messages in thread
From: tip-bot2 for Marc Zyngier @ 2025-10-31 21:30 UTC (permalink / raw)
To: linux-tip-commits
Cc: Stephen Rothwell, Marc Zyngier, Thomas Gleixner, x86, linux-kernel
The following commit has been merged into the irq/core branch of tip:
Commit-ID: 68c4c159a0db4409a5d6b5f4703d71b89a96f06a
Gitweb: https://git.kernel.org/tip/68c4c159a0db4409a5d6b5f4703d71b89a96f06a
Author: Marc Zyngier <maz@kernel.org>
AuthorDate: Thu, 30 Oct 2025 14:30:32
Committer: Thomas Gleixner <tglx@linutronix.de>
CommitterDate: Fri, 31 Oct 2025 22:25:34 +01:00
genirq: Fix percpu_devid irq affinity documentation
Stephen points out that some of the percpu_devid irq affinity
documentation is either missing or not matching the data structures.
Address all the issues in one go.
Fixes: 87b0031f7f73 ("irqdomain: Add firmware info reporting interface")
Fixes: 258e7d28a3dc ("genirq: Add affinity to percpu_devid interrupt requests")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://patch.msgid.link/20251030143032.2035987-1-maz@kernel.org
---
include/linux/interrupt.h | 1 +
include/linux/irqdomain.h | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h
index fa62ab5..266f2b3 100644
--- a/include/linux/interrupt.h
+++ b/include/linux/interrupt.h
@@ -109,6 +109,7 @@ typedef irqreturn_t (*irq_handler_t)(int, void *);
* @name: name of the device
* @dev_id: cookie to identify the device
* @percpu_dev_id: cookie to identify the device
+ * @affinity: CPUs this irqaction is allowed to run on
* @next: pointer to the next irqaction for shared interrupts
* @irq: interrupt number
* @flags: flags (see IRQF_* above)
diff --git a/include/linux/irqdomain.h b/include/linux/irqdomain.h
index 5907baf..952d3c8 100644
--- a/include/linux/irqdomain.h
+++ b/include/linux/irqdomain.h
@@ -48,7 +48,7 @@ struct irq_fwspec {
* struct irq_fwspec_info - firmware provided IRQ information structure
*
* @flags: Information validity flags
- * @cpumask: Affinity mask for this interrupt
+ * @affinity: Affinity mask for this interrupt
*
* This structure reports firmware-specific information about an
* interrupt. The only significant information is the affinity of a
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-10-31 21:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-10-30 14:30 [PATCH] genirq: Fix percpu_devid irq affinity documentation Marc Zyngier
2025-10-31 21:30 ` [tip: irq/core] " tip-bot2 for Marc Zyngier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®