x86/MCE: Save microcode revision in machine check records
authorTony Luck <[email protected]>
Tue, 6 Mar 2018 14:21:41 +0000 (15:21 +0100)
committerThomas Gleixner <[email protected]>
Thu, 8 Mar 2018 14:34:49 +0000 (15:34 +0100)
commitfa94d0c6e0f3431523f5701084d799c77c7d4a4f
tree08e48fab47d519ac3d96864958b12550eae4f0be
parent1b88accf6a659c46d5c8e68912896f112bf882bb
x86/MCE: Save microcode revision in machine check records

Updating microcode used to be relatively rare. Now that it has become
more common we should save the microcode version in a machine check
record to make sure that those people looking at the error have this
important information bundled with the rest of the logged information.

[ Borislav: Simplify a bit. ]

Signed-off-by: Tony Luck <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: Yazen Ghannam <[email protected]>
Cc: linux-edac <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
arch/x86/include/uapi/asm/mce.h
arch/x86/kernel/cpu/mcheck/mce.c