]> 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)
commit812408f627d7a8f7043db14472337e5eb3af58f5
tree0b2b6ecbbf1df42c09ef213e3fe3c7702ef04a87
parent8079ed77b13a17d661bf9cfd7596829a99f8725a
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