]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit92b2b8ca7b110a4c25253b958fc2fe0a15da5ff4
treedbf10aa818d7654743d1ea57274e0a0edaba4b1f
parent488388334bec721c0163d3c939e1fe413d7ce730
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