]> 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)
commit1d747287f90a5d32c02129dfbfd3656636b87914
tree1c54354ad0c32e72d10ae829399407d709235808
parentdf88f155cf5d59140c026a9facf74d40725578aa
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