linux/arch
Tony Luck fd72423788 x86/MCE: Save microcode revision in machine check records
commit fa94d0c6e0 upstream.

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 <tony.luck@intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Yazen Ghannam <yazen.ghannam@amd.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/20180301233449.24311-1-tony.luck@intel.com
[bwh: Backported to 3.2:
 - Add other new fields to struct mce, to match upstream UAPI
 - Adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
History 2018-06-16 22:22:35 +01:00
..
alpha alpha: fix crash if pthread_create races with signal delivery 2018-06-16 22:21:56 +01:00
arc ARC: Re-enable MMU upon Machine Check exception 2017-11-26 13:50:29 +00:00
arm xen/arm: Define xen_arch_suspend() 2018-06-16 22:22:30 +01:00
arm64 arm64: __show_regs: Only resolve kernel symbols when running at EL1 2018-06-16 22:22:21 +01:00
avr32 avr32: fix 'undefined reference to `___copy_from_user' 2016-11-20 01:17:32 +00:00
blackfin ptrace: Don't allow accessing an undumpable mm 2018-01-01 20:52:11 +00:00
c6x C6x: time: Ensure consistency in __init 2015-05-06 11:33:02 +01:00
cris ptrace: Don't allow accessing an undumpable mm 2018-01-01 20:52:11 +00:00
frv mm: larger stack guard gap, between vmas 2017-07-02 17:13:02 +01:00
hexagon hexagon: fix strncpy_from_user() error return 2016-11-20 01:17:27 +00:00
ia64 ia64: convert unwcheck.py to python3 2018-06-16 22:22:33 +01:00
m32r m32r: add io*_rep helpers 2017-10-12 15:28:12 +01:00
m68k m68k: allow NULL clock for clk_get_rate 2017-11-26 13:50:24 +00:00
metag metag/uaccess: Check access_ok in strncpy_from_user 2017-08-26 02:14:45 +01:00
microblaze microblaze: fix __get_user() 2016-11-20 01:17:30 +00:00
mips MIPS: BMIPS: Do not mask IPIs during suspend 2018-06-16 22:22:33 +01:00
mn10300 mn10300/misalignment: Use SIGSEGV SEGV_MAPERR to report a failed user copy 2018-06-16 22:21:52 +01:00
openrisc signal/openrisc: Fix do_unaligned_access to send the proper signal 2018-06-16 22:21:52 +01:00
parisc parisc: Fix validity check of pointer size argument in new CAS implementation 2018-02-13 18:42:24 +00:00
powerpc powerpc/pseries: Add empty update_numa_cpu_lookup_table() for NUMA=n 2018-06-16 22:22:15 +01:00
s390 KVM: s390: provide io interrupt kvm_stat 2018-06-16 22:22:30 +01:00
score score: fix copy_from_user() and friends 2016-11-20 01:17:29 +00:00
sh signal/sh: Ensure si_signo is initialized in do_divide_error 2018-06-16 22:21:46 +01:00
sparc crypto: hash - annotate algorithms taking optional key 2018-06-16 22:21:51 +01:00
tile tile: array underflow in setup_maxnodemem() 2018-01-01 20:51:29 +00:00
um fs/coredump: prevent fsuid=0 dumps into user-controlled directories 2016-05-01 00:06:04 +02:00
unicore32 nosave: consolidate __nosave_{begin,end} in <asm/sections.h> 2015-05-06 10:24:18 +01:00
x86 x86/MCE: Save microcode revision in machine check records 2018-06-16 22:22:35 +01:00
xtensa xtensa: fix futex_atomic_cmpxchg_inatomic 2018-06-16 22:21:46 +01:00
.gitignore arch: Ignore arch/i386 and arch/x86_64 2008-01-19 21:29:39 -08:00
Kconfig uprobes: Kconfig dependency fix 2014-03-18 16:39:33 -04:00