]> err.no Git - linux-2.6/commit
x86: Implement support to synchronize RDTSC with LFENCE on Intel CPUs
authorAndi Kleen <ak@suse.de>
Wed, 30 Jan 2008 12:32:37 +0000 (13:32 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:32:37 +0000 (13:32 +0100)
commit707fa8ed923b1b6a3d7af0d386b0b3abad28ed19
tree181c7fe62e4c392486a06380df4da870bfaa40bf
parentde4218634e3df6d73a3e6cdfdf3a17fa3bc7e013
x86: Implement support to synchronize RDTSC with LFENCE on Intel CPUs

According to Intel RDTSC can be always synchronized with LFENCE
on all current CPUs. Implement the necessary CPUID bit for that.

It is unclear yet if that is true for all future CPUs too,
but if there's another way the kernel can be always updated.

Cc: asit.k.mallick@intel.com
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/cpu/intel.c
arch/x86/kernel/setup_64.c
include/asm-x86/cpufeature.h