linux/arch/i386/kernel/cpu/cpufreq
Zachary Amsden 4bb0d3ec3e [PATCH] i386: inline asm cleanup
i386 Inline asm cleanup.  Use cr/dr accessor functions.

Also, a potential bugfix.  Also, some CR accessors really should be volatile.
Reads from CR0 (numeric state may change in an exception handler), writes to
CR4 (flipping CR4.TSD) and reads from CR2 (page fault) prevent instruction
re-ordering.  I did not add memory clobber to CR3 / CR4 / CR0 updates, as it
was not there to begin with, and in no case should kernel memory be clobbered,
except when doing a TLB flush, which already has memory clobber.

I noticed that page invalidation does not have a memory clobber.  I can't find
a bug as a result, but there is definitely a potential for a bug here:

#define __flush_tlb_single(addr) \
	__asm__ __volatile__("invlpg %0": :"m" (*(char *) addr))

Signed-off-by: Zachary Amsden <zach@vmware.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-09-05 00:06:11 -07:00
..
acpi-cpufreq.c [ACPI] Always set P-state on initialization 2005-07-29 18:29:47 -04:00
cpufreq-nforce2.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
elanfreq.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gx-suspmod.c [PATCH] PCI: clean up dynamic pci id logic 2005-07-01 13:35:50 -07:00
Kconfig [CPUFREQ] AMD Elan SC520 cpufreq driver. 2005-05-31 19:03:45 -07:00
longhaul.c [PATCH] i386: inline asm cleanup 2005-09-05 00:06:11 -07:00
longhaul.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
longrun.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile [CPUFREQ] AMD Elan SC520 cpufreq driver. 2005-05-31 19:03:45 -07:00
p4-clockmod.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
powernow-k6.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
powernow-k7.c [PATCH] get rid of redundant NULL checks before kfree() in arch/i386/ 2005-06-25 16:25:00 -07:00
powernow-k7.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
powernow-k8.c arch/i386/kernel/cpu/cpufreq/powernow-k8.c: In function `powernow_k8_cpu_init_acpi': 2005-07-29 12:55:40 -07:00
powernow-k8.h Fix up powernow-k8 compile. (Missing definitions). 2005-07-29 09:56:41 -07:00
sc520_freq.c [CPUFREQ] AMD Elan SC520 cpufreq driver. 2005-05-31 19:03:45 -07:00
speedstep-centrino.c [ACPI] enable C2 and C3 idle power states on SMP 2005-07-12 00:14:36 -04:00
speedstep-est-common.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
speedstep-ich.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
speedstep-lib.c [CPUFREQ] Typos. 2005-05-31 19:03:52 -07:00
speedstep-lib.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
speedstep-smi.c [CPUFREQ] speedstep-smi: it works on at least one P4M 2005-05-31 19:03:44 -07:00