Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753395AbcKARIo (ORCPT ); Tue, 1 Nov 2016 13:08:44 -0400 Received: from mga04.intel.com ([192.55.52.120]:39161 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751011AbcKARIm (ORCPT ); Tue, 1 Nov 2016 13:08:42 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,580,1473145200"; d="scan'208";a="186391606" From: Bin Gao To: Thomas Gleixner , Ingo Molnar , H Peter Anvin , x86@kernel.org Cc: Peter Zijlstra , linux-kernel@vger.kernel.org, Bin Gao Subject: [PATCH 0/2] x86/tsc: split X86_FEATURE_TSC_RELIABLE into two Date: Tue, 1 Nov 2016 10:14:40 -0700 Message-Id: <1478020482-231459-1-git-send-email-bin.gao@intel.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 762 Lines: 19 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