]> git.baikalelectronics.ru Git - kernel.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)
commit2363be4cfdc61a9dbd137ebb5021247a1994cb8c
tree0b2b6ecbbf1df42c09ef213e3fe3c7702ef04a87
parentd5ba9c80a25d969fed7fc55605ddbf4ac9509dc0
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