efi: Decode IA32/X64 MS Check structure
authorYazen Ghannam <yazen.ghannam@amd.com>
Fri, 4 May 2018 05:59:55 +0000 (07:59 +0200)
committerIngo Molnar <mingo@kernel.org>
Mon, 14 May 2018 06:57:48 +0000 (08:57 +0200)
commita32bc29ed19776ef6827d6336847de9a0b7a8dc5
treef26e5d8200d89c5d1e03e8abd0197d74b57b3fca
parentc6bc4ac0aadede7a5c5260bcc315cd2b18c6b471
efi: Decode IA32/X64 MS Check structure

The IA32/X64 MS Check structure varies from the other Check structures
in the the bit positions of its fields, and it includes an additional
"Error Type" field.

Decode the MS Check structure in a separate function.

Based on UEFI 2.7 Table 257. IA32/X64 MS Check Field Description.

Signed-off-by: Yazen Ghannam <yazen.ghannam@amd.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Matt Fleming <matt@codeblueprint.co.uk>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-efi@vger.kernel.org
Link: http://lkml.kernel.org/r/20180504060003.19618-10-ard.biesheuvel@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
drivers/firmware/efi/cper-x86.c