Merge branch 'x86/urgent' into x86/mce3
Conflicts: arch/x86/kernel/cpu/mcheck/mce_intel.c Merge reason: merge with an urgent-branch MCE fix. Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
@@ -853,6 +853,9 @@ static void __cpuinit identify_cpu(struct cpuinfo_x86 *c)
|
||||
#if defined(CONFIG_NUMA) && defined(CONFIG_X86_64)
|
||||
numa_add_cpu(smp_processor_id());
|
||||
#endif
|
||||
|
||||
/* Cap the iomem address space to what is addressable on all CPUs */
|
||||
iomem_resource.end &= (1ULL << c->x86_phys_bits) - 1;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_X86_64
|
||||
|
@@ -1249,7 +1249,7 @@ static void mce_cpu_quirks(struct cpuinfo_x86 *c)
|
||||
* Various K7s with broken bank 0 around. Always disable
|
||||
* by default.
|
||||
*/
|
||||
if (c->x86 == 6)
|
||||
if (c->x86 == 6 && banks > 0)
|
||||
bank[0] = 0;
|
||||
}
|
||||
|
||||
|
@@ -716,11 +716,15 @@ static void probe_nmi_watchdog(void)
|
||||
wd_ops = &k7_wd_ops;
|
||||
break;
|
||||
case X86_VENDOR_INTEL:
|
||||
/*
|
||||
* Work around Core Duo (Yonah) errata AE49 where perfctr1
|
||||
* doesn't have a working enable bit.
|
||||
/* Work around where perfctr1 doesn't have a working enable
|
||||
* bit as described in the following errata:
|
||||
* AE49 Core Duo and Intel Core Solo 65 nm
|
||||
* AN49 Intel Pentium Dual-Core
|
||||
* AF49 Dual-Core Intel Xeon Processor LV
|
||||
*/
|
||||
if (boot_cpu_data.x86 == 6 && boot_cpu_data.x86_model == 14) {
|
||||
if ((boot_cpu_data.x86 == 6 && boot_cpu_data.x86_model == 14) ||
|
||||
((boot_cpu_data.x86 == 6 && boot_cpu_data.x86_model == 15 &&
|
||||
boot_cpu_data.x86_mask == 4))) {
|
||||
intel_arch_wd_ops.perfctr = MSR_ARCH_PERFMON_PERFCTR0;
|
||||
intel_arch_wd_ops.evntsel = MSR_ARCH_PERFMON_EVENTSEL0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user