QEMU-Arm Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
To: Michael S Tsirkin <mst@redhat.com>, Igor Mammedov <imammedo@redhat.com>
Cc: "Jonathan Cameron" <Jonathan.Cameron@huawei.com>,
	"Shiju Jose" <shiju.jose@huawei.com>,
	qemu-devel@nongnu.org,
	"Mauro Carvalho Chehab" <mchehab+huawei@kernel.org>,
	linux-edac@vger.kernel.org, qemu-arm@nongnu.org,
	"Philippe Mathieu-Daudé" <philmd@mailo.com>
Subject: [PATCH 0/8] Add SCI support for APEI on x86
Date: Sat,  5 Sep 2026 19:53:20 +0200	[thread overview]
Message-ID: <cover.1788630333.git.mchehab+huawei@kernel.org> (raw)

Hi Igor,

After a long time, I finally found some time to finish x86 support
for APEI. Right now, it supports only QMP error inject.

I did local tests here with q35 and it works fine. I also added
tests for both piix4 and q35 at tests/qtest/bios-tables-test.

My end goal is to do functional tests with:
- upstream Kernel + QEMU + rasdaemon.

I'm already working on a temporary tree to implement it.

NOTE: this series is based on v11.1.1. I tried to base it on
the top of master, but there's currently a problem with a
docker.py script that it is causing compilation issues here:

$ ./tests/docker/docker.py
Traceback (most recent call last):
  File "/new_devel/edac/qemu/./tests/docker/docker.py", line 657, in <module>
    sys.exit(main())
             ~~~~^^
  File "/new_devel/edac/qemu/./tests/docker/docker.py", line 653, in main
    return args.cmdobj.run(args, argv)
           ^^^^^^^^^^^
AttributeError: 'Namespace' object has no attribute 'cmdobj'

As this is a separate problem, I'm opting for now to keep it
based on v11.1.1, to make easier for you to review.

There will be a couple of trivial conflicts to be solved when
porting to upstream.

Mauro Carvalho Chehab (8):
  acpi_dev_interface: a ghes support state at AcpiDeviceIfClass
  tests/acpi: virt: reserve expected tables for PC GHES SCI support
  hw/i186: add support for HEST table with SCI
  hw/i386: add GHES support at ICH9 and PIIX4 PM
  tests/acpi: virt: add x86 DSDT and HEST tables
  docs: acpi_hest_ghes: document notification mechanisms
  tests: test GHES notifications on arm64 virt machine
  tests: add GHES tests for x86 piix4 and q35

 docs/specs/acpi_hest_ghes.rst        |  44 +++++++--
 hw/acpi/acpi_interface.c             |   7 ++
 hw/acpi/generic_event_device.c       |   6 ++
 hw/acpi/ghes.c                       |  30 ++++---
 hw/acpi/ich9.c                       |  19 ++++
 hw/acpi/piix4.c                      |  25 ++++++
 hw/i386/Kconfig                      |   1 +
 hw/i386/acpi-build.c                 |  99 ++++++++++++++++++++
 hw/i386/pc.c                         |  41 +++++++++
 hw/isa/lpc_ich9.c                    |   6 ++
 include/hw/acpi/acpi_dev_interface.h |   6 ++
 include/hw/acpi/ich9.h               |   2 +
 include/hw/acpi/piix4.h              |   2 +
 include/hw/i386/pc.h                 |   5 ++
 tests/data/acpi/x86/pc/DSDT.ras      | Bin 0 -> 8818 bytes
 tests/data/acpi/x86/pc/HEST.ras      | Bin 0 -> 132 bytes
 tests/data/acpi/x86/q35/DSDT.ras     | Bin 0 -> 8647 bytes
 tests/data/acpi/x86/q35/HEST.ras     | Bin 0 -> 132 bytes
 tests/qtest/bios-tables-test.c       | 130 +++++++++++++++++++++++++++
 19 files changed, 402 insertions(+), 21 deletions(-)
 create mode 100644 tests/data/acpi/x86/pc/DSDT.ras
 create mode 100644 tests/data/acpi/x86/pc/HEST.ras
 create mode 100644 tests/data/acpi/x86/q35/DSDT.ras
 create mode 100644 tests/data/acpi/x86/q35/HEST.ras

-- 
2.55.0



             reply	other threads:[~2026-09-05 17:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-05 17:53 Mauro Carvalho Chehab [this message]
2026-09-05 17:53 ` [PATCH 1/8] acpi_dev_interface: a ghes support state at AcpiDeviceIfClass Mauro Carvalho Chehab
2026-09-05 17:53 ` [PATCH 2/8] tests/acpi: virt: reserve expected tables for PC GHES SCI support Mauro Carvalho Chehab
2026-09-05 17:53 ` [PATCH 3/8] hw/i186: add support for HEST table with SCI Mauro Carvalho Chehab
2026-09-05 17:53 ` [PATCH 4/8] hw/i386: add GHES support at ICH9 and PIIX4 PM Mauro Carvalho Chehab
2026-09-05 17:53 ` [PATCH 5/8] tests/acpi: virt: add x86 DSDT and HEST tables Mauro Carvalho Chehab
2026-09-05 17:53 ` [PATCH 6/8] docs: acpi_hest_ghes: document notification mechanisms Mauro Carvalho Chehab
2026-09-05 17:53 ` [PATCH 7/8] tests: test GHES notifications on arm64 virt machine Mauro Carvalho Chehab
2026-09-05 17:53 ` [PATCH 8/8] tests: add GHES tests for x86 piix4 and q35 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.1788630333.git.mchehab+huawei@kernel.org \
    --to=mchehab+huawei@kernel.org \
    --cc=Jonathan.Cameron@huawei.com \
    --cc=imammedo@redhat.com \
    --cc=linux-edac@vger.kernel.org \
    --cc=mst@redhat.com \
    --cc=philmd@mailo.com \
    --cc=qemu-arm@nongnu.org \
    --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