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 A8BD6428CE; Tue, 4 Apr 2023 16:57:28 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 30F2340EF0; Tue, 4 Apr 2023 16:57:28 +0200 (CEST) Received: from NAM02-DM3-obe.outbound.protection.outlook.com (mail-dm3nam02on2085.outbound.protection.outlook.com [40.107.95.85]) by mails.dpdk.org (Postfix) with ESMTP id A82C540A7E for ; Tue, 4 Apr 2023 16:57:26 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=e0h9JAKUu1uLBAJrmrOLzwsyhOyY+YI20UvX2zT4Jk0pMooeJpy0GLDUnsHO8JyG8SKlYgyPzJy9Ubaiz0hpZ0vKjBYglAfXucR3hFHQR3k7novo/U248LWZ0MY8okQeE+vsXk2p3pmP1b6ylG9eYxFkCMSvnQ3vvUIbz787yuStDQwaZSrlRjPcJr7rTbtxDE3sLIT5LpHi9Um6+u8aAHqY62rCXdhpulkYpZCdR5GHrO/wNe0UqqpAgW2vIArtFa75/HRD9OX4HKzeLmoy1/9FelYhCO+HyJczOq8DNMvf482LxM503DGdbFY6Fa2mHLopfHvYuuZpOwC/vvssYg== 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=Lamac4pHKU+jKPbg0qM00NBTltRqneHrIO1I7fLxhiU=; b=efrZGiIP+TZSdyzxorSj8DB6Uvi+WAOc73XPwDMgiR4f6i/25l4y9iHY0g/yba/jvyeQIa0EtpLiX88mirv1Rgxg3hP+CyDNJP2+CvOX8TM+UGxuDReCBCzQorGikRLliAUh6IFWH2gJevC770GKxDAMCqH/oBmXcMQne9yHYKFNt91U5deCQAwnotKh/J9fd/OGpmbfUcQrCdS9jQs3JH30x6V0WFX40nQlJBEwIY0dFcVaFwSrf3aH8S4H6fpGMZeIAgCNP88o+DyJObBPICiEornTWM6QzaVAzezbML8R4MMe3uQNqSQXO9kvyHU5fPL92f9vzDAac2Tq1QNNQA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Lamac4pHKU+jKPbg0qM00NBTltRqneHrIO1I7fLxhiU=; b=TsAT7xfMnSBu8kgtNPYIQsosOwXzXbDAp5id8jDG/xKutGwguLJ0c/5bZhxBniNHeLnYgvyvj47tZDgR/Lt6/Zhqv6KmSc6alSGGLv1PnIXuMEl4WLLQFIul+8ADoy6w1gJzLAHEyXmxWTOwAdceXwY3rNXG3TCZthniOScOMcA= Received: from DM6PR12MB3082.namprd12.prod.outlook.com (2603:10b6:5:11b::12) by CH3PR12MB7716.namprd12.prod.outlook.com (2603:10b6:610:145::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6254.35; Tue, 4 Apr 2023 14:57:24 +0000 Received: from DM6PR12MB3082.namprd12.prod.outlook.com ([fe80::72ca:e9ef:88e5:26d0]) by DM6PR12MB3082.namprd12.prod.outlook.com ([fe80::72ca:e9ef:88e5:26d0%4]) with mapi id 15.20.6254.033; Tue, 4 Apr 2023 14:57:24 +0000 From: "Gupta, Nipun" To: David Marchand , "anatoly.burakov@intel.com" CC: "dev@dpdk.org" , "thomas@monjalon.net" , "Yigit, Ferruh" , "Agarwal, Nikhil" , "Gupta, Nipun" Subject: RE: [PATCH v2] vfio: do not coalesce DMA mappings Thread-Topic: [PATCH v2] vfio: do not coalesce DMA mappings Thread-Index: AQHZH/wr5WL+1ubhYUiYfLJ4gCqsP667p9IAgAYNGNCAWhY0gA== Date: Tue, 4 Apr 2023 14:57:24 +0000 Message-ID: References: <20221230095853.1323616-1-nipun.gupta@amd.com> <20230104051936.2456411-1-nipun.gupta@amd.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_64e4cbe8-b4f6-45dc-bcba-6123dfd2d8bf_ActionId=c8d5e878-a254-44c4-abf0-071e8af1cef0; MSIP_Label_64e4cbe8-b4f6-45dc-bcba-6123dfd2d8bf_ContentBits=0; MSIP_Label_64e4cbe8-b4f6-45dc-bcba-6123dfd2d8bf_Enabled=true; MSIP_Label_64e4cbe8-b4f6-45dc-bcba-6123dfd2d8bf_Method=Privileged; MSIP_Label_64e4cbe8-b4f6-45dc-bcba-6123dfd2d8bf_Name=Non-Business-AIP 2.0; MSIP_Label_64e4cbe8-b4f6-45dc-bcba-6123dfd2d8bf_SetDate=2023-04-04T14:56:00Z; MSIP_Label_64e4cbe8-b4f6-45dc-bcba-6123dfd2d8bf_SiteId=3dd8961f-e488-4e60-8e11-a82d994e183d; authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DM6PR12MB3082:EE_|CH3PR12MB7716:EE_ x-ms-office365-filtering-correlation-id: d219e3aa-131f-4357-691b-08db351ce65e x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: piqOcWk82kETE1FMgJ+yW+SmHyjHhooNaahIInY7IOOtfsmk1yNDkp9pCmObJkU893NvqwFt6/atvs4Oq9+oOwiFFsdr9KelUTaHrsEqE+IWVPG3ipfftlFhRmLiGModalgiuUBowwYhLd5Y9rjxC0ebz5Uflx3tGKinmCYtjiWSWONzFe1zM3DtAljZkghKPUog5WBJpL0rW1sXkwWZ4t0yXDcHnK+KI2f8M+q5z48PCoaGix2vubG694k1tDAAYXkv86W9xfVKoQqi7n1WaP1ovJhRAA1VRTK75IrIwH3VJq5tXTAy/USS3wwohzJb+yf/2gUOSBMmdsdOmaNTXSkfuOCZp7GXBP+scnRqnjEk26lDpxdHfYLYk4iT+qQtT2tnGacndbZt+fkAfK4A+KM0ilmlt12vtgFLmhIbwtYDHWVrfHQuJq2e9Wdzpk4MTephWYn4gmLsMsC2Akz67PupqIJ3f1yy2k8jFvj/EMOzSx9lwD1tPsS/IX+GvjdkiuPS5wlZz6GDqMc1qIwJ8+kAg4OYoukKc4RnHvo2jU2wvsbJc+lpbL6JZyWS/izyMoebHaPE9XYkhlYWJcMXMtb3mW6aBTYH5Szy6kiae6a0lN0Fqjt1dPmgWM55R+Kv x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB3082.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(366004)(376002)(136003)(346002)(396003)(39860400002)(451199021)(2906002)(86362001)(38100700002)(5660300002)(64756008)(66946007)(8936002)(52536014)(66476007)(66446008)(478600001)(4326008)(110136005)(316002)(76116006)(41300700001)(54906003)(7696005)(66556008)(55016003)(71200400001)(8676002)(33656002)(186003)(53546011)(26005)(9686003)(122000001)(6506007)(55236004)(83380400001)(38070700005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?cGYzMnpWTVV5UFJXeis0cUlObkRxdER2blI4V2JRTzM4bkJERDYvWVRGbG9S?= =?utf-8?B?RHdpUjJ2a2pNOVBCWXRxdlZSYWRKRm9FTDlGcnZTWXJuZTJwWGUrNEZPNFlN?= =?utf-8?B?SnJMZEJqWEIrbmlyZm9PcjYxUW1NUWMwemRIYm5JVT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U01uRkxoWUxabVJoZHV6bGF1bmpCWFVZVXpWbFB1?= =?utf-8?B?MW8zRUZrckIzTlNCbExCcEQwS3BUMVZMRkdzODUwUmZjQVYzZ3VBTDh6TzFD?= =?utf-8?B?VGh5L09xMHJNUTBWd2IvbmlCNTlsaXlXWlhBTTVNN3JBNTVaM2FtYW92TXNz?= =?utf-8?Q?5Tw8=3D?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR12MB3082.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d219e3aa-131f-4357-691b-08db351ce65e X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Apr 2023 14:57:24.3361 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: HKLIrAx04M8rJNDISSDdD93T4l6pPe3Cdbs51S9g3x+VgT4ujXF3A3hdGtCiQowE X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR12MB7716 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 SGkgRGF2aWQsDQoJQXMgdGhlIERQREsgMjMuMDMgcmVsZWFzZSBpcyBvdXQgY2FuIHdlIGhhdmUg YSByZWxvb2sgYXQgdGhpcyBjaGFuZ2U/DQoNClRoYW5rcywNCk5pcHVuDQoNCj4gLS0tLS1Pcmln aW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogR3VwdGEsIE5pcHVuDQo+IFNlbnQ6IFR1ZXNkYXks IEZlYnJ1YXJ5IDcsIDIwMjMgMjoyNyB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