linux_dsm_epyc7002/arch/x86/kernel/cpu/mcheck
Borislav Petkov 2d1f406139 x86/MCE: Export memory_error()
Export the function which checks whether an MCE is a memory error to
other users so that we can reuse the logic. Drop the boot_cpu_data use,
while at it, as mce.cpuvendor already has the CPU vendor in there.

Integrate a piece from a patch from Vishal Verma
<vishal.l.verma@intel.com> to export it for modules (nfit).

The main reason we're exporting it is that the nfit handler
nfit_handle_mce() needs to detect a memory error properly before doing
its recovery actions.

Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Vishal Verma <vishal.l.verma@intel.com>
Cc: <stable@vger.kernel.org>
Link: http://lkml.kernel.org/r/20170519093915.15413-2-bp@alien8.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2017-05-21 21:39:58 +02:00
..
dev-mcelog.c x86/mce: Factor out and deprecate the /dev/mcelog driver 2017-03-28 08:55:01 +02:00
Makefile x86/mce: Factor out and deprecate the /dev/mcelog driver 2017-03-28 08:55:01 +02:00
mce_amd.c x86/mce/AMD: Give a name to MCA bank 3 when accessed with legacy MSRs 2017-03-31 10:09:44 +02:00
mce_intel.c x86/mce: Enable PPIN for Knights Landing/Mill 2017-04-14 10:46:12 +02:00
mce-apei.c
mce-genpool.c x86/mce: Make the MCE notifier a blocking one 2017-04-18 22:23:48 +02:00
mce-inject.c
mce-internal.h Merge branch 'ras-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2017-05-01 20:48:33 -07:00
mce-severity.c
mce.c x86/MCE: Export memory_error() 2017-05-21 21:39:58 +02:00
p5.c
therm_throt.c Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2017-02-28 11:46:00 -08:00
threshold.c
winchip.c