]> asedeno.scripts.mit.edu Git - linux.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)
commit855b6232dda2b6941ecd22979893e8a1d25642db
tree8b7a7a4e24a075a1ceb6371874282850c42a6b5e
parentde6e5d38417e6cdb005843db420a2974993d36ff
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