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

Jeremy Kerr jk at ozlabs.org
Thu Sep 15 11:52:30 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.



  - rename callback to get_interface_capabilities
  - implement capability sets

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

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

 external/opal-prd/hostboot-interface.h | 24 +++++++++++++++++++++++-
 external/opal-prd/opal-prd.c           | 22 ++++++++++++++++------
 external/opal-prd/thunk.S              |  3 ++-
 3 files changed, 41 insertions(+), 8 deletions(-)


More information about the Skiboot mailing list