powerpc: Save DAR and DSISR in pt_regs on MCE
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Sun, 28 Apr 2013 09:37:26 +0000 (09:37 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 30 Apr 2013 05:59:42 +0000 (15:59 +1000)
commitce54152f429ed5e6ad83e5e9f61825b5a795dd1e
tree511310b26dd12bc4572ecb71a3b97ab392a55b6c
parent4b8f63d92e30ffd33bd77e028918919be2d926e6
powerpc: Save DAR and DSISR in pt_regs on MCE

We were not saving DAR and DSISR on MCE. Save then and also print the values
along with exception details in xmon.

Acked-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/exceptions-64s.S
arch/powerpc/xmon/xmon.c