diff options
| author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2025-09-23 09:03:58 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2025-10-04 10:53:38 -0400 |
| commit | db16153f196f0ed7560aa138f08e2ef312ecf005 (patch) | |
| tree | b38d3de0dad06d34499287b74501bb8a4f267a65 /include/hw/acpi/ghes.h | |
| parent | 2e9c5c5bc85a4f79a5e5c9d52df6c62bd1b2e116 (diff) | |
| download | focaccia-qemu-db16153f196f0ed7560aa138f08e2ef312ecf005.tar.gz focaccia-qemu-db16153f196f0ed7560aa138f08e2ef312ecf005.zip | |
acpi/ghes: add a firmware file with HEST address
Store HEST table address at GPA, placing its the start of the table at hest_addr_le variable. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Message-ID: <c29aa5e6ab9b2d93dd5328481630c3b03da86261.1758610789.git.mchehab+huawei@kernel.org> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw/acpi/ghes.h')
| -rw-r--r-- | include/hw/acpi/ghes.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/hw/acpi/ghes.h b/include/hw/acpi/ghes.h index 411f592662..ea9baab764 100644 --- a/include/hw/acpi/ghes.h +++ b/include/hw/acpi/ghes.h @@ -70,9 +70,13 @@ enum { * When use_hest_addr is false, the GPA of the etc/hardware_errors firmware * is stored at hw_error_le. This is the default on QEMU 9.x. * - * An GPA value equal to zero means that GHES is not present. + * When use_hest_addr is true, the GPA of the HEST table is stored at + * hest_addr_le. This is the default for QEMU 10.x and above. + * + * Whe both GPA values are equal to zero means that GHES is not present. */ typedef struct AcpiGhesState { + uint64_t hest_addr_le; uint64_t hw_error_le; bool use_hest_addr; /* Currently, always false */ } AcpiGhesState; |