mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 22:51:42 +00:00
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: Stewart Smith <stewart@linux.vnet.ibm.com> Acked-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
parent
fc81de6310
commit
7e73a3b7f3
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user