]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - arch/x86/include/asm/tsc.h
x86/tsc: Add option that TSC on Socket 0 being non-zero is valid
authormike.travis@hpe.com <mike.travis@hpe.com>
Thu, 12 Oct 2017 16:32:02 +0000 (11:32 -0500)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 16 Oct 2017 20:50:36 +0000 (22:50 +0200)
commit341102c3ef29c33611586072363cf9982a8bdb77
tree3eb0e290e32b80153189269f92edf2e187c97a44
parentccb64941f375a6eb21b1b20136730eb7d1716068
x86/tsc: Add option that TSC on Socket 0 being non-zero is valid

Add a flag to indicate and process that TSC counters are on chassis
that reset at different times during system startup.  Therefore which
TSC ADJUST values should be zero is not predictable.

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: Andrew Banman <andrew.abanman@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/20171012163201.944370012@stormcage.americas.sgi.com
arch/x86/include/asm/tsc.h
arch/x86/kernel/tsc_sync.c