[PATCH 0/2] x86/tsc: split X86_FEATURE_TSC_RELIABLE into two

From: Bin Gao
Date: Tue Nov 01 2016 - 13:08:48 EST


This patch series split X86_FEATURE_TSC_RELIABLE into two separate
flags: X86_FEATURE_TSC_RELIABLE and X86_FEATURE_TSC_KNOWN_FREQ.
This change allows us to redefine TSC features at fine granularity.
This is driven by certain Intel processors/SoCs with frequency-known
TSC so the whole calibration stuff should be skipped.

Bin Gao (2):
x86/tsc: add X86_FEATURE_TSC_KNOWN_FREQ flag
x86: use KNOWN_FREQ and RELIABLE TSC flags on certain processors/SoCs

arch/x86/include/asm/cpufeatures.h | 1 +
arch/x86/kernel/tsc.c | 15 ++++++++++++---
arch/x86/kernel/tsc_msr.c | 4 ++++
arch/x86/platform/intel-mid/mfld.c | 5 +++--
arch/x86/platform/intel-mid/mrfld.c | 4 ++--
5 files changed, 22 insertions(+), 7 deletions(-)

--
1.9.1