linux_dsm_epyc7002/arch/x86/kernel/cpu/mcheck
Daniel J Blueman 21c5e50e15 x86, amd, mce: Avoid NULL pointer reference on CPU northbridge lookup
When booting on a federated multi-server system (NumaScale), the
processor Northbridge lookup returns NULL; add guards to prevent this
causing an oops.

On those systems, the northbridge is accessed through MMIO and the
"normal" northbridge enumeration in amd_nb.c doesn't work since we're
generating the northbridge ID from the initial APIC ID and the last
is not unique on those systems. Long story short, we end up without
northbridge descriptors.

Signed-off-by: Daniel J Blueman <daniel@numascale-asia.com>
Cc: stable@vger.kernel.org # 3.6
Link: http://lkml.kernel.org/r/1349073725-14093-1-git-send-email-daniel@numascale-asia.com
[ Boris: beef up commit message ]
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
2012-10-17 11:25:32 -07:00
..
Makefile ACPI, APEI, Generic Hardware Error Source memory error support 2010-05-19 22:41:16 -04:00
mce_amd.c x86, amd, mce: Avoid NULL pointer reference on CPU northbridge lookup 2012-10-17 11:25:32 -07:00
mce_intel.c locking, x86: mce: Annotate cmci_discover_lock as raw 2011-09-13 11:12:09 +02:00
mce-apei.c x86/mce Add validation check before GHES error is recorded 2012-04-20 16:02:05 -07:00
mce-inject.c x86: add IRQ context simulation in module mce-inject 2011-12-16 11:20:02 -08:00
mce-internal.h cpu: convert 'cpu' and 'machinecheck' sysdev_class to a regular subsystem 2011-12-21 14:29:42 -08:00
mce-severity.c x86/mce: Move MCACOD defines from mce-severity.c to <asm/mce.h> 2012-07-26 15:05:47 +02:00
mce.c Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2012-08-03 10:59:36 -07:00
p5.c Disintegrate asm/system.h for X86 2012-03-28 18:11:12 +01:00
therm_throt.c Disintegrate asm/system.h for X86 2012-03-28 18:11:12 +01:00
threshold.c x86: Call idle notifier after irq_enter() 2011-12-11 10:31:38 -08:00
winchip.c Disintegrate asm/system.h for X86 2012-03-28 18:11:12 +01:00