diff options
| author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2025-09-23 09:03:59 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2025-10-04 10:53:38 -0400 |
| commit | b74d843f7bf43f5e7e1e5b9c34da2034d622cf78 (patch) | |
| tree | 5d6af4b75fb3e500020888bd833a0b1b89bed8f8 /include/hw/pci-host/astro.h | |
| parent | db16153f196f0ed7560aa138f08e2ef312ecf005 (diff) | |
| download | focaccia-qemu-b74d843f7bf43f5e7e1e5b9c34da2034d622cf78.tar.gz focaccia-qemu-b74d843f7bf43f5e7e1e5b9c34da2034d622cf78.zip | |
acpi/ghes: Use HEST table offsets when preparing GHES records
There are two pointers that are needed during error injection: 1. The start address of the CPER block to be stored; 2. The address of the read ack. It is preferable to calculate them from the HEST table. This allows checking the source ID, the size of the table and the type of the HEST error block structures. Yet, keep the old code, as this is needed for migration purposes from older QEMU versions. 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: <d4344e8dbe66372e1e093d968eda2e8b0527ba48.1758610789.git.mchehab+huawei@kernel.org> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw/pci-host/astro.h')
0 files changed, 0 insertions, 0 deletions