kernel-fxtec-pro1x/arch/i386/kernel/cpu
Juergen Beisert f25f64ed5b x86: Replace NSC/Cyrix specific chipset access macros by inlined functions.
Due to index register access ordering problems, when using macros a line
like this fails (and does nothing):

	setCx86(CX86_CCR2, getCx86(CX86_CCR2) | 0x88);

With inlined functions this line will work as expected.

Note about a side effect: Seems on Geode GX1 based systems the
"suspend on halt power saving feature" was never enabled due to this
wrong macro expansion. With inlined functions it will be enabled, but
this will stop the TSC when the CPU runs into a HLT instruction.
Kernel output something like this:
	Clocksource tsc unstable (delta = -472746897 ns)

This is the 3rd version of this patch.

 - Adding missed arch/i386/kernel/cpu/mtrr/state.c
	Thanks to Andres Salomon
 - Adding some big fat comments into the new header file
 	Suggested by Andi Kleen

AK: fixed x86-64 compilation

Signed-off-by: Juergen Beisert <juergen@kreuzholzen.de>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-22 11:03:38 -07:00
..
cpufreq x86: Replace NSC/Cyrix specific chipset access macros by inlined functions. 2007-07-22 11:03:38 -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: Tune AMD Fam10h/11h like K8 2007-07-22 11:03:38 -07:00
bugs.c [PATCH] i386: Clean up asm-i386/bugs.h 2007-05-02 19:27:12 +02: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.c [PATCH] i386: Implement X86_FEATURE_SYNC_RDTSC on i386 2007-05-02 19:27:20 +02:00
intel_cacheinfo.c i386: fix section mismatch warning in intel_cacheinfo 2007-07-21 18:37:12 -07: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: Reserve the right performance counter for the Intel PerfMon NMI watchdog 2007-07-21 18:37:08 -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