]> www.infradead.org Git - users/jedix/linux-maple.git/commit
efi/cper: Print correctable AER information
authorYazen Ghannam <yazen.ghannam@amd.com>
Fri, 23 Aug 2024 00:24:22 +0000 (19:24 -0500)
committerArd Biesheuvel <ardb@kernel.org>
Tue, 27 Aug 2024 10:23:19 +0000 (12:23 +0200)
commitd7171eb494353e03f3cde1a6f665e19c243c98e8
tree39c011493137c02a66f7f33ee86d03c392db9829
parent21b91d40575fb64f3f280f6c3af586e32a704a92
efi/cper: Print correctable AER information

Currently, cper_print_pcie() only logs Uncorrectable Error Status, Mask
and Severity registers along with the TLP header.

If a correctable error is received immediately preceding or following an
Uncorrectable Fatal Error, its information is lost since Correctable
Error Status and Mask registers are not logged.

As such, to avoid skipping any possible error information, Correctable
Error Status and Mask registers should also be logged.

Additionally, ensure that AER information is also available through
cper_print_pcie() for Correctable and Uncorrectable Non-Fatal Errors.

Signed-off-by: Yazen Ghannam <yazen.ghannam@amd.com>
Tested-by: Avadhut Naik <avadhut.naik@amd.com>
Signed-off-by: Avadhut Naik <avadhut.naik@amd.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/firmware/efi/cper.c