android_kernel_xiaomi_sm8350/arch/i386/kernel/cpu
Stephane Eranian 23d5ea5d3e i386: Fix perfctr watchdog on core duo
Fix the NMI watchdog on Intel CoreDuo processor where the kernel would
get stuck during boot.  The issue is related to errata AE49, where the
PERFEVTSEL1 counter does not have a working enable bit.  Thus it is not
possible to use it for NMI.

The patch creates a dedicated wd_ops for CoreDuo which falls back to
using PERFEVTSEL0.  The other Intel processors supporting the
architectural PMU will keep on using PERFEVTSEL1 as this allows other
subsystems, such as perfmon, to use PERFEVTSEL0 for PEBS monitoring in
particular.  Bug initially reported by Daniel Walker.

AK: Added comments

Signed-off-by: Stephane Eranian <eranian@hpl.hp.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-09-10 18:57:47 -07:00
..
cpufreq acpi-cpufreq: Fix some x86/x86-64 acpi-cpufreq driver issues 2007-08-07 18:40:30 -04: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 [PATCH] i386: Don't delete cpu_devs data to identify different x86 types in late_initcall 2007-05-02 19:27:22 +02:00
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 [PATCH] i386: Implement X86_FEATURE_SYNC_RDTSC on i386 2007-05-02 19:27:20 +02:00
Makefile x86: remove support for the Rise CPU 2007-07-21 18:37:10 -07:00
nexgen.c [PATCH] i386: Don't delete cpu_devs data to identify different x86 types in late_initcall 2007-05-02 19:27:22 +02:00
perfctr-watchdog.c i386: Fix perfctr watchdog on core duo 2007-09-10 18:57:47 -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 i386: cpu/transmeta.c: fix definition of USER686 2007-05-09 12:49:33 -07:00
umc.c [PATCH] i386: Don't delete cpu_devs data to identify different x86 types in late_initcall 2007-05-02 19:27:22 +02:00