powerpc/pseries: PACA save area fix for general exception vs MCE
authorNicholas Piggin <npiggin@gmail.com>
Wed, 10 Aug 2016 10:48:42 +0000 (20:48 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 22 Aug 2016 01:09:33 +0000 (11:09 +1000)
commit3f3b5dc14c25254d3fe98115c71b2a1f3ed97798
treedbf10aa818d7654743d1ea57274e0a0edaba4b1f
parent66443efa83dc73775100b7442962ce2cb0d4472e
powerpc/pseries: PACA save area fix for general exception vs MCE

MCE must not use PACA_EXGEN. When a general exception enables MSR_RI,
that means SPRN_SRR[01] and SPRN_SPRG are no longer used. However the
PACA save area is still in use.
Acked-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/exceptions-64s.S