]> git.baikalelectronics.ru Git - kernel.git/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)
commit74d6863af3e8584d02f3698287a49f712fb59913
tree181c7fe62e4c392486a06380df4da870bfaa40bf
parente8da0e008f7939fa48700e68836af380e495c150
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