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>
This commit is contained in:

committed by
Michael Ellerman

parent
61435690a9
commit
a6a058e52a
@@ -41,6 +41,8 @@ void doorbell_exception(struct pt_regs *regs)
|
||||
|
||||
may_hard_irq_enable();
|
||||
|
||||
__get_cpu_var(irq_stat).doorbell_irqs++;
|
||||
|
||||
smp_ipi_demux();
|
||||
|
||||
irq_exit();
|
||||
|
Reference in New Issue
Block a user