Skip to content

Commit 84c1467

Browse files
mchehabmstsirkin
authored andcommitted
docs: acpi_hest_ghes: fix documentation for CPER size
While the spec defines a CPER size of 4KiB for each record, currently it is set to 1KiB. Fix the documentation and add a pointer to the macro name there, as this may help to keep it updated. Signed-off-by: Mauro Carvalho Chehab <[email protected]> Reviewed-by: Jonathan Cameron <[email protected]> Reviewed-by: Igor Mammedov <[email protected]> Message-Id: <f7e94433bec19a9d6b23ecccc24b5fe3a6f7f52b.1736945236.git.mchehab+huawei@kernel.org> Reviewed-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
1 parent 47935fc commit 84c1467

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/specs/acpi_hest_ghes.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,10 @@ Design Details
6767
(3) The address registers table contains N Error Block Address entries
6868
and N Read Ack Register entries. The size for each entry is 8-byte.
6969
The Error Status Data Block table contains N Error Status Data Block
70-
entries. The size for each entry is 4096(0x1000) bytes. The total size
71-
for the "etc/hardware_errors" fw_cfg blob is (N * 8 * 2 + N * 4096) bytes.
70+
entries. The size for each entry is defined at the source code as
71+
ACPI_GHES_MAX_RAW_DATA_LENGTH (currently 1024 bytes). The total size
72+
for the "etc/hardware_errors" fw_cfg blob is
73+
(N * 8 * 2 + N * ACPI_GHES_MAX_RAW_DATA_LENGTH) bytes.
7274
N is the number of the kinds of hardware error sources.
7375

7476
(4) QEMU generates the ACPI linker/loader script for the firmware. The

0 commit comments

Comments
 (0)