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 6683A42BCC; Mon, 29 May 2023 08:17:18 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4D076410ED; Mon, 29 May 2023 08:17:18 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 2929B40A4B for ; Mon, 29 May 2023 08:17:16 +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 34SN17Ls008148; Sun, 28 May 2023 23:17:13 -0700 Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2168.outbound.protection.outlook.com [104.47.56.168]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3quf7pd7qc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 28 May 2023 23:17:13 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RuB9hL0DgezgRH0n3ODzoYZ2NZb7DUD8JQBFFlR6C/asCoNuLtCKBAVoD6CDOGceBEaSBJ9SeVkLSf8ZS896FHNP5/tg0M/zxHvoiSHOyzqsiiOw/GVkY4nEviRxNI1GslIgGQUctYQA35MTIr9PE1/ScegbxbyXmKGh9+bvCTKX7HJccHQHIsZ55hlEejhEL7kqFu6hHZcJE0S9ZrPv18clhW9VBsvC13esVP14EOgm1gM7eHU2p5ittinB7FHF5fwy6Z0apgVJ3nhfm1EIME0kIQ5/ZPA1ShCRvzSdqws7xCm6IjPZF2ymLifkIaUpzpD7OtWVzGX7LaZydOdj1Q== 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=QD9h6gz9gH6sC3k/V/N8xAet3Jc1JjYnHkWwV2blBOQ=; b=HltTCVam7Tgin93C66rGP1RAgH0F88v/AaCnj99ASweO3hFqrj1ZyAWIQvD8y2XP/4Jeze0PxpA/vjN3cY84muVuZEZmv7Oq5BqXU+cfuZ2PZFIWHwJYqfkHXQH2wSTWVu74S9P2kYiQzYqSuofbtVbBZPBR4sib8t4SVrnSVSgtwZQBr8GsRF1eWbWDWvOA94bqMlZmXMr8X7VER0bzX0YqSzLjoIQhhXeSeXLDHvOFtqZAtUgxHlk84RVAbBmS2eijcEh7V3AUhJLG75z4a4AoZ26iETZ0e6GQ9tN6Htx4s1Z6wwLqWJYOYglMMCCxF/oKTSkeLz/XGK6AqIcfDg== 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=QD9h6gz9gH6sC3k/V/N8xAet3Jc1JjYnHkWwV2blBOQ=; b=NLU6WMi/fgSqWF82LYSxYer90tIV8/++JmsRzsRe7XtiVaG4LgL4HHAUD0X6zf+1z/GUYf8RWA2bRMoV/IaNnUkEQBu1eCLzMzZwKKJOaH1k+m5FIsHd+d1mej2kFIGCN/FUPGNGsNIK5/wF0y4bjRfJNZ77CnES3fjM5L0GNWo= Received: from CO6PR18MB3860.namprd18.prod.outlook.com (2603:10b6:5:34d::12) by BN9PR18MB4188.namprd18.prod.outlook.com (2603:10b6:408:103::24) 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:17: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:17: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 4/4] bus/pci: add VFIO sparse mmap support Thread-Topic: [EXT] [PATCH v3 4/4] bus/pci: add VFIO sparse mmap support Thread-Index: AQHZjt8P5JNVHshT1k26ntaxft+qt69wzGKg Date: Mon, 29 May 2023 06:17:10 +0000 Message-ID: References: <20230515094124.722431-1-miao.li@intel.com> <20230525163116.682000-1-miao.li@intel.com> <20230525163116.682000-5-miao.li@intel.com> In-Reply-To: <20230525163116.682000-5-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?ZTM1Ylxtc2dzXG1zZy02YWM3NmE0Yi1mZGU4LTExZWQtYjZjOC1mODc1YTQx?= =?us-ascii?Q?YWM1ZDJcYW1lLXRlc3RcNmFjNzZhNGQtZmRlOC0xMWVkLWI2YzgtZjg3NWE0?= =?us-ascii?Q?MWFjNWQyYm9keS50eHQiIHN6PSIxMzc1IiB0PSIxMzMyOTgxNDYxOTQyMTI5?= =?us-ascii?Q?NzIiIGg9IjJ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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_|BN9PR18MB4188:EE_ x-ms-office365-filtering-correlation-id: a74b3d3d-9def-4329-278a-08db600c560c x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 14BOROJfg0ZNaBxUHixQ3gRcFqaUV+4ViwzNWPmPX3HhLnqmHW+mCGuu5TB0h86qmvOXlF1dB1Z07lDdWbT7JpwI5z0Ah3vHj27mkRQpNVq3bUJwRKxTcH+OF14tqdpfVOVJ4NZXHevmu/d3FK19wg1PRoNiRegWCngYwqhce7Zrtg4iD1yNfzSrpXMvSp0046169xQKZoM5QWnq1CoV5UKg3DEch+seiT9XU/AVp9o1tj74XiSpCCGFpHKN2R6CfZ8pG8t93fO1VwkI3C8PK931ulx6PpmwDBeLZwH8j4QFFhIOR3bPpP36NIAotWHv7QF2yD2qZz2sZJTDOKOv1IN8BKhpWBT2UxsQgkMCSulxqgjQq3gwQXNCdH+pArg7Eq3hrp0MQ5+WLkBzOp+d9+QsRC3jGGi1DpvT5gwlPPWDGo4TJWkJT4B7f5t2xtCnz0YnJTUc/bZ0WAuMaKItYq4xSRyOqHtl4sfxrBMuMDC9rPbDH2DJYqfyYjFZw7qA3Vu+9YQKnyy0FIfcZv3GqjxzwVXCJ5l3fftOW6+IMahMWdxl2IFfLxuqDsfb+WsnEvGZvMMpNXbJqej9DSZUZLxTLXufGMjV5MzLfqGHlH9I+Z6ZgifSa/Su9mDvF6i3 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)(346002)(39860400002)(396003)(136003)(376002)(451199021)(38100700002)(122000001)(41300700001)(38070700005)(316002)(4326008)(33656002)(71200400001)(86362001)(8676002)(8936002)(2906002)(7696005)(52536014)(66946007)(76116006)(9686003)(110136005)(66446008)(66476007)(66556008)(53546011)(64756008)(54906003)(6506007)(26005)(83380400001)(478600001)(5660300002)(186003)(55016003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?XGB9DKQAo1r3qx6ptu1GruBPgjENxpAnFNN8r/Dxa9GX7LV8m15LfqTtVGnG?= =?us-ascii?Q?oxLGtusayLraCINizz9wA90SsIUkaKQOSTKz4lQ/Xr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FzJbzMhSCKJOKNoBXEe+6yg7TVMUlIHouQBL/YvHxKnrLR?= =?us-ascii?Q?lKeg1pOYehiYLb90pE2MVgSd+OmhnVFTPF13QQJIt90yP/LBq7I/ZKpPu1Wc?= =?us-ascii?Q?z0leOtntOfMQhYxbSiG/QgFl0IXnv77zIj/pdGsCQ1tfVYhFFsjc+8NXDaB0?= =?us-ascii?Q?OWS6cjMU/wYEs72tXsgV9JlAD++e/wMAPbbdmmYMSCEsN7E9A8R94bXVJ8Af?= =?us-ascii?Q?PudO5rv7HlsINsHXwV8jWjmE+NAr1Fnhz7LwSrH7vZeHF2qO0/Y1GwipOXZ0?= =?us-ascii?Q?9LUE4TR8g2vT487AfuzqvGIFwIKlggjRVvLh86PWRrumqz7fCYxTuWUt4OpL?= =?us-ascii?Q?aG/ZxdxIt7WQkbO9c5nVATpeUKOosT1qsOxDab3DfUtQrMtvTu8O1mqU5Li0?= =?us-ascii?Q?ZlH24oECU8PEaQTfrDFyukZEtVleettTx+kX2vn2JO0/aeXrIGDDALbg3WId?= =?us-ascii?Q?MXkDOaeyKeZggceHf6U/NaQlfbRMz1OrhIAX9blW1aeJk6eMBfdrPxk8XAY6?= =?us-ascii?Q?WLotd70K/YlpQ0lsGWN/B5vjnq0UvV6xMxgUJYXlVsdLtqYRFBSTfiraHcQ6?= =?us-ascii?Q?/OOD+WslV2rQXFbx9ZI=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: a74b3d3d-9def-4329-278a-08db600c560c X-MS-Exchange-CrossTenant-originalarrivaltime: 29 May 2023 06:17:10.2119 (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: jILNdqlzezQ2jWN1SRkVGatCZyy1JorTTVs49CjmOviyY7ExyUmJsAU3AephvRjLWp6DwKsydAWxfLLrUEfLZg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN9PR18MB4188 X-Proofpoint-GUID: sQsD8n01QSY7d5pE7TfRtzosvLTLqlIU X-Proofpoint-ORIG-GUID: sQsD8n01QSY7d5pE7TfRtzosvLTLqlIU 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 4/4] bus/pci: add VFIO sparse mmap support >=20 > External Email >=20 > ---------------------------------------------------------------------- > This patch adds sparse mmap support in PCI bus. Sparse mmap is a capabili= ty > defined in VFIO which allows multiple mmap areas in one VFIO region. >=20 > In this patch, the sparse mmap regions are mapped to one continuous virtu= al > address region that follows device-specific BAR layout. So, driver can st= ill > access all mapped sparse mmap regions by using 'bar_base_address + > bar_offset'. >=20 > Signed-off-by: Miao Li > Signed-off-by: Chenbo Xia > --- > drivers/bus/pci/linux/pci_vfio.c | 104 +++++++++++++++++++++++++++---- > drivers/bus/pci/private.h | 2 + > 2 files changed, 94 insertions(+), 12 deletions(-) >=20 Acked-by: Sunil Kumar Kori ... [snipped] ... > 2.25.1