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 2991C42BCC; Mon, 29 May 2023 08:16:17 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1A414427E9; Mon, 29 May 2023 08:16:17 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 058AE40A4B for ; Mon, 29 May 2023 08:16:14 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34SMvEIU031127; Sun, 28 May 2023 23:16:13 -0700 Received: from nam04-bn8-obe.outbound.protection.outlook.com (mail-bn8nam04lp2045.outbound.protection.outlook.com [104.47.74.45]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3quf7pd7mk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 28 May 2023 23:16:12 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=g9X9w8DE6fY5s7aCOFK9UGUW2Sy8EPSdMYUYYPlWLxzeIB0EgBGS6ul2Yotsr8qPpBKGHfwgmn96qp4MRkr2OSPfnSvzBdwWnZ4yJHbhJbUJQiUBLAhPnsnVJ7ejic3NeS5YAIMcy26rBEByjzUisqMVjySHxd4wabofqUNo8GtI58CbcikwsXkgNwPQD2CPIpkHsm7zjaswzmRtm+WhDSTh2T2sBRG4maIjSCawSPakCveYhobVrUuiK2lZ7kW3XXPKEbQe/8KaqKlkYzVMTGUABGD1w3ijvoBPXJ2idmajYrJFE2JIwrkjZS5zf9Cmf80aOKStyqLn7FkRxE8UkQ== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=p9EwJ41RK+MnogKHKCXLfW9Wf3i6KIOmWrUvtUkSqhs=; b=D6keuNWSlasmmOZ6HeLU4AqNwkyG7NlX/wZEbrEZBGqH4vQXdXUS0sGUfehuOjqnBrqpiJOtlUfNLtWNBBM3jwIFCAzKtSlTQ7GWceQnOSF0wqzFj8sltWwTdJFjdTcixwjdCzN81aZ/YzMcKGGng8F1bpWdXrgSa4vsghBGza9/oz87Tk5Op6BKUg3q+hUdQsBDSJHMY4GLhdHiY4x8tMzvZI5yG4910/xDYM+GIkE/OjzcRG3ZD63LiZqeRIKX06rzALMd2+DRKj4anRPuKXU0UnmCHSHISWS/fq1YHiZoy3lyc93QBl6ZLZUBPhmOqDHM8ejPr9deCnFlPxSmQg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=p9EwJ41RK+MnogKHKCXLfW9Wf3i6KIOmWrUvtUkSqhs=; b=BLWs2u2enYZMoEj0+N+SFcrvtQiCYEtHKq7Wsgthy0ge0paOZCps9UOm9rJ8RYIzdM4pH5Qx3aH3iLRYwKrIsa+iXTEqNPQDXBK0RiwfjCyuADUw3WwWaFICxEYPNLDIamE6GTqQutP0CDG0JEjUpq1nyt9EGiz8sY4HRThN/pU= Received: from CO6PR18MB3860.namprd18.prod.outlook.com (2603:10b6:5:34d::12) by MW3PR18MB3596.namprd18.prod.outlook.com (2603:10b6:303:5a::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6433.22; Mon, 29 May 2023 06:16:10 +0000 Received: from CO6PR18MB3860.namprd18.prod.outlook.com ([fe80::6ee0:5adc:6008:b4e9]) by CO6PR18MB3860.namprd18.prod.outlook.com ([fe80::6ee0:5adc:6008:b4e9%6]) with mapi id 15.20.6433.022; Mon, 29 May 2023 06:16:10 +0000 From: Sunil Kumar Kori To: Miao Li , "dev@dpdk.org" CC: "thomas@monjalon.net" , "david.marchand@redhat.com" , "ferruh.yigit@amd.com" , "chenbo.xia@intel.com" , "yahui.cao@intel.com" , Anatoly Burakov Subject: RE: [EXT] [PATCH v3 3/4] bus/pci: introduce helper for MMIO read and write Thread-Topic: [EXT] [PATCH v3 3/4] bus/pci: introduce helper for MMIO read and write Thread-Index: AQHZjt8PnCrB7+osrESBH3EzLImA369wzELA Date: Mon, 29 May 2023 06:16:10 +0000 Message-ID: References: <20230515094124.722431-1-miao.li@intel.com> <20230525163116.682000-1-miao.li@intel.com> <20230525163116.682000-4-miao.li@intel.com> In-Reply-To: <20230525163116.682000-4-miao.li@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-dg-rorf: true x-dg-ref: =?us-ascii?Q?PG1ldGE+PGF0IG5tPSJib2R5LnR4dCIgcD0iYzpcdXNlcnNcc2tvcmlcYXBw?= =?us-ascii?Q?ZGF0YVxyb2FtaW5nXDA5ZDg0OWI2LTMyZDMtNGE0MC04NWVlLTZiODRiYTI5?= =?us-ascii?Q?ZTM1Ylxtc2dzXG1zZy00YTA5MzZkMi1mZGU4LTExZWQtYjZjOC1mODc1YTQx?= =?us-ascii?Q?YWM1ZDJcYW1lLXRlc3RcNGEwOTM2ZDQtZmRlOC0xMWVkLWI2YzgtZjg3NWE0?= =?us-ascii?Q?MWFjNWQyYm9keS50eHQiIHN6PSIxNDQ2IiB0PSIxMzMyOTgxNDU2NDQ4MTA5?= =?us-ascii?Q?NzEiIG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?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQVFBQUFBQUFBQUFDQUFBQUFBQ2VB?= =?us-ascii?Q?QUFBYlFCaEFISUFkZ0JsQUd3QWJBQmZBSFFBWlFCeUFHMEFhUUJ1QUhVQWN3?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUJBQUFBQUFBQUFBSUFBQUFBQUo0QUFBQnRBR0VBY2dCMkFH?= =?us-ascii?Q?VUFiQUJzQUY4QWR3QnZBSElBWkFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFFQUFB?= =?us-ascii?Q?QUFBQUFBQWdBQUFBQUEiLz48L21ldGE+?= x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CO6PR18MB3860:EE_|MW3PR18MB3596:EE_ x-ms-office365-filtering-correlation-id: feed7781-e645-4a35-7254-08db600c325d x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: SUKcG1dpkoOKDL/vxB2eX/TbiY+PAiBJK39kR3qx/GXkP0J17oAjZH9OP5KedKNkk9Zh1qedZV0sNxTqdBfbk4Yl8a3bJH/2FLBvkvueHdJPkVXDfWYR+C/xkAtYvsx2eOJ31E7SQc7j2ETdMKLu1teNAhXaW7Klzfuw06JLZZZD9bfufYUszFqf2ozdK28TlNFkKoBMtb8Ev7YooRZP3Ccj/59KzYJlliYdWlgq5JEVGd6UqeVAonV6TVj0jlsN/q/NR5lPKl2tb0jTYHtyQTW5i1oseGu1a81ec8eVcNE1GowX+r8aVHsYNcFC5lLVj6SpCc9R7+JLXPQKugUk/PiJE/f/o+9RRMFeJdNweFoL2nJTfkk2J7bqIoR48VSwH4GOYqJm4PhtZNXkyy3Mcysgszpv+InXy7h9ypnrRyvoEaAa+xaAP9DQAXYb/THG0tzIyVgNL/Bt5pkrINJ4+A8npUXg7x00iexYWuPOYl5vvYsw2ufTCEMg3lvg60KRykeOtlWgDAU1v6Ex3DEvK/mx/eSzgLSQZWuro3YvZV8iV8UHvJtTvY+tXRqEQhEdaRYm/Va/Z3fj54PFH+9iEGffsJAtKQ5W5BCS7PKk6rfDv1k8seNLK0tsGC9VaViX x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB3860.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(366004)(396003)(136003)(346002)(39860400002)(376002)(451199021)(38070700005)(6506007)(9686003)(186003)(2906002)(53546011)(54906003)(110136005)(478600001)(26005)(83380400001)(86362001)(7696005)(122000001)(8676002)(41300700001)(38100700002)(8936002)(55016003)(5660300002)(66946007)(76116006)(64756008)(66446008)(66476007)(66556008)(316002)(71200400001)(33656002)(52536014)(4326008); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?5GGjUAgwPE/DSi+8ydGHOcWf9QDz+3audwup0CMhDMwxeuC7839xy8mLS+j1?= =?us-ascii?Q?AuCWp3qyNC1hVL+anIv/MGkIfFq5t35uHcifuO5G3cZw0p1P1gbLF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ObRt+vW1wHzbE3lhWsLQ4+6qlD/8+2FO?= =?us-ascii?Q?XB5NdnLsA3gUR79zt2D3DBJjakOGp0eEWLNjTRXeNLKz4JJR2Ywnls+1erJz?= =?us-ascii?Q?vdM+di8Lewsw2VJXdvLSEsg4NCDZyKU9CPfkVjPF4ZUjEIp4Gx67/dY97s7C?= =?us-ascii?Q?860JHIw9XOL0DWlg4B/O9RQojEThRN+Ys+iQ+NUbikMI8d/rEV/eFuBH6DzR?= =?us-ascii?Q?Sog5bmJ46vgFhnjVNVeXgtCqujCFujS8ktcJUrMhWZS5S6FrAtg0BK6vYIv9?= =?us-ascii?Q?Dh05S1Fvi0kmogpfjkZ1kEEP9rw8qQywgNBFtFixfGGVxOn7oGxgLpf0oULl?= =?us-ascii?Q?NY5iY9+GBewZwiJX5aI8HSsDg+hmFl/hebHbGqBz+9m6r3AiPX1+4bBu7sjw?= =?us-ascii?Q?FLNyaGXBS/ILmlr2YTd335HzyO/O7q0kEJw7Y3cn7vvZrqENvWBIJSkE/nSz?= =?us-ascii?Q?0LXq4u0sB3TSDy2HPf6NMXDP8Yf5BbnrF4Nf5aPsdDIPpluu2IkL9g7AHYhH?= =?us-ascii?Q?2atEMf5ECn3W1/Vjt1j2DNCrLdkZjvR87uqipjSMHKeui12pHfQHceKCaDoG?= =?us-ascii?Q?PLk0wgJpQtKzOed6E7k=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR18MB3860.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: feed7781-e645-4a35-7254-08db600c325d X-MS-Exchange-CrossTenant-originalarrivaltime: 29 May 2023 06:16:10.3398 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: oa3YH65dj3VEGSQfMIzBHf31nC4Ic+bZ2zr+FlbyjS2XakG0PUQrKh3qkH3Oce/kABb9wbEuK5GKwYsmKnhyRw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR18MB3596 X-Proofpoint-GUID: 7K3MK6TaBp-lFTQARu0tp9Ycl_nY9VQJ X-Proofpoint-ORIG-GUID: 7K3MK6TaBp-lFTQARu0tp9Ycl_nY9VQJ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-05-29_03,2023-05-25_03,2023-05-22_02 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 > -----Original Message----- > From: Miao Li > Sent: Thursday, May 25, 2023 10:01 PM > To: dev@dpdk.org > Cc: Sunil Kumar Kori ; thomas@monjalon.net; > david.marchand@redhat.com; ferruh.yigit@amd.com; > chenbo.xia@intel.com; yahui.cao@intel.com; Anatoly Burakov > > Subject: [EXT] [PATCH v3 3/4] bus/pci: introduce helper for MMIO read and > write >=20 > External Email >=20 > ---------------------------------------------------------------------- > From: Chenbo Xia >=20 > The MMIO regions may not be mmap-able for VFIO-PCI devices. > In this case, the driver should explicitly do read and write to access th= ese > regions. >=20 > Signed-off-by: Chenbo Xia > --- > drivers/bus/pci/bsd/pci.c | 22 +++++++++++++++ > drivers/bus/pci/linux/pci.c | 46 ++++++++++++++++++++++++++++++ > drivers/bus/pci/linux/pci_init.h | 10 +++++++ > drivers/bus/pci/linux/pci_uio.c | 22 +++++++++++++++ > drivers/bus/pci/linux/pci_vfio.c | 36 ++++++++++++++++++++++++ > drivers/bus/pci/rte_bus_pci.h | 48 ++++++++++++++++++++++++++++++++ > drivers/bus/pci/version.map | 3 ++ > 7 files changed, 187 insertions(+) >=20 Acked-by: Sunil Kumar Kori ... [snipped] ... > 2.25.1