]> git.ipfire.org Git - thirdparty/linux.git/commit
genirq: Change hwirq parameter to irq_hw_number_t
authorTobias Schumacher <ts@linux.ibm.com>
Thu, 4 Dec 2025 05:05:01 +0000 (06:05 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Sun, 7 Dec 2025 15:15:22 +0000 (16:15 +0100)
commit455a65260f526cedd4680d4836ebdf2eaf1ab4c6
tree78e4f785fe20600bb920081c27546af6f79e2417
parenteb9780a1a3c4ffc1f383991ce3fc50da1fe4390d
genirq: Change hwirq parameter to irq_hw_number_t

The irqdomain implementation internally represents hardware IRQs as
irq_hw_number_t, which is defined as unsigned long int. When providing
an irq_hw_number_t to the generic_handle_domain() functions that expect
and unsigned int hwirq, this can lead to a loss of information. Change
the hwirq parameter to irq_hw_number_t to support the full range of
hwirqs.

Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Niklas Schnelle <schnelle@linux.ibm.com>
Reviewed-by: Farhan Ali <alifm@linux.ibm.com>
Signed-off-by: Tobias Schumacher <ts@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
include/linux/irqdesc.h
kernel/irq/irqdesc.c