x86/tsc: Skip TSC test and error messages if already unstable
authormike.travis@hpe.com <mike.travis@hpe.com>
Thu, 12 Oct 2017 16:32:03 +0000 (11:32 -0500)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 16 Oct 2017 20:50:36 +0000 (22:50 +0200)
commit9514ececa52e9f1436e7682e98c852d1338b699f
treebe38c65678ea91067225e06be1a0aad2e5866392
parent341102c3ef29c33611586072363cf9982a8bdb77
x86/tsc: Skip TSC test and error messages if already unstable

If the TSC has already been determined to be unstable, then checking
TSC ADJUST values is a waste of time and generates unnecessary error
messages.

Signed-off-by: Mike Travis <mike.travis@hpe.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Dimitri Sivanich <dimitri.sivanich@hpe.com>
Reviewed-by: Russ Anderson <russ.anderson@hpe.com>
Reviewed-by: Peter Zijlstra <peterz@infradead.org>
Cc: Prarit Bhargava <prarit@redhat.com>
Cc: Andrew Banman <andrew.banman@hpe.com>
Cc: Bin Gao <bin.gao@linux.intel.com>
Link: https://lkml.kernel.org/r/20171012163202.060777495@stormcage.americas.sgi.com
arch/x86/kernel/tsc_sync.c