Skip to content
Commit 9baf68cc authored by Alex Kluver's avatar Alex Kluver Committed by Ard Biesheuvel
Browse files

edac,ghes,cper: Add Row Extension to Memory Error Record



Memory errors could be printed with incorrect row values since the DIMM
size has outgrown the 16 bit row field in the CPER structure. UEFI
Specification Version 2.8 has increased the size of row by allowing it to
use the first 2 bits from a previously reserved space within the structure.

When needed, add the extension bits to the row value printed.

Based on UEFI 2.8 Table 299. Memory Error Record

Signed-off-by: default avatarAlex Kluver <alex.kluver@hpe.com>
Tested-by: default avatarRuss Anderson <russ.anderson@hpe.com>
Reviewed-by: default avatarSteve Wahl <steve.wahl@hpe.com>
Reviewed-by: default avatarKyle Meyer <kyle.meyer@hpe.com>
Acked-by: default avatarBorislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/20200819143544.155096-2-alex.kluver@hpe.com


Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
parent 4a568ce2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment