]> git.baikalelectronics.ru Git - kernel.git/commit
Move precessing of MCE queued event out from syscall exit path.
authorMahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
Tue, 14 Jan 2014 10:15:09 +0000 (15:45 +0530)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 15 Jan 2014 02:58:59 +0000 (13:58 +1100)
commitfb44efa29641ccd590701846a8d67ac1c90cee7a
tree357314baea0d2abd2ea0088b8d5cb2010038d790
parentd896f77bbb2a1cc653e904b8f38093a055783160
Move precessing of MCE queued event out from syscall exit path.

Huge Dickins reported an issue that 61a88239824b
"powerpc/book3s: Queue up and process delayed MCE events" breaks the
PowerMac G5 boot. This patch fixes it by moving the mce even processing
away from syscall exit, which was wrong to do that in first place, and
using irq work framework to delay processing of mce event.

Reported-by: Hugh Dickins <hughd@google.com
Signed-off-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/mce.h
arch/powerpc/kernel/entry_64.S
arch/powerpc/kernel/mce.c