]> git.karo-electronics.de Git - karo-tx-linux.git/commit
x86/tsc: Remove the TSC_ADJUST clamp
authorPeter Zijlstra <peterz@infradead.org>
Wed, 31 May 2017 15:52:04 +0000 (17:52 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 4 Jun 2017 19:55:53 +0000 (21:55 +0200)
commit855615eee9b1989cac8ec5eaae4562db081a239b
tree9aedea64e6cadd4846e811d272f4d737092f1208
parentbd9240a18edfbfa72e957fc2ba831cf1f13ea073
x86/tsc: Remove the TSC_ADJUST clamp

Now that all affected platforms have a microcode update; and we check
this and disable TSC_DEADLINE and print a microcode revision update
error if its too old, we can remove the TSC_ADJUST clamp.

This should help with systems where the second socket runs ahead of
the first socket and needs a negative adjustment. In this case we'd
hit the 0 clamp and give up for not achieving synchronization.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: kevin.b.stanton@intel.com
Link: http://lkml.kernel.org/r/20170531155306.100950003@infradead.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/tsc_sync.c