Commit 7e73a3b7 authored by Stewart Smith's avatar Stewart Smith Committed by Michael Ellerman

powerpc/powernv: only call OPAL_RESEND_DUMP if firmware supports it

Not all OPAL platforms support resending system dumps, so check
that current firmware supports it first. Otherwise we get firmware
complaining:
"OPAL: Called with bad token 91 !"
Signed-off-by: default avatarStewart Smith <stewart@linux.vnet.ibm.com>
Acked-by: default avatarVasant Hegde <hegdevasant@linux.vnet.ibm.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent fc81de63
......@@ -452,5 +452,6 @@ void __init opal_platform_dump_init(void)
return;
}
opal_dump_resend_notification();
if (opal_check_token(OPAL_DUMP_RESEND))
opal_dump_resend_notification();
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment