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

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
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -452,5 +452,6 @@ void __init opal_platform_dump_init(void)
		return;
	}

	if (opal_check_token(OPAL_DUMP_RESEND))
		opal_dump_resend_notification();
}