qemu-cr16/include/hw/acpi
Mauro Carvalho Chehab ddd8f3baa2 qapi/acpi-hest: add an interface to do generic CPER error injection
Create a QMP command to be used for generic ACPI APEI hardware error
injection (HEST) via GHESv2, and add support for it for ARM guests.

Error injection uses ACPI_HEST_SRC_ID_QMP source ID to be platform
independent. This is mapped at arch virt bindings, depending on the
types supported by QEMU and by the BIOS. So, on ARM, this is supported
via ACPI_GHES_NOTIFY_GPIO notification type.

This patch was co-authored:
    - original ghes logic to inject a simple ARM record by Shiju Jose;
    - generic logic to handle block addresses by Jonathan Cameron;
    - generic GHESv2 error inject by Mauro Carvalho Chehab;

Co-authored-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Co-authored-by: Shiju Jose <shiju.jose@huawei.com>
Co-authored-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Shiju Jose <shiju.jose@huawei.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Acked-by: Igor Mammedov <imammedo@redhat.com>
Acked-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-ID: <81e2118b3c8b7e5da341817f277d61251655e0db.1758610789.git.mchehab+huawei@kernel.org>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2025-10-05 08:06:32 -04:00
..
acpi-defs.h hw/acpi: Upgrade ACPI SPCR table to support SPCR table revision 4 format 2024-12-20 11:22:47 +10:00
acpi.h include/system: Move exec/memory.h to system/memory.h 2025-04-23 14:08:21 -07:00
acpi_aml_interface.h hw/isa/isa-bus: Turn isa_build_aml() into qbus_build_aml() 2023-01-27 11:47:02 -05:00
acpi_dev_interface.h acpi/generic_event_device: add an APEI error device 2025-10-04 10:53:38 -04:00
aml-build.h acpi/generic_event_device: add an APEI error device 2025-10-04 10:53:38 -04:00
bios-linker-loader.h vmgenid: replace x-write-pointer-available hack 2017-09-08 16:15:17 +03:00
cpu.h hw/acpi: Update CPUs AML with cpu-(ctrl)dev change 2024-07-22 20:15:41 -04:00
cpu_hotplug.h Clean up header guards that don't match their file name 2016-07-12 16:19:16 +02:00
cxl.h hw/cxl: Add QTG _DSM support for ACPI0017 device 2023-10-22 05:18:17 -04:00
erst.h include: Include headers where needed 2023-01-08 01:54:22 -05:00
generic_event_device.h acpi/generic_event_device: add an APEI error device 2025-10-04 10:53:38 -04:00
ghes.h qapi/acpi-hest: add an interface to do generic CPER error injection 2025-10-05 08:06:32 -04:00
ich9.h hw/acpi/ich9: Add periodic and swsmi timer 2024-09-11 09:46:14 -04:00
ich9_tco.h include/system: Move exec/memory.h to system/memory.h 2025-04-23 14:08:21 -07:00
ich9_timer.h hw/acpi/ich9: Add periodic and swsmi timer 2024-09-11 09:46:14 -04:00
ipmi.h acpi: ipmi: use AcpiDevAmlIf interface to build IPMI device descriptors 2022-06-09 19:32:49 -04:00
memory_hotplug.h hw/acpi: Include missing 'qapi/qapi-types-acpi.h' generated header 2024-02-22 12:47:40 +01:00
pc-hotplug.h include/: spelling fixes 2023-09-08 13:08:52 +03:00
pci.h hw/i386/acpi-build: Move aml_pci_edsm to a generic place 2025-07-15 02:56:40 -04:00
pcihp.h hw/acpi/pcihp: Remove root arg in acpi_pcihp_init 2025-07-15 02:56:40 -04:00
piix4.h pcihp: move fields enabling hotplug into AcpiPciHpState 2023-03-07 12:39:00 -05:00
tpm.h include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
utils.h acpi: Move maximum size logic into acpi_add_rom_blob() 2021-03-22 18:58:19 -04:00
vmclock.h hw/acpi: Add vmclock device 2025-01-15 17:43:24 -05:00
vmgenid.h include/: spelling fixes 2023-09-08 13:08:52 +03:00