]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/64: hard disable irqs on the panic()ing CPU
authorNicholas Piggin <npiggin@gmail.com>
Sat, 19 May 2018 04:35:54 +0000 (14:35 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 19 Jun 2018 11:28:23 +0000 (21:28 +1000)
commitd7bf8d4245c1b1ca4d4fb57e16d621af2145463c
tree8b7a7a4e24a075a1ceb6371874282850c42a6b5e
parent0405736ec8781abdcd379020baea2d22be560b1a
powerpc/64: hard disable irqs on the panic()ing CPU

Similar to previous patches, hard disable interrupts when a CPU is
in panic. This reduces the chance the watchdog has to interfere with
the panic, and avoids any other type of masked interrupt being
executed when crashing which minimises the length of the crash path.

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