[PATCH 00/13] Improve scripts/ghes_inject.py

Mauro Carvalho Chehab posted 13 patches 2 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/cover.1794127710.git.mchehab+huawei@kernel.org
Maintainers: John Snow <jsnow@redhat.com>, Cleber Rosa <crosa@redhat.com>, Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
MAINTAINERS                    |    4 +
scripts/arm_processor_error.py |    8 +-
scripts/fuzzy_error.py         |  208 ++++++
scripts/ghes_decode.py         | 1158 ++++++++++++++++++++++++++++++++
scripts/ghes_inject.py         |   30 +-
scripts/pci_bus_error.py       |  153 +++++
scripts/qmp_helper.py          |  201 ++++--
scripts/raw_error.py           |  175 +++++
8 files changed, 1883 insertions(+), 54 deletions(-)
create mode 100644 scripts/fuzzy_error.py
create mode 100644 scripts/ghes_decode.py
create mode 100644 scripts/pci_bus_error.py
create mode 100644 scripts/raw_error.py
[PATCH 00/13] Improve scripts/ghes_inject.py
Posted by Mauro Carvalho Chehab 2 weeks ago
Hi Michael,

This series improves ghes_inject script, adding support for several
different types of GHES records:

- PCI bus error;
- Raw error inject;
- Fuzzy logic injects;
- CPER decoding for error injections.

They extend the current scope which only supported ARM Processor
errors.

Regards,
Mauro

Mauro Carvalho Chehab (13):
  scripts/qmp_helper: add a return code to send_cper
  scripts/qmp_helper: add missing CXL UEFI GUID
  scripts/qmp_helper: add support for FRU Memory Poison
  scripts/qmp_helper: make send_cper() more generic
  scripts/qmp_helper: fix raw_data logic
  scripts/ghes_inject: add a logic to decode CPER
  scripts/ghes_inject: exit 1 if command was not sent
  scripts/ghes_inject: add a handler for PCI/PCI-X bus error
  scripts/ghes_inject: add support for fuzzy logic testing
  scripts/ghes_inject: add a raw error inject command
  scripts/ghes_inject: print help if no command specified
  scripts/ghes_inject: improve help message
  scripts/ghes_inject: improve the retry attempt logic

 MAINTAINERS                    |    4 +
 scripts/arm_processor_error.py |    8 +-
 scripts/fuzzy_error.py         |  208 ++++++
 scripts/ghes_decode.py         | 1158 ++++++++++++++++++++++++++++++++
 scripts/ghes_inject.py         |   30 +-
 scripts/pci_bus_error.py       |  153 +++++
 scripts/qmp_helper.py          |  201 ++++--
 scripts/raw_error.py           |  175 +++++
 8 files changed, 1883 insertions(+), 54 deletions(-)
 create mode 100644 scripts/fuzzy_error.py
 create mode 100644 scripts/ghes_decode.py
 create mode 100644 scripts/pci_bus_error.py
 create mode 100644 scripts/raw_error.py

-- 
2.56.0