Linux EDAC development
 help / color / mirror / Atom feed
From: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
To: Michael S Tsirkin <mst@redhat.com>
Cc: Jonathan Cameron <Jonathan.Cameron@huawei.com>,
	Shiju Jose <shiju.jose@huawei.com>,
	qemu-devel@nongnu.org, Igor Mammedov <imammedo@redhat.com>,
	Mauro Carvalho Chehab <mchehab+huawei@kernel.org>,
	linux-edac@vger.kernel.org, Cleber Rosa <crosa@redhat.com>,
	John Snow <jsnow@redhat.com>
Subject: [PATCH 00/13] Improve scripts/ghes_inject.py
Date: Sun,  8 Nov 2026 09:54:13 +0100	[thread overview]
Message-ID: <cover.1794127710.git.mchehab+huawei@kernel.org> (raw)

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


             reply	other threads:[~2026-11-08  8:54 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-08  8:54 Mauro Carvalho Chehab [this message]
2026-11-08  8:54 ` [PATCH 01/13] scripts/qmp_helper: add a return code to send_cper Mauro Carvalho Chehab
2026-11-08  8:54 ` [PATCH 02/13] scripts/qmp_helper: add missing CXL UEFI GUID Mauro Carvalho Chehab
2026-11-08  8:54 ` [PATCH 03/13] scripts/qmp_helper: add support for FRU Memory Poison Mauro Carvalho Chehab
2026-11-08  8:54 ` [PATCH 04/13] scripts/qmp_helper: make send_cper() more generic Mauro Carvalho Chehab
2026-11-08  8:54 ` [PATCH 05/13] scripts/qmp_helper: fix raw_data logic Mauro Carvalho Chehab
2026-11-08  8:54 ` [PATCH 06/13] scripts/ghes_inject: add a logic to decode CPER Mauro Carvalho Chehab
2026-11-08  8:54 ` [PATCH 07/13] scripts/ghes_inject: exit 1 if command was not sent Mauro Carvalho Chehab
2026-11-08  8:54 ` [PATCH 08/13] scripts/ghes_inject: add a handler for PCI/PCI-X bus error Mauro Carvalho Chehab
2026-11-08  8:54 ` [PATCH 09/13] scripts/ghes_inject: add support for fuzzy logic testing Mauro Carvalho Chehab
2026-11-08  8:54 ` [PATCH 10/13] scripts/ghes_inject: add a raw error inject command Mauro Carvalho Chehab
2026-11-08  8:54 ` [PATCH 11/13] scripts/ghes_inject: print help if no command specified Mauro Carvalho Chehab
2026-11-08  8:54 ` [PATCH 12/13] scripts/ghes_inject: improve help message Mauro Carvalho Chehab
2026-11-08  8:54 ` [PATCH 13/13] scripts/ghes_inject: improve the retry attempt logic Mauro Carvalho Chehab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1794127710.git.mchehab+huawei@kernel.org \
    --to=mchehab+huawei@kernel.org \
    --cc=Jonathan.Cameron@huawei.com \
    --cc=crosa@redhat.com \
    --cc=imammedo@redhat.com \
    --cc=jsnow@redhat.com \
    --cc=linux-edac@vger.kernel.org \
    --cc=mst@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=shiju.jose@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox