diff options
author | Daniel J Blueman <daniel@numascale-asia.com> | 2012-10-01 06:42:05 (GMT) |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2012-10-17 18:25:32 (GMT) |
commit | 21c5e50e15b1abd797e62f18fd7f90b9cc004cbd (patch) | |
tree | 455bfc86f8f51fc5e235c8ddaf9366745b1f082f /arch/x86/um/asm/checksum.h | |
parent | 1bbbbe779aabe1f0768c2bf8f8c0a5583679b54a (diff) | |
download | linux-fsl-qoriq-21c5e50e15b1abd797e62f18fd7f90b9cc004cbd.tar.xz |
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>
Diffstat (limited to 'arch/x86/um/asm/checksum.h')
0 files changed, 0 insertions, 0 deletions