From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id AEA99A0568; Wed, 11 Mar 2020 11:05:40 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A6DDD1BFA5; Wed, 11 Mar 2020 11:05:39 +0100 (CET) Received: from huawei.com (szxga01-in.huawei.com [45.249.212.187]) by dpdk.org (Postfix) with ESMTP id 360682BAA for ; Wed, 11 Mar 2020 11:05:36 +0100 (CET) Received: from DGGEML403-HUB.china.huawei.com (unknown [172.30.72.57]) by Forcepoint Email with ESMTP id 67A3DB49014424A5A954; Wed, 11 Mar 2020 18:05:34 +0800 (CST) Received: from DGGEML502-MBX.china.huawei.com ([169.254.2.18]) by DGGEML403-HUB.china.huawei.com ([fe80::74d9:c659:fbec:21fa%31]) with mapi id 14.03.0439.000; Wed, 11 Mar 2020 18:05:25 +0800 From: Linhaifeng To: Jerin Jacob CC: Gavin Hu , "dev@dpdk.org" , "thomas@monjalon.net" , chenchanghu , xudingke , "Lilijun (Jerry)" , Honnappa Nagarahalli , Steve Capper , nd Thread-Topic: [PATCH v3] eal/arm64: fix rdtsc precise version Thread-Index: AQHV9slR/0TWzZxJVUC803HGPXO3OqhDKmAg Date: Wed, 11 Mar 2020 10:05:24 +0000 Message-ID: <4099DE2E54AFAD489356C6C9161D53339729FB75@DGGEML502-MBX.china.huawei.com> References: <4099DE2E54AFAD489356C6C9161D53339729F5D7@DGGEML502-MBX.china.huawei.com> In-Reply-To: Accept-Language: en-GB, zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.133.215.248] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-CFilter-Loop: Reflected Subject: Re: [dpdk-dev] [PATCH v3] eal/arm64: fix rdtsc precise version 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogSmVyaW4gSmFjb2IgW21h aWx0bzpqZXJpbmphY29ia0BnbWFpbC5jb21dDQo+IFNlbnQ6IFR1ZXNkYXksIE1hcmNoIDEwLCAy MDIwIDY6NDcgUE0NCj4gVG86IExpbmhhaWZlbmcgPGhhaWZlbmcubGluQGh1YXdlaS5jb20+DQo+ IENjOiBHYXZpbiBIdSA8R2F2aW4uSHVAYXJtLmNvbT47IGRldkBkcGRrLm9yZzsgdGhvbWFzQG1v bmphbG9uLm5ldDsNCj4gY2hlbmNoYW5naHUgPGNoZW5jaGFuZ2h1QGh1YXdlaS5jb20+OyB4dWRp bmdrZQ0KPiA8eHVkaW5na2VAaHVhd2VpLmNvbT47IExpbGlqdW4gKEplcnJ5KSA8amVycnkubGls aWp1bkBodWF3ZWkuY29tPjsgSG9ubmFwcGENCj4gTmFnYXJhaGFsbGkgPEhvbm5hcHBhLk5hZ2Fy YWhhbGxpQGFybS5jb20+OyBTdGV2ZSBDYXBwZXINCj4gPFN0ZXZlLkNhcHBlckBhcm0uY29tPjsg bmQgPG5kQGFybS5jb20+DQo+IFN1YmplY3Q6IFJlOiBbUEFUQ0ggdjNdIGVhbC9hcm02NDogZml4 IHJkdHNjIHByZWNpc2UgdmVyc2lvbg0KPiANCj4gT24gVHVlLCBNYXIgMTAsIDIwMjAgYXQgMzow OSBQTSBMaW5oYWlmZW5nIDxoYWlmZW5nLmxpbkBodWF3ZWkuY29tPiB3cm90ZToNCj4gPg0KPiA+ IEluIG9yZGVyIHRvIGdldCBtb3JlIGFjY3VyYXRlIHRoZSBjbnR2Y3RfZWwwIHJlYWRpbmcsIFNX IG11c3QgaW52b2tlDQo+ID4gaXNiIGFuZCBhcmNoX2NvdW50ZXJfZW5mb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