]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc: Add accounting for Doorbell interrupts
authorIan Munsie <imunsie@au1.ibm.com>
Thu, 21 Mar 2013 19:22:52 +0000 (19:22 +0000)
committerMichael Ellerman <michael@ellerman.id.au>
Thu, 18 Apr 2013 05:59:55 +0000 (15:59 +1000)
commita6a058e52a0ce62de84496c9d4b133f2afc61f27
treea140df07d650136779b3a8b1772a13ad6d3f26ed
parent61435690a9c781b4c9e617aa86bd20c146c9a998
powerpc: Add accounting for Doorbell interrupts

This patch adds a new line to /proc/interrupts to account for the
doorbell interrupts that each hardware thread has received. The total
interrupt count in /proc/stat will now also include doorbells.

 # cat /proc/interrupts
           CPU0       CPU1       CPU2       CPU3
 16:        551       1267        281        175      XICS Level     IPI
LOC:       2037       1503       1688       1625   Local timer interrupts
SPU:          0          0          0          0   Spurious interrupts
CNT:          0          0          0          0   Performance monitoring interrupts
MCE:          0          0          0          0   Machine check exceptions
DBL:         42        550         20         91   Doorbell interrupts

Signed-off-by: Ian Munsie <imunsie@au1.ibm.com>
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
arch/powerpc/include/asm/hardirq.h
arch/powerpc/kernel/dbell.c
arch/powerpc/kernel/irq.c