From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id A7106A054F; Mon, 15 Mar 2021 14:11:30 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 29F26242650; Mon, 15 Mar 2021 14:11:30 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 24CC34003C for ; Mon, 15 Mar 2021 14:11:27 +0100 (CET) IronPort-SDR: 6c7Ud/2CcYz/bSWZCq8RdTFXpAYOaS5qBzPmM5S3IEnq4NOvkkwRTwDGVzxCuKiL3StMpqAkIe OL0sxM+cldJQ== X-IronPort-AV: E=McAfee;i="6000,8403,9923"; a="274126036" X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="274126036" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Mar 2021 06:11:27 -0700 IronPort-SDR: awl/WdUVfJXXPjDqHEfuqVsfNISxQ6F3oiYG3QCzOYVw+EMAukbSrGEJdstTmyl5TZK4qCsgSN I25vGVclOWyg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,249,1610438400"; d="scan'208";a="601425108" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by fmsmga006.fm.intel.com with ESMTP; 15 Mar 2021 06:11:27 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Mon, 15 Mar 2021 06:11:26 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2 via Frontend Transport; Mon, 15 Mar 2021 06:11:26 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.173) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2106.2; Mon, 15 Mar 2021 06:11:09 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Zw56/yIUZ8tvW5yxUQ8BMvxXENesfbpjf83HVVlwmg50DA31n1ssMbTASVcRtd7XP9aGHbyYRrUBGepjg1v6BuIQ27P98meYChAuOrK/CNTtaRcr4GTjqXhw0xy96VJKBsOT1/Hf1w28Ue53NJ0asR+dECCFfvXlfdYQy8OdaggNmSupj92KBYFyI/b7zRebJCb62kTn3ttF1H2P7isTMPuzpTf5o4w3Mu8WKkBbGZL+FExPSop71M6m7d16nzxisoIhW44W1ACLUY8SB5cFm18clcZV/L6vXTvTudMGvExSzxJy/9g6jPHEmj8chDmtG/WxinQuzTJeFUgAlJb4OQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DmNHoIBq9HNd4tVxzHLROkHS9ACSlASDgvyoJbNSsXE=; b=eBItbxwwlXg5iJVDRDUsei8Yjfte2m8xoeb74APoapHZDghb5qwIdaOK8+BjqVMZsyRNI0sVEx68c+v7IxdL0oOE9gmAVM1U38patf/CqWfe8zTd5t47UGegTfxwMGqKXgEW15BnCvPmz7yzPx8d8cfbFPUg0ziLB7IgMuWfAVP8YQegGQdhd3me7H8RVicovRolNy9myh5fSus95HHaGKyp+bMQU6UTb9galxfb+iZQcjMr0pascU+TWWNhFuqO7v9yfxJSx85FgldDC122ZA48KyHbgZthwDMUUaz0vPxh+ZBcsGhI6rEfSVdjhtrQB1EAk7mx0dAcSLY55w9MvA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DmNHoIBq9HNd4tVxzHLROkHS9ACSlASDgvyoJbNSsXE=; b=EMiNOefqDJWnK4Z5ZiiE+4SW5RD/6eM9aEJNrdeE+7K/EaL1UyielyQcueLNBOOyqwUQCaJFmmIksgmCGyoPcTpCkD+xhdCe8J1kuEQUaeUyeRbhCoGc/vVwvXiUWIgb51v2W++//cWEm8sp4Ug0Gkmb96srQsHfF6wNwPnZ6ws= Received: from BN8PR11MB3795.namprd11.prod.outlook.com (2603:10b6:408:82::31) by BN9PR11MB5290.namprd11.prod.outlook.com (2603:10b6:408:137::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3933.31; Mon, 15 Mar 2021 13:11:07 +0000 Received: from BN8PR11MB3795.namprd11.prod.outlook.com ([fe80::ec6a:25a8:8c59:89e]) by BN8PR11MB3795.namprd11.prod.outlook.com ([fe80::ec6a:25a8:8c59:89e%2]) with mapi id 15.20.3933.032; Mon, 15 Mar 2021 13:11:06 +0000 From: "Wang, Haiyue" To: David Marchand , =?utf-8?B?6LCi5Y2O5LyfKOatpOaXtuatpOWIu++8iQ==?= CC: "maxime.coquelin@redhat.com" , "Yigit, Ferruh" , "dev@dpdk.org" , "Burakov, Anatoly" , "xuemingl@nvidia.com" , "grive@u256.net" Thread-Topic: [dpdk-dev] [PATCH v11 2/2] bus/pci: support MMIO in PCI ioport accessors Thread-Index: AQHXFdQiqVms6S1ewkOA7LqcDloksqp+T+4QgAaNzoCAAC+iAA== Date: Mon, 15 Mar 2021 13:11:06 +0000 Message-ID: References: <1614797225-114594-1-git-send-email-huawei.xhw@alibaba-inc.com> <1615397790-16169-1-git-send-email-huawei.xhw@alibaba-inc.com> <1615397790-16169-3-git-send-email-huawei.xhw@alibaba-inc.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.6.0.76 authentication-results: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.198.147.207] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a65df9a3-9657-4f39-a1e2-08d8e7b3cb48 x-ms-traffictypediagnostic: BN9PR11MB5290: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4502; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: mrYPbSSjy0mVFhUWlYxUijRrkSJK0uLUljjWNTgbRbM9Vh8qanyUqtNa4MWur2t8gr6H9o49Aol6WkPbzxghVzJ88pzXpJ3Eyqor/mB3vg8MS+vf/zITwH1oYuuuwvmvDS5DBgKRPqfJa+yBwPO5HbJFLkHSS2isIHrvqfnGX/+X0u+feqsKTNMMUOiQwT9138xB3/woRZ9sjPI8/lhhoHqMfgYGUn0p+bPU1KRxXxPDVz29l/rZjA2VHJtCByyVHLv12443BKv8s/TPC/4uW1fTnP9U8+wkNPSoHz4HnxkyiIfW+TupvbjaJ9yM/Kq12ygFK2KFtsH19ClfazefXi9tha6EUESm4pStOprT56L6ZAbH2ghWuZ+E12H8/aEZABzyS+6Qe8B9znkyqVJDCe2inYfdefe7Wqyd4G4HqLL+FUfbZNvWFiQNnhihNDPrhVq7OI54x8aP2gL+58fMBi+35WWu7LtnFLn4JeYW7H+L6du0rRipo8gOBf77ceFEcm3XWSIJnet7aOQTwgejzxWn9GEfdVwYNxzz3R6AVvPToOudsbGUG9lOcT1MNuLgp6BcMsO4YidP80TCg3y1DQ2EBRrN18Cr5vLx6gXoe2nGXBbHUmbXUIfOJ6kE2Omrv6w0Uv77ok/FWPrH6VwiHg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN8PR11MB3795.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(396003)(376002)(39860400002)(136003)(366004)(346002)(76116006)(66946007)(83380400001)(52536014)(66556008)(186003)(5660300002)(110136005)(66446008)(64756008)(66476007)(26005)(86362001)(71200400001)(54906003)(966005)(478600001)(4326008)(8936002)(316002)(8676002)(53546011)(33656002)(2906002)(7696005)(6506007)(55016002)(9686003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?utf-8?B?Ujlud0drSzR2bklmVjUwcEYveU93cUp6TWUyYWhOMVovUzZodzJGakUyV1Mx?= =?utf-8?B?azJyWWRIc3dFSk5rT0pkakdLK0k0VHdwRHdtSmpaVzAvVHhzRDNVMDhNR1or?= =?utf-8?B?L1AyVkx5TDVKVmN0eWJhL2UrcEZGMndmOVFrTGkrVG8rL0NqUzU1VnM3Y2l1?= =?utf-8?B?ZUV6L2wzb3FUL3MyTUhvQ294bHNJUUZRdlFNczRzQkhCMDMyUGkyei9ZaEY1?= =?utf-8?B?QnhRMWNuRWNQRjZMTU5QcDQ1K1lCWHhSTWpGbDVpRmZIUFlyN2ZXSWFxOXFQ?= =?utf-8?B?MndQUEo1eEovQVg2cWRDZlRRb3lFSjNaWGVQT2hNNUdOQVZ0SGoxTUNEZDJt?= =?utf-8?B?d2VSMzBFTkNLYlNzd3VRM2lhb3VuZmxwdXhwSjN0SXJRclBTZ2c5WHRoelcw?= =?utf-8?B?S1VqZ2hqQjQ1Nm9uU2g2SUgxaElQTG1lK0REdEpsTWdsSE5kOXFiclpvbnVl?= =?utf-8?B?S2E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L0tY?= =?utf-8?B?aUg4NURleUpYY0FwNk8xcW1xMGE5Mng0bEo2b0gwaXNhY3g0QkZEUi9kam5L?= =?utf-8?B?ZEZZSVF6WWNtSmtFaEFVQVZaK2k0UzQzeXVGTThLTlR5QTY0NmZqSFoxV0Iy?= =?utf-8?B?SUJ6d0ttNi9LQmNJWW10VHU5bElFaXlZSVBVZitlWHBQajVRaHBrMmgvRzZ6?= =?utf-8?B?d3hkOVpXQjRiSXVPYjUvSldtNEhiM1F5bnRkYWRiTFJKOE5xbTJ4WWZHb3hm?= =?utf-8?B?SUUwK1BmeUJoQmFHK1dDMmxob0RrRDJuQllKNTA4eWNiRWpBY3VPY1VTVTFv?= =?utf-8?B?YWJpeGtZcnZlR2dJNzVZU2doNFBNVWtLbzFBMkpuSHJQbTdmdzFINzFaQUV0?= =?utf-8?Q?OByEmsaLWEjNQjohTOoE4rL+TEaEX4iNM5Qzc8K?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BN8PR11MB3795.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a65df9a3-9657-4f39-a1e2-08d8e7b3cb48 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Mar 2021 13:11:06.7522 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: JhwHfwe1dxfNno9RY2Y/FoNcoI9O8yG1di2u5tgnaEzt7ZimGw+m6sftYsf6MmABQaXuKt9TZ1O0BCaEaIj72Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN9PR11MB5290 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v11 2/2] bus/pci: support MMIO in PCI ioport accessors X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBEYXZpZCBNYXJjaGFuZCA8ZGF2 aWQubWFyY2hhbmRAcmVkaGF0LmNvbT4NCj4gU2VudDogTW9uZGF5LCBNYXJjaCAxNSwgMjAyMSAx ODoyMA0KPiBUbzogV2FuZywgSGFpeXVlIDxoYWl5dWUud2FuZ0BpbnRlbC5jb20+OyDosKLljY7k vJ8o5q2k5pe25q2k5Yi777yJIDxodWF3ZWkueGh3QGFsaWJhYmEtaW5jLmNvbT4NCj4gQ2M6IG1h eGltZS5jb3F1ZWxpbkByZWRoYXQuY29tOyBZaWdpdCwgRmVycnVoIDxmZXJydWgueWlnaXRAaW50 ZWwuY29tPjsgZGV2QGRwZGsub3JnOyBCdXJha292LCBBbmF0b2x5DQo+IDxhbmF0b2x5LmJ1cmFr b3ZAaW50ZWwuY29tPjsgeHVlbWluZ2xAbnZpZGlhLmNvbTsgZ3JpdmVAdTI1Ni5uZXQNCj4gU3Vi amVjdDogUmU6IFtkcGRrLWRldl0gW1BBVENIIHYxMSAyLzJdIGJ1cy9wY2k6IHN1cHBvcnQgTU1J TyBpbiBQQ0kgaW9wb3J0IGFjY2Vzc29ycw0KPiANCj4gT24gVGh1LCBNYXIgMTEsIDIwMjEgYXQg Nzo0MyBBTSBXYW5nLCBIYWl5dWUgPGhhaXl1ZS53YW5nQGludGVsLmNvbT4gd3JvdGU6DQo+ID4g TGlrZSBrZXJuZWwgdXNlIG1hY3JvIHRvIGRvIHBpbyBhbmQgbW1pbywgbWF5YmUgd2UgY2FuIGFs c28gdG8gZG8gc28gZm9yDQo+ID4gbWFraW5nIGNvZGUgY2xlYW46DQo+ID4NCj4gPiBodHRwczov L2dpdC5rZXJuZWwub3JnL3B1Yi9zY20vbGludXgva2VybmVsL2dpdC90b3J2YWxkcy9saW51eC5n aXQvdHJlZS9saWIvaW9tYXAuYw0KPiA+DQo+ID4gI2RlZmluZSBJT19DT05EKGFkZHIsIGlzX3Bp bywgaXNfbW1pbykgZG8geyAgICAgICAgICAgICAgICAgICAgIFwNCj4gPiAgICAgICAgIHVuc2ln bmVkIGxvbmcgcG9ydCA9ICh1bnNpZ25lZCBsb25nIF9fZm9yY2UpYWRkcjsgICAgICAgXA0KPiA+ ICAgICAgICAgaWYgKHBvcnQgPj0gUElPX1JFU0VSVkVEKSB7ICAgICAgICAgICAgICAgICAgICAg ICAgICAgICBcDQo+ID4gICAgICAgICAgICAgICAgIGlzX21taW87ICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgIFwNCj4gPiAgICAgICAgIH0gZWxzZSBpZiAocG9ydCA+IFBJ T19PRkZTRVQpIHsgICAgICAgICAgICAgICAgICAgICAgICAgXA0KPiA+ICAgICAgICAgICAgICAg ICBwb3J0ICY9IFBJT19NQVNLOyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcDQo+ID4g ICAgICAgICAgICAgICAgIGlzX3BpbzsgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgIFwNCj4gPiAgICAgICAgIH0gZWxzZSAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgXA0KPiA+ICAgICAgICAgICAgICAgICBiYWRfaW9fYWNjZXNz KHBvcnQsICNpc19waW8gKTsgICAgICAgICAgICAgICAgICBcDQo+ID4gfSB3aGlsZSAoMCkNCj4g Pg0KPiA+DQo+ID4gTGlrZToNCj4gPg0KPiA+ICNpZiBkZWZpbmVkKFJURV9BUkNIX1g4NikNCj4g PiAjZGVmaW5lIElPX0NPTkQoYWRkciwgaXNfcGlvLCBpc19tbWlvKSBkbyB7ICAgICAgICAgICBc DQo+ID4gICAgICAgICBpZiAoKHVpbnQ2NF90KSh1aW50cHRyX3QpYWRkciA+PSBQSU9fTUFYKSB7 ICAgXA0KPiA+ICAgICAgICAgICAgICAgICBpc19tbWlvOyAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgIFwNCj4gPiAgICAgICAgIH0gZWxzZSB7ICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICBcDQo+ID4gICAgICAgICAgICAgICAgIGlzX3BpbzsgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgXA0KPiA+ICAgICAgICAgfSAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgIFwNCj4gPiB9IHdoaWxlICgwKQ0KPiA+ICNlbHNlDQo+ID4gI2Rl ZmluZSBJT19DT05EKGFkZHIsIGlzX3BpbywgaXNfbW1pbykgZG8geyAgICAgICAgICAgXA0KPiA+ ICAgICAgICAgICAgICAgICBpc19tbWlvOyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFwN Cj4gPiB9IHdoaWxlICgwKQ0KPiA+ICNlbmRpZg0KPiANCj4gV2Ugc2hvdWxkIG5vdCBqdXN0IGNv cHkvcGFzdGUga2VybmVsIGNvZGUuDQo+IA0KDQpHb3QgaXQgOy0pDQoNCj4gDQo+IA0KPiAtLQ0K PiBEYXZpZCBNYXJjaGFuZA0KDQo=