summary refs log tree commit diff stats
path: root/docs/specs
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2025-01-15 13:50:25 +0100
committerMichael S. Tsirkin <mst@redhat.com>2025-01-15 13:07:09 -0500
commit48b0dcdd67d3fafbd07f6298257259dec4f541ce (patch)
tree192d773ca1bf8b42c316382a22df116563ff086b /docs/specs
parent2e223c5ec1146b61163d3372ac629d9240d57cb1 (diff)
downloadfocaccia-qemu-48b0dcdd67d3fafbd07f6298257259dec4f541ce.tar.gz
focaccia-qemu-48b0dcdd67d3fafbd07f6298257259dec4f541ce.zip
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>
Diffstat (limited to 'docs/specs')
0 files changed, 0 insertions, 0 deletions