linux/arch/i386/kernel/cpu
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
..
cpufreq [PATCH] i386: inline asm cleanup 2005-09-05 00:06:11 -07:00
mcheck [PATCH] suspend/resume SMP support 2005-06-25 16:24:32 -07:00
mtrr [PATCH] MTRR suspend/resume cleanup 2005-07-07 18:23:42 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
amd.c [PATCH] x86_64: 386/x86-64 Further AMD dual core fixes 2005-05-20 15:48:20 -07:00
centaur.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
changelog Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
common.c [PATCH] i386: inline asm cleanup 2005-09-05 00:06:11 -07:00
cpu.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cyrix.c [PATCH] i386: inline asm cleanup 2005-09-05 00:06:11 -07:00
intel.c [PATCH] mostly_read data section 2005-07-07 18:23:46 -07:00
intel_cacheinfo.c [PATCH] x86: Add the check for all the cores in a package in cache information 2005-09-05 00:06:10 -07:00
nexgen.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
proc.c [PATCH] x86: cpu_khz type fix 2005-06-23 09:45:11 -07:00
rise.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
transmeta.c [PATCH] transmeta: CONFIG_PROC_FS=n build fix 2005-08-01 21:38:00 -07:00
umc.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00