QEMU-Arm Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/8] Add SCI support for APEI on x86
@ 2026-09-05 17:53 Mauro Carvalho Chehab
  2026-09-05 17:53 ` [PATCH 1/8] acpi_dev_interface: a ghes support state at AcpiDeviceIfClass Mauro Carvalho Chehab
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Mauro Carvalho Chehab @ 2026-09-05 17:53 UTC (permalink / raw)
  To: Michael S Tsirkin, Igor Mammedov
  Cc: Jonathan Cameron, Shiju Jose, qemu-devel, Mauro Carvalho Chehab,
	linux-edac, qemu-arm, Philippe Mathieu-Daudé

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



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-09-05 17:55 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-05 17:53 [PATCH 0/8] Add SCI support for APEI on x86 Mauro Carvalho Chehab
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox