]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
genirq: Fix percpu_devid irq affinity documentation
authorMarc Zyngier <maz@kernel.org>
Thu, 30 Oct 2025 14:30:32 +0000 (14:30 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 31 Oct 2025 21:25:34 +0000 (22:25 +0100)
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
include/linux/irqdomain.h

index fa62ab556ee327bfc8258086a782a2d1a0632c41..266f2b39213a019ddd9c6141e315e23f4096f670 100644 (file)
@@ -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)
index 5907baf6099d9cc84ce8b2445e8ce9166f1f1896..952d3c8dd6b7a20b0b54d5cb1b6deabab67de960 100644 (file)
@@ -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