mbox series

[v2,00/10] rasdaemon: Add cpu fault isolation support and improvements to the HiSilicon vendor specific code

Message ID 20221003161742.1697-1-shiju.jose@huawei.com (mailing list archive)
Headers show
Series rasdaemon: Add cpu fault isolation support and improvements to the HiSilicon vendor specific code | expand

Message

Shiju Jose Oct. 3, 2022, 4:17 p.m. UTC
From: Shiju Jose <shiju.jose@huawei.com>

1. Support cpu fault isolation for the corrected and recoverable errors.
2. Add features and improvements to the HiSilicon vendor specific code.
3. Bug fix for a memory out-of-bounds issue.

Change History:
v1 -> v2
1. Use standard length PATH_MAX for path name space allocation
   to replace the macro MAX_PATH_LEN in the cpu fault isolation
   implementation.

Shengwei Luo (2):
  rasdaemon: Support cpu fault isolation for corrected errors
  rasdaemon: Support cpu fault isolation for recoverable errors

Shiju Jose (8):
  rasdaemon: Modify recording Hisilicon common error data
  rasdaemon: ras-mc-ctl: Modify error statistics for HiSilicon
    KunPeng9xx common errors
  rasdaemon: ras-mc-ctl: Reformat error info of the HiSilicon Kunpeng920
  rasdaemon: ras-mc-ctl: Add printing usage if necessary parameters are
    not passed for the vendor-error options
  rasdaemon: ras-mc-ctl: Add support to display the HiSilicon vendor
    errors for a specified module
  rasdaemon: ras-mc-ctl: Relocate reading and display Kunpeng920 errors
    to under Kunpeng9xx
  rasdaemon: ras-mc-ctl: Updated HiSilicon platform name
  rasdaemon: Fix for a memory out-of-bounds issue and optimized code to
    remove duplicate function.

 Makefile.am                |   6 +-
 configure.ac               |  11 +
 misc/rasdaemon.env         |  17 ++
 non-standard-hisi_hip08.c  |   6 +-
 non-standard-hisilicon.c   | 128 +++++++++---
 queue.c                    | 119 +++++++++++
 queue.h                    |  39 ++++
 ras-arm-handler.c          | 113 +++++++++++
 ras-arm-handler.h          |  18 ++
 ras-cpu-isolation.c        | 405 +++++++++++++++++++++++++++++++++++++
 ras-cpu-isolation.h        |  69 +++++++
 ras-events.c               |   9 +-
 ras-non-standard-handler.c |  16 +-
 util/ras-mc-ctl.in         | 196 ++++++++++--------
 14 files changed, 1027 insertions(+), 125 deletions(-)
 create mode 100644 queue.c
 create mode 100644 queue.h
 create mode 100644 ras-cpu-isolation.c
 create mode 100644 ras-cpu-isolation.h