From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 29146C33CAA for ; Tue, 21 Jan 2020 15:24:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0073B2465A for ; Tue, 21 Jan 2020 15:24:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729199AbgAUPYl (ORCPT ); Tue, 21 Jan 2020 10:24:41 -0500 Received: from mga06.intel.com ([134.134.136.31]:50642 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727508AbgAUPYl (ORCPT ); Tue, 21 Jan 2020 10:24:41 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Jan 2020 07:24:40 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,346,1574150400"; d="scan'208";a="220949034" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by fmsmga007.fm.intel.com with ESMTP; 21 Jan 2020 07:24:37 -0800 Received: from andy by smile with local (Exim 4.93) (envelope-from ) id 1itvOL-0007Xj-PW; Tue, 21 Jan 2020 17:24:33 +0200 Date: Tue, 21 Jan 2020 17:24:33 +0200 From: Andy Shevchenko To: Vipul Kumar Cc: Daniel Lezcano , Thomas Gleixner , linux-kernel@vger.kernel.org, Stable , Srikanth Krishnakar , Cedric Hombourger , x86@kernel.org, Bin Gao , Len Brown , Vipul Kumar Subject: Re: [v3] x86/tsc: Unset TSC_KNOWN_FREQ and TSC_RELIABLE flags on Intel Bay Trail SoC Message-ID: <20200121152433.GW32742@smile.fi.intel.com> References: <1579617717-4098-1-git-send-email-vipulk0511@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1579617717-4098-1-git-send-email-vipulk0511@gmail.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 21, 2020 at 08:11:57PM +0530, Vipul Kumar wrote: > From: Vipul Kumar > > commit f3a02ecebed7 ("x86/tsc: Set TSC_KNOWN_FREQ and TSC_RELIABLE > flags on Intel Atom SoCs"), is setting TSC_KNOWN_FREQ and TSC_RELIABLE > flags for Soc's which is causing time drift on Valleyview/Bay trail Soc. > > This patch introduces a new macro to skip these flags. I guess commit message still needs to provide the measurements for the both with and without the option being selected. -- With Best Regards, Andy Shevchenko