]> asedeno.scripts.mit.edu Git - linux.git/commit
powerpc: Add irq accounting for watchdog interrupts
authorNicholas Piggin <npiggin@gmail.com>
Tue, 1 Aug 2017 12:00:54 +0000 (22:00 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 10 Aug 2017 12:30:02 +0000 (22:30 +1000)
commit04019bf8ebb3c8cd66d75046054aeb264ba2db54
tree0b2b6ecbbf1df42c09ef213e3fe3c7702ef04a87
parentca41ad4377072e3e51593a2a9593c6cdbf4a5c0d
powerpc: Add irq accounting for watchdog interrupts

This adds an irq counter for the watchdog soft-NMI. This interrupt
only fires when interrupts are soft-disabled, so it will not
increment much even when the watchdog is running. However it's
useful for debugging and sanity checking.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/hardirq.h
arch/powerpc/kernel/irq.c
arch/powerpc/kernel/watchdog.c