summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/powernv/opal.c
diff options
context:
space:
mode:
authorMahesh Salgaonkar2013-10-30 15:35:58 +0100
committerBenjamin Herrenschmidt2013-12-05 06:05:21 +0100
commit28446de2ce9992f6d13e4594a25fc9c3b9f4517b (patch)
tree887ca2c766b0457075ef58cc4d2e1a23f3eefa9a /arch/powerpc/platforms/powernv/opal.c
parentpowerpc/book3s: Queue up and process delayed MCE events. (diff)
downloadkernel-qcow2-linux-28446de2ce9992f6d13e4594a25fc9c3b9f4517b.tar.gz
kernel-qcow2-linux-28446de2ce9992f6d13e4594a25fc9c3b9f4517b.tar.xz
kernel-qcow2-linux-28446de2ce9992f6d13e4594a25fc9c3b9f4517b.zip
powerpc/powernv: Remove machine check handling in OPAL.
Now that we are ready to handle machine check directly in linux, do not register with firmware to handle machine check exception. Signed-off-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/powernv/opal.c')
-rw-r--r--arch/powerpc/platforms/powernv/opal.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/arch/powerpc/platforms/powernv/opal.c b/arch/powerpc/platforms/powernv/opal.c
index 245096f90437..f348bd49487c 100644
--- a/arch/powerpc/platforms/powernv/opal.c
+++ b/arch/powerpc/platforms/powernv/opal.c
@@ -89,14 +89,10 @@ static int __init opal_register_exception_handlers(void)
if (!(powerpc_firmware_features & FW_FEATURE_OPAL))
return -ENODEV;
- /* Hookup some exception handlers. We use the fwnmi area at 0x7000
- * to provide the glue space to OPAL
+ /* Hookup some exception handlers except machine check. We use the
+ * fwnmi area at 0x7000 to provide the glue space to OPAL
*/
glue = 0x7000;
- opal_register_exception_handler(OPAL_MACHINE_CHECK_HANDLER,
- __pa(opal_mc_secondary_handler[0]),
- glue);
- glue += 128;
opal_register_exception_handler(OPAL_HYPERVISOR_MAINTENANCE_HANDLER,
0, glue);
glue += 128;