Skip to content

Commit 28446de

Browse files
maheshsalozbenh
authored andcommitted
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>
1 parent b5ff421 commit 28446de

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

  • arch/powerpc/platforms/powernv

‎arch/powerpc/platforms/powernv/opal.c‎

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,14 +89,10 @@ static int __init opal_register_exception_handlers(void)
8989
if (!(powerpc_firmware_features & FW_FEATURE_OPAL))
9090
return -ENODEV;
9191

92-
/* Hookup some exception handlers. We use the fwnmi area at 0x7000
93-
* to provide the glue space to OPAL
92+
/* Hookup some exception handlers except machine check. We use the
93+
* fwnmi area at 0x7000 to provide the glue space to OPAL
9494
*/
9595
glue = 0x7000;
96-
opal_register_exception_handler(OPAL_MACHINE_CHECK_HANDLER,
97-
__pa(opal_mc_secondary_handler[0]),
98-
glue);
99-
glue += 128;
10096
opal_register_exception_handler(OPAL_HYPERVISOR_MAINTENANCE_HANDLER,
10197
0, glue);
10298
glue += 128;

0 commit comments

Comments
 (0)