From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 9EEBC377E for ; Wed, 23 Aug 2017 15:57:33 +0200 (CEST) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Aug 2017 06:57:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,417,1498546800"; d="scan'208";a="121889956" Received: from smonroyx-mobl.ger.corp.intel.com (HELO [10.237.221.28]) ([10.237.221.28]) by orsmga004.jf.intel.com with ESMTP; 23 Aug 2017 06:57:31 -0700 To: Bruce Richardson 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> Cc: dev@dpdk.org, konstantin.ananyev@intel.com From: Sergio Gonzalez Monroy Message-ID: <3221201e-2e7f-f366-2b7b-cc60f140d01b@intel.com> Date: Wed, 23 Aug 2017 14:57:30 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: <20170823131707.GB13944@bricha3-MOBL3.ger.corp.intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit 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 13:57:34 -0000 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. Thanks, Sergio