efi: Parse ARM error information value
authorTyler Baicar <[email protected]>
Tue, 2 Jan 2018 18:10:42 +0000 (18:10 +0000)
committerIngo Molnar <[email protected]>
Wed, 3 Jan 2018 13:03:48 +0000 (14:03 +0100)
commit301f55b1a9177132d2b9ce8a90bf0ae4b37bb850
tree17395972e0ae7cbd568c7b1d01a9ccd2574b4eb1
parentc6d8c8ef1d0d94fdae9f5d72982963db89f9cdad
efi: Parse ARM error information value

ARM errors just print out the error information value, then the
value needs to be manually decoded as per the UEFI spec. Add
decoding of the ARM error information value so that the kernel
logs capture all of the valid information at first glance.

ARM error information value decoding is captured in UEFI 2.7
spec tables 263-265.

Signed-off-by: Tyler Baicar <[email protected]>
Signed-off-by: Ard Biesheuvel <[email protected]>
Cc: Arvind Yadav <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Matt Fleming <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephen Boyd <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Vasyl Gomonovych <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
drivers/firmware/efi/cper-arm.c
include/linux/cper.h