android_kernel_xiaomi_sdm845/arch/x86/kernel/cpu
Stephan Diestelhorst c6e8256a7b x86, cpufreq: fix Speedfreq-SMI call that clobbers ECX
I have found that using SMI to change the cpu's frequency on my DELL
Latitude L400 clobbers the ECX register in speedstep_set_state, causing
unneccessary retries because the "state" variable has changed silently (GCC
assumes it is still present in ECX).

play safe and avoid gcc caching any register across IO port accesses
that trigger SMIs.

Signed-off by: <Stephan.Diestelhorst@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-03-26 22:23:40 +01:00
..
cpufreq x86, cpufreq: fix Speedfreq-SMI call that clobbers ECX 2008-03-26 22:23:40 +01:00
mcheck x86: sparse warning in therm_throt.c 2008-02-09 23:24:08 +01:00
mtrr x86: convert mtrr/generic.c to kernel-doc 2008-03-26 22:23:40 +01:00
addon_cpuid_features.c x86: add set/clear_cpu_cap operations 2008-01-30 13:30:55 +01:00
amd.c x86: fix bootup crash in native_read_tsc() 2008-02-02 10:00:26 +11:00
bugs.c remove mca-pentium 2008-02-19 16:18:28 +01:00
centaur.c spelling fixes: arch/i386/ 2007-10-20 01:13:56 +02:00
common.c x86: fix boot failure on 486 due to TSC breakage 2008-02-26 12:56:04 +01:00
cpu.h x86: add cpu init function defintions to cpu.h 2008-02-04 16:48:04 +01:00
cyrix.c calibrate_delay() must be __cpuinit 2008-02-06 10:41:08 -08:00
feature_names.c x86: unify CPU feature string names 2008-02-04 16:48:00 +01:00
intel_cacheinfo.c x86: fix sparse warnings in intel_cacheinfo.c 2008-01-31 22:05:43 +01:00
intel.c x86: add include to cpu/intel.c 2008-02-04 16:48:04 +01:00
Makefile x86: unify CPU feature string names 2008-02-04 16:48:00 +01:00
nexgen.c i386: move kernel/cpu 2007-10-11 11:16:58 +02:00
perfctr-watchdog.c x86: nuke a ton of unused exports 2008-01-30 13:30:28 +01:00
proc.c x86: unify CPU feature string names 2008-02-04 16:48:00 +01:00
transmeta.c x86: do not promote TM3x00/TM5x00 to i686-class 2008-02-26 12:55:50 +01:00
umc.c i386: move kernel/cpu 2007-10-11 11:16:58 +02:00