]> git.karo-electronics.de Git - linux-beck.git/commit
x86/tsc: Prepare warp test for TSC adjustment
authorThomas Gleixner <tglx@linutronix.de>
Sat, 19 Nov 2016 13:47:41 +0000 (13:47 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 29 Nov 2016 18:23:18 +0000 (19:23 +0100)
commit76d3b85158509cafec5be7675a97ef80118e288e
tree1f4af132f51b4e9cd07795e59adba740c27bf863
parent4c5e3c63752162262c42424147f319b8571a20af
x86/tsc: Prepare warp test for TSC adjustment

To allow TSC compensation cross nodes its necessary to know in which
direction the TSC warp was observed. Return the maximum observed value on
the calling CPU so the caller can determine the direction later.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Ingo Molnar <mingo@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Link: http://lkml.kernel.org/r/20161119134017.970859287@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/tsc_sync.c