cper,edac,efi: Memory Error Record: bank group/address and chip id
authorAlex Kluver <alex.kluver@hpe.com>
Wed, 19 Aug 2020 14:35:44 +0000 (09:35 -0500)
committerArd Biesheuvel <ardb@kernel.org>
Thu, 17 Sep 2020 07:19:52 +0000 (10:19 +0300)
commit612b5d506d066cdf0a739963e7cd28642d500ec1
treef1a9a17bd91377d1d9ed2af9db84d1ade6db397d
parent9baf68cc4544056f33797b78ec09388f54ecc8f0
cper,edac,efi: Memory Error Record: bank group/address and chip id

Updates to the UEFI 2.8 Memory Error Record allow splitting the bank field
into bank address and bank group, and using the last 3 bits of the extended
field as a chip identifier.

When needed, print correct version of bank field, bank group, and chip
identification.

Based on UEFI 2.8 Table 299. Memory Error Record.

Signed-off-by: Alex Kluver <alex.kluver@hpe.com>
Reviewed-by: Russ Anderson <russ.anderson@hpe.com>
Reviewed-by: Kyle Meyer <kyle.meyer@hpe.com>
Reviewed-by: Steve Wahl <steve.wahl@hpe.com>
Acked-by: Borislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/20200819143544.155096-3-alex.kluver@hpe.com
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/edac/ghes_edac.c
drivers/firmware/efi/cper.c
include/linux/cper.h