]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: kexec: Mark CPU offline before disabling local IRQ
authorDengcheng Zhu <dzhu@wavecomp.com>
Tue, 11 Sep 2018 21:49:20 +0000 (14:49 -0700)
committerPaul Burton <paul.burton@mips.com>
Fri, 21 Sep 2018 21:25:20 +0000 (14:25 -0700)
commit5b444c70673ba47b6dd31fcfb0928f73c88bc92a
tree1af8e036c0c14822916a946f003495e518294782
parent86c8e3d28f78805c77f35abb58aa64e23c0912bb
MIPS: kexec: Mark CPU offline before disabling local IRQ

After changing CPU online status, it will not be sent any IPIs such as in
__flush_cache_all() on software coherency systems. Do this before disabling
local IRQ.

Signed-off-by: Dengcheng Zhu <dzhu@wavecomp.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/20571/
Cc: pburton@wavecomp.com
Cc: ralf@linux-mips.org
Cc: linux-mips@linux-mips.org
Cc: rachel.mozes@intel.com
arch/mips/kernel/crash.c
arch/mips/kernel/machine_kexec.c