提交 742632d2 编写于 作者: Y Yazen Ghannam 提交者: Ingo Molnar

efi: Fix IA32/X64 Processor Error Record definition

Based on UEFI 2.7 Table 255. Processor Error Record, the "Local APIC_ID"
field is 8 bytes but Linux defines this field as 1 byte.

Fix this in the struct cper_sec_proc_ia definition.
Signed-off-by: NYazen Ghannam <yazen.ghannam@amd.com>
Signed-off-by: NArd 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-4-ard.biesheuvel@linaro.orgSigned-off-by: NIngo Molnar <mingo@kernel.org>
上级 75e4fd31
...@@ -381,7 +381,7 @@ struct cper_sec_proc_generic { ...@@ -381,7 +381,7 @@ struct cper_sec_proc_generic {
/* IA32/X64 Processor Error Section */ /* IA32/X64 Processor Error Section */
struct cper_sec_proc_ia { struct cper_sec_proc_ia {
__u64 validation_bits; __u64 validation_bits;
__u8 lapic_id; __u64 lapic_id;
__u8 cpuid[48]; __u8 cpuid[48];
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册