Skip to content

powerpc/powernv: Error logging interfaces

Deepthi Dharwar linuxppc-dev 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest3 patches 0 repliesNew
  2. v43 patches 0 repliesSuperseded
  3. v33 patches 0 repliesSuperseded

Changes in v5 from the cover letter

* Reverted OPAL token for ELOG_OPAL_SEND to 92
* Use __pa() to obtain the physical address of the error log buffer.

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3powernv: Push critical error logs to FSParch/powerpc/include/asm/opal.h arch/powerpc/platforms/powernv/opal-elog.c arch/powerpc/platforms/powernv/opal-wrappers.S +1 more+196 -10 replies
2/3powernv: Correct spell error in opal-elog.carch/powerpc/platforms/powernv/opal-elog.c+1 -10 replies
3/3powernv: Have uniform logging of errors in opal-elog.carch/powerpc/platforms/powernv/opal-elog.c+6 -80 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.

Read the v5 thread

Cover letter [PATCH V5 0/3] powerpc/powernv: Error logging interfaces

This patch series defines generic interfaces for error logging to push down critical errors from powernv platform to FSP.

Also, it contains few minor fixes for the exisiting error logging framework that retrieves error logs from FSP.

Changes from V4:
* Reverted OPAL token for ELOG_OPAL_SEND to 92
* Use __pa() to obtain the physical address of the error log buffer.

Changes from V3:
* Change memory allocation to GFP_ATOMIC, to generate errors in bad context
* Move all error log generation related code to arch/powernv rename it from opal_* to pnv_* .

Changes from V2:
* Review comments from V2 have been addressed
includes comment formats, changing naming
conventions and incorporated error handling
of the buffers.
* Minor typo fix and use of pr_err/pr_fmt to
log errors.

Deepthi Dharwar (3):
powernv: Push critical error logs to FSP
powernv: Correct spell error in opal-elog.c
powernv: Have uniform logging of errors in opal-elog.c

 arch/powerpc/include/asm/opal.h                |   36 +++++++++
 arch/powerpc/platforms/powernv/opal-elog.c     |   92 +++++++++++++++++++++---
 arch/powerpc/platforms/powernv/opal-wrappers.S |    1 
 arch/powerpc/platforms/powernv/powernv.h       |   84 ++++++++++++++++++++++
 4 files changed, 203 insertions(+), 10 deletions(-)

-- Deepthi