From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Aug 2017 07:03:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,417,1498546800"; d="scan'208";a="1006844120" Received: from bricha3-mobl3.ger.corp.intel.com ([10.237.221.24]) by orsmga003.jf.intel.com with SMTP; 23 Aug 2017 07:03:47 -0700 Received: by (sSMTP sendmail emulation); Wed, 23 Aug 2017 15:03:46 +0100 Date: Wed, 23 Aug 2017 15:03:46 +0100 From: Bruce Richardson To: Sergio Gonzalez Monroy Cc: dev@dpdk.org, konstantin.ananyev@intel.com 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 Content-Disposition: inline In-Reply-To: <3221201e-2e7f-f366-2b7b-cc60f140d01b@intel.com> Organization: Intel Research and =?iso-8859-1?Q?De=ACvel?= =?iso-8859-1?Q?opment?= Ireland Ltd. User-Agent: Mutt/1.8.3 (2017-05-23) Subject: Re: [dpdk-dev] [PATCH 2/2] eal/x86: implement x86 specific tsc hz X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Aug 2017 14:03:51 -0000 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