]> 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)
commitb959548992dff34b854b3eb5ce90957571ed30c0
tree8b7a7a4e24a075a1ceb6371874282850c42a6b5e
parent53db770a3d00ee5e71653c6d4129739197c76622
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