]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/watchdog: Do not panic from locked CPU's IPI handler
authorNicholas Piggin <npiggin@gmail.com>
Fri, 29 Sep 2017 03:29:37 +0000 (13:29 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 4 Oct 2017 00:25:40 +0000 (11:25 +1100)
commit935556ee9e3a26ef3f7b0fb738d377f42d71c92d
tree4bd4e1525beae56b055dae418e0a87ffe03b08c9
parent16c9fbd93205c37e31330c14c7588f39ed507bef
powerpc/watchdog: Do not panic from locked CPU's IPI handler

The SMP watchdog will detect locked CPUs and IPI them to print a
backtrace and registers. If panic on hard lockup is enabled, do not
panic from this handler, because that can cause recursion into the IPI
layer during the panic.

The caller already panics in this case.

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