Skip to content

Silence "OPAL called with invalid token" errors

Stewart Smith linuxppc-dev lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3powerpc/powernv: only register log if OPAL supports doing soarch/powerpc/platforms/powernv/opal.c+5 -11 reply
2/3powerpc/powernv: only call OPAL_ELOG_RESEND if firmware supports itarch/powerpc/platforms/powernv/opal-elog.c+2 -11 reply
3/3powerpc/powernv: only call OPAL_RESEND_DUMP if firmware supports itarch/powerpc/platforms/powernv/opal-dump.c+2 -11 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchVasant Hegde
1/3A-b
2/3A-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] Silence "OPAL called with invalid token" errors

If OPAL firmware is called with an invalid token, that is, one that the current running firmware does not support, it dumps an error into its log. For three calls we were making in Linux, we were not adequately checking that the current firmware supported them, so could get this warning spuriously.

Stewart Smith (3):
powerpc/powernv: only register log if OPAL supports doing so powerpc/powernv: only call OPAL_ELOG_RESEND if firmware supports it powerpc/powernv: only call OPAL_RESEND_DUMP if firmware supports it

 arch/powerpc/platforms/powernv/opal-dump.c |    3 ++-
 arch/powerpc/platforms/powernv/opal-elog.c |    3 ++-
 arch/powerpc/platforms/powernv/opal.c      |    6 +++++-
 3 files changed, 9 insertions(+), 3 deletions(-)
Signature · 1 line
1.7.10.4