From: Bruce Richardson Subject: Re: [PATCH 2/2] eal/x86: implement x86 specific tsc hz Date: Wed, 23 Aug 2017 15:03:46 +0100 Message-ID: <20170823140346.GA6672@bricha3-MOBL3.ger.corp.intel.com> References: <20170823124241.17552-1-sergio.gonzalez.monroy@intel.com> <20170823124241.17552-2-sergio.gonzalez.monroy@intel.com> <20170823131707.GB13944@bricha3-MOBL3.ger.corp.intel.com> <3221201e-2e7f-f366-2b7b-cc60f140d01b@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org, konstantin.ananyev@intel.com To: Sergio Gonzalez Monroy Return-path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id EF9B17D5A for ; Wed, 23 Aug 2017 16:03:50 +0200 (CEST) Content-Disposition: inline In-Reply-To: <3221201e-2e7f-f366-2b7b-cc60f140d01b@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Wed, Aug 23, 2017 at 02:57:30PM +0100, Sergio Gonzalez Monroy wrote: > On 23/08/2017 14:17, Bruce Richardson wrote: > > On Wed, Aug 23, 2017 at 01:42:41PM +0100, Sergio Gonzalez Monroy wrote: > > > First, try to use CPUID Time Stamp Counter and Nominal Core Crystal > > > Clock Information Leaf to determine the tsc hz on platforms that > > > supports it (does not require priviledge user). > > > > > > If the CPUID leaf is not available, then try to determine the tsc hz by > > > reading the MSR 0xCE (requires priviledge user). > > > > > > Default to the DPDK tsc hz estimation if both methods fail. > > > > > > Signed-off-by: Sergio Gonzalez Monroy > > > --- > > This patch depends on Jerin's previous set for getting the exact TSC > > frequency on different platforms, right? > > It does, I forgot to mention it. > > I'll send them apart as these patches are not really dependent. > Ok, the patches look good to me otherwise, so include my ack if re-sending. Series-Acked-by: Bruce Richardson