projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b962f5a
)
powerpc/powernv: only call OPAL_ELOG_RESEND if firmware supports it
author
Stewart Smith
<
[email protected]
>
Thu, 12 Feb 2015 05:25:28 +0000
(16:25 +1100)
committer
Michael Ellerman
<
[email protected]
>
Mon, 16 Mar 2015 07:50:14 +0000
(18:50 +1100)
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 <
[email protected]
>
Acked-by: Vasant Hegde <
[email protected]
>
Signed-off-by: Michael Ellerman <
[email protected]
>
arch/powerpc/platforms/powernv/opal-elog.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/platforms/powernv/opal-elog.c
b/arch/powerpc/platforms/powernv/opal-elog.c
index 518fe95dbf24ec6bde07bf1f7c3923db0680b361..38ce757e5e2af59354ace706976e292b62d3d1d9 100644
(file)
--- a/
arch/powerpc/platforms/powernv/opal-elog.c
+++ b/
arch/powerpc/platforms/powernv/opal-elog.c
@@
-313,7
+313,8
@@
int __init opal_elog_init(void)
}
/* We are now ready to pull error logs from opal. */
- opal_resend_pending_logs();
+ if (opal_check_token(OPAL_ELOG_RESEND))
+ opal_resend_pending_logs();
return 0;
}