OSDN Git Service

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)
commit4e49226ea8e1810d2c14d9e92a290bad239b512b
tree1c54354ad0c32e72d10ae829399407d709235808
parent5a951c4e7e8df5d6df52bace1b4ff327885584d6
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