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>
This commit is contained in:
parent
b5ff4211a8
commit
28446de2ce
1 changed files with 2 additions and 6 deletions
|
@ -89,14 +89,10 @@ static int __init opal_register_exception_handlers(void)
|
||||||
if (!(powerpc_firmware_features & FW_FEATURE_OPAL))
|
if (!(powerpc_firmware_features & FW_FEATURE_OPAL))
|
||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
|
|
||||||
/* Hookup some exception handlers. We use the fwnmi area at 0x7000
|
/* Hookup some exception handlers except machine check. We use the
|
||||||
* to provide the glue space to OPAL
|
* fwnmi area at 0x7000 to provide the glue space to OPAL
|
||||||
*/
|
*/
|
||||||
glue = 0x7000;
|
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,
|
opal_register_exception_handler(OPAL_HYPERVISOR_MAINTENANCE_HANDLER,
|
||||||
0, glue);
|
0, glue);
|
||||||
glue += 128;
|
glue += 128;
|
||||||
|
|
Loading…
Add table
Reference in a new issue