[Skiboot] [PATCH 0/7] NPU HMI support

Russell Currey ruscur at russell.cc
Tue Mar 15 18:33:50 AEDT 2016


This series enables NPU-raised HMIs to be handled correctly, preventing a
NPU failure from checkstopping an entire system.

Patch 1 adds a return value to xscom_{read/write}, enabling the existing
HMI code to not checkstop a machine because a CPU is asleep.

Patches 2 and 3 are small changes required for later code to work.

Patch 4 is a trivial error message change.

Patches 5 and 6 are generic HMI code bugfixes.

Patch 7 enables all the NPU stuff.

I don't fully understand how the OPAL release cycle works, but these
patches will need to be shipped with Garrison.

Russell Currey (7):
  xscom: Return OPAL_WRONG_STATE on XSCOM ops if CPU is asleep
  pci: Export MAX_PHB_ID
  npu: Fix include in header
  hmi: Fix incorrect error message
  hmi: Don't cause an unrecoverable HMI if a CPU is asleep
  hmi: Only raise a catchall HMI if no other components have
  hmi: Add handling for NPU checkstops

 core/hmi.c                                   | 101 ++++++++++++++++++++++++---
 core/pci.c                                   |   1 -
 doc/opal-api/opal-xscom-read-write-65-66.txt |   5 ++
 hw/xscom.c                                   |  29 +++++---
 include/npu.h                                |   2 +
 include/opal-api.h                           |   1 +
 include/pci.h                                |   2 +
 7 files changed, 120 insertions(+), 21 deletions(-)

-- 
2.7.3



More information about the Skiboot mailing list