qemu/include/hw/acpi
Mauro Carvalho Chehab 48b0dcdd67 acpi/ghes: make the GHES record generation more generic
Split the code into separate functions to allow using the
common CPER filling code by different error sources.

The generic code was moved to ghes_record_cper_errors(),
and ghes_gen_err_data_uncorrectable_recoverable() now contains
only a logic to fill the Generic Error Data part of the record,
as described at:

	ACPI 6.2: 18.3.2.7.1 Generic Error Data

The remaining code to generate a memory error now belongs to
acpi_ghes_record_errors() function.

A further patch will give it a better name.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Message-Id: <68d9f787d8c4fc8d1dbc227d6902fe801e42dea9.1736945236.git.mchehab+huawei@kernel.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2025-01-15 13:07:09 -05: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 replace TABs with spaces 2023-03-20 12:43:50 +01: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 hw/acpi/acpi_dev_interface: Remove now unused #include "hw/boards.h" 2023-10-04 18:15:05 -04:00
aml-build.h hw/acpi: Upgrade ACPI SPCR table to support SPCR table revision 4 format 2024-12-20 11:22:47 +10: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: ged: Add macro for acpi sleep control register 2024-10-16 15:56:42 +08:00
ghes.h acpi/ghes: make the GHES record generation more generic 2025-01-15 13:07:09 -05:00
ich9.h hw/acpi/ich9: Add periodic and swsmi timer 2024-09-11 09:46:14 -04:00
ich9_tco.h hw/acpi/ich9_tco: Include missing 'migration/vmstate.h' header 2024-02-22 12:47:40 +01: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/acpi: Generic Port Affinity Structure support 2024-11-04 16:03:24 -05:00
pcihp.h hw/acpi/pcihp: Clean up global variable shadowing in acpi_pcihp_init() 2023-10-19 23:13:28 +02: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
vmgenid.h include/: spelling fixes 2023-09-08 13:08:52 +03:00