[Skiboot] [PATCH 00/14] opal/hmi: Rework HMI handling.

Mahesh J Salgaonkar mahesh at linux.vnet.ibm.com
Wed Mar 14 21:07:13 AEDT 2018

This patch series reworks the HMI handling and introduces new opal call
for hmi handling that returns info about which timer facilities were
fixed/lost e.g. TB re-synced, HDEC lost etc..

Patch 1 and 2 are minor improvements.
Patch 3 introduces new opal call opal_handle_hmi2
Patch 4 and 5 are again minor improvements and code movement.
Patch 6 does the major code rework and introduces 4 rendez vous points where
all threads synchronizes before clearing dirty data or errors at each step.
Patch 7 to 14 are incremental improvement patches that handles specific
cases for different set of HMIs.

- Add documentation under doc/opal-api for opal_handle_hmi2 call.


Benjamin Herrenschmidt (6):
      opal/hmi: Don't re-read HMER multiple times
      opal/hmi: Remove races in clearing HMER
      opal/hmi: Add a new opal_handle_hmi2 that returns direct info to Linux
      opal/hmi: Move timer related error handling to a separate function
      opal/hmi: Don't bother passing HMER to pre-recovery cleanup
      opal/hmi: Rework HMI handling of TFAC errors

Mahesh Salgaonkar (8):
      opal/hmi: Initialize the hmi event with old value of HMER.
      opal/hmi: Do not send HMI event if no errors are found.
      opal/hmi: Fix soft lockups during TOD errors
      opal/hmi: Stop flooding HMI event for TOD errors.
      opal/hmi: Fix handling of TFMR parity/corrupt error.
      opal/hmi: Print additional debug information in rendezvous.
      opal/hmi: check thread 0 tfmr to validate latched tfmr errors.
      opal/hmi: Generate hmi event for recovered HDEC parity error.

 core/cpu.c              |    2 
 core/hmi.c              |  710 ++++++++++++++++++++++++-----------------------
 hw/chiptod.c            |  138 ++++-----
 include/chiptod.h       |    7 
 include/cpu.h           |    3 
 include/opal-api.h      |   11 +
 include/opal-internal.h |    1 
 include/xscom-p9-regs.h |    8 +
 8 files changed, 450 insertions(+), 430 deletions(-)


More information about the Skiboot mailing list