android_kernel_xiaomi_sm8350/arch/i386/kernel/cpu
Andi Kleen d3f7eae182 i386: Use global flag to disable broken local apic timer on AMD CPUs.
The Averatec 2370 and some other Turion laptop BIOS seems to program the
ENABLE_C1E MSR inconsistently between cores. This confuses the lapic
use heuristics because when C1E is enabled anywhere it seems to affect
the complete chip.

Use a global flag instead of a per cpu flag to handle this.
If any CPU has C1E enabled disabled lapic use.

Thanks to Cal Peake for debugging.

Cc: tglx@linutronix.de
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-08-11 15:58:13 -07:00
..
cpufreq Fix uninitialized local variable "covered" in i386 acpi-cpufreq driver 2007-07-31 15:39:36 -07:00
mcheck x86: Stop MCEs and NMIs during code patching 2007-07-22 11:03:37 -07:00
mtrr x86: Replace NSC/Cyrix specific chipset access macros by inlined functions. 2007-07-22 11:03:38 -07:00
addon_cpuid_features.c Use a new CPU feature word to cover features that are spread around 2007-07-12 10:55:54 -07:00
amd.c i386: Use global flag to disable broken local apic timer on AMD CPUs. 2007-08-11 15:58:13 -07:00
bugs.c i386: include asm/bugs.h in bugs.c for check_bugs prototype 2007-07-31 15:39:42 -07:00
centaur.c
common.c x86: remove support for the Rise CPU 2007-07-21 18:37:10 -07:00
cpu.h
cyrix.c x86: Replace NSC/Cyrix specific chipset access macros by inlined functions. 2007-07-22 11:03:38 -07:00
intel_cacheinfo.c i386: fix section mismatch warning in intel_cacheinfo 2007-07-21 18:37:12 -07:00
intel.c
Makefile x86: remove support for the Rise CPU 2007-07-21 18:37:10 -07:00
nexgen.c
perfctr-watchdog.c i386: Fix the K7 NMI watchdog checkbit 2007-07-22 11:03:38 -07:00
proc.c Use a new CPU feature word to cover features that are spread around 2007-07-12 10:55:54 -07:00
transmeta.c
umc.c