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)
commit30c826358d10c1d6f8147de3310b97488daec830
tree357314baea0d2abd2ea0088b8d5cb2010038d790
parentc0c4301c54adde05fa3652777f550e4570b87399
Move precessing of MCE queued event out from syscall exit path.

Huge Dickins reported an issue that b5ff4211a829
"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