Skip to content

Commit 68c4c15

Browse files
Marc ZyngierKAGA-KOKO
authored andcommitted
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: 87b0031 ("irqdomain: Add firmware info reporting interface") Fixes: 258e7d2 ("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
1 parent fa9d277 commit 68c4c15

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

include/linux/interrupt.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ typedef irqreturn_t (*irq_handler_t)(int, void *);
109109
* @name: name of the device
110110
* @dev_id: cookie to identify the device
111111
* @percpu_dev_id: cookie to identify the device
112+
* @affinity: CPUs this irqaction is allowed to run on
112113
* @next: pointer to the next irqaction for shared interrupts
113114
* @irq: interrupt number
114115
* @flags: flags (see IRQF_* above)

include/linux/irqdomain.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ struct irq_fwspec {
4848
* struct irq_fwspec_info - firmware provided IRQ information structure
4949
*
5050
* @flags: Information validity flags
51-
* @cpumask: Affinity mask for this interrupt
51+
* @affinity: Affinity mask for this interrupt
5252
*
5353
* This structure reports firmware-specific information about an
5454
* interrupt. The only significant information is the affinity of a

0 commit comments

Comments
 (0)