]> git.karo-electronics.de Git - karo-tx-linux.git/commit
irqdomain: Include hwirq number in /proc/interrupts
authorGrant Likely <grant.likely@secretlab.ca>
Thu, 26 Jan 2012 23:29:19 +0000 (16:29 -0700)
committerGrant Likely <grant.likely@linaro.org>
Fri, 14 Jun 2013 13:35:21 +0000 (14:35 +0100)
commit57d8b0c7452d3fcb1a0b97d554c71f539d7e9dce
tree6c8ad894503fc9f5fea8ab74a2b1770b39b196dd
parent25477faeb4b76116809f8ce0a7b25900d90173c6
irqdomain: Include hwirq number in /proc/interrupts

Add the hardware interrupt number to the output of /proc/interrupts.
It is often important to have access to the hardware interrupt number because
it identifies exactly how an interrupt signal is wired up to the interrupt
controller.  This is especially important when using irq_domains since irq
numbers get dynamically allocated in that case, and have no relation to the
actual hardware number.

Note: This output is currently conditional on whether or not the irq_domain
pointer is set; however hwirq could still be used without irq_domain.  It
may be worthwhile to always output the hwirq number regardless of the
domain pointer.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Tested-by: Olof Johansson <olof@lixom.net>
Cc: Ben Herrenschmidt <benh@kernel.crashing.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
kernel/irq/proc.c