]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/powernv: only call OPAL_ELOG_RESEND if firmware supports it
authorStewart Smith <stewart@linux.vnet.ibm.com>
Thu, 12 Feb 2015 05:25:28 +0000 (16:25 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 16 Mar 2015 07:50:14 +0000 (18:50 +1100)
commitcb48e71cb2282580491b3f7bf95b4a37501d404c
tree8254b24b3c9247a4d97d21f056de5f32b6af553c
parent93f6916d1e4fcbd8d96ebcb0ab1efd6d0d7876b2
powerpc/powernv: only call OPAL_ELOG_RESEND if firmware supports it

Otherwise firmware complains: "OPAL: Called with bad token 74 !"
as not all OPAL systems have the ability to resend error logs.

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-elog.c