提交 7e73a3b7 编写于 作者: S Stewart Smith 提交者: 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: NStewart Smith <stewart@linux.vnet.ibm.com>
Acked-by: NVasant Hegde <hegdevasant@linux.vnet.ibm.com>
Signed-off-by: NMichael Ellerman <mpe@ellerman.id.au>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册