Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

authored by

Marc Zyngier and committed by
Thomas Gleixner
68c4c159 fa9d2777

+2 -1
+1
include/linux/interrupt.h
··· 109 109 * @name: name of the device 110 110 * @dev_id: cookie to identify the device 111 111 * @percpu_dev_id: cookie to identify the device 112 + * @affinity: CPUs this irqaction is allowed to run on 112 113 * @next: pointer to the next irqaction for shared interrupts 113 114 * @irq: interrupt number 114 115 * @flags: flags (see IRQF_* above)
+1 -1
include/linux/irqdomain.h
··· 48 48 * struct irq_fwspec_info - firmware provided IRQ information structure 49 49 * 50 50 * @flags: Information validity flags 51 - * @cpumask: Affinity mask for this interrupt 51 + * @affinity: Affinity mask for this interrupt 52 52 * 53 53 * This structure reports firmware-specific information about an 54 54 * interrupt. The only significant information is the affinity of a