]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc/powernv: only call OPAL_RESEND_DUMP if firmware supports it
authorStewart Smith <stewart@linux.vnet.ibm.com>
Thu, 12 Feb 2015 05:25:29 +0000 (16:25 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 16 Mar 2015 07:50:14 +0000 (18:50 +1100)
commit7e73a3b7f34240871fa5556d952e801178970741
tree2b2a336ef86919d3539e33b2b6570ebba428711d
parentfc81de63104e7603e6695225c2573f27aaeb4a28
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>
arch/powerpc/platforms/powernv/opal-dump.c