efi: Parse ARM error information value
authorTyler Baicar <tbaicar@codeaurora.org>
Tue, 2 Jan 2018 18:10:42 +0000 (18:10 +0000)
committerIngo Molnar <mingo@kernel.org>
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 <tbaicar@codeaurora.org>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Arvind Yadav <arvind.yadav.cs@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Matt Fleming <matt@codeblueprint.co.uk>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephen Boyd <sboyd@codeaurora.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vasyl Gomonovych <gomonovych@gmail.com>
Cc: linux-efi@vger.kernel.org
Link: http://lkml.kernel.org/r/20180102181042.19074-6-ard.biesheuvel@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
drivers/firmware/efi/cper-arm.c
include/linux/cper.h