[Skiboot] [PATCH 0/2] opal-prd: Fix ignored error reporting on xscom operations, introduce prd flags

Jeremy Kerr jk at ozlabs.org
Tue Sep 13 14:27:25 AEST 2016


Hi all,

Currently, we have a bug in opal-prd where we do not properly report
errors from xscom read/write ioctls returned from the kernel / firmware.

Patch 2 in this series fixes this issue.

However, we'd also like to report to HBRT that the fix is present. Patch
1 introduces a get_prd_flags() callback to the hostboot interface, to
allow indicications of variations in behaviour like the fix above.

Dan: this is a proposed change to struct host_interfaces, so we'll need
an Acked-by from your side before merging.

Cheers,


Jeremy

Benjamin Herrenschmidt (1):
  opal-prd: Fix error code from scom_read & scom_write

Jeremy Kerr (1):
  opal-prd: Add get_prd_flags to host interfaces

 external/opal-prd/hostboot-interface.h | 16 +++++++++++++++-
 external/opal-prd/opal-prd.c           | 19 +++++++++++++------
 external/opal-prd/thunk.S              |  3 ++-
 3 files changed, 30 insertions(+), 8 deletions(-)

-- 
2.7.4



More information about the Skiboot mailing list