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

Russell Currey ruscur at russell.cc
Mon Mar 21 11:59:59 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 changes required for later code to work.  Patch 2 was
co-authored with Oliver O'Halloran.

Patch 4 is a trivial error message change.

Patches 5 and 6 are generic HMI code fixes.

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: Add for_each_phb macro for PHB traversal
  npu: Fix include in header
  hmi: Fix incorrect error message
  hmi: Rework HMI event handling of FIR read failure
  hmi: Only raise a catchall HMI if no other components have
  hmi: Add handling for NPU checkstops

 core/hmi.c                                   | 105 ++++++++++++++++++++++++---
 core/pci.c                                   |   3 +
 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                                |  14 ++++
 7 files changed, 136 insertions(+), 23 deletions(-)


More information about the Skiboot mailing list