]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/watchdog: provide more data in watchdog messages
authorNicholas Piggin <npiggin@gmail.com>
Sat, 5 May 2018 07:26:00 +0000 (17:26 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 10 May 2018 13:25:11 +0000 (23:25 +1000)
commit91e5fa40c79aae156814a0289e2e78fa3cb2880b
tree1c54354ad0c32e72d10ae829399407d709235808
parent62560923165124c1130867171c5acafc13f3eb7c
powerpc/watchdog: provide more data in watchdog messages

Provide timebase and timebase of last heartbeat in watchdog lockup
messages. Also provide a stack trace of when a CPU becomes un-stuck,
which can be useful -- it could be where irqs are re-enabled, so it
may be the end of the critical section which is responsible for the
latency which is useful information.

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