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