Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp2256661pxm; Fri, 4 Mar 2022 12:28:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJz57eC2kItJoLG7UIJ4F+YHT+QeZx1HsbCzputhA9iXnzZ0kfbZtisODzwRp32WxtT4Ljw7 X-Received: by 2002:a05:6a00:8ca:b0:4e0:2ed3:5630 with SMTP id s10-20020a056a0008ca00b004e02ed35630mr452686pfu.3.1646425696463; Fri, 04 Mar 2022 12:28:16 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1646425696; cv=pass; d=google.com; s=arc-20160816; b=LZjv06BLcCV3sMWmShU0slBT05AV8E7hmOVIW+eJlGPVk7J2BIR3+uUNSAjEpp91GQ FnscR5df+hZ+d7KuM2m1UxLseAU/QI+ZAa4wCHgNwmShdVikMU81jZKRSAHirvrInzbO 0tGVw4z7toFQ1vMDkjar6/TUjyn1K2ZCq51yIppDC8B8dg9ZRK8tEkTi1SAxlbmlkZ1Y zOGyBtNCqa5wQQao36q+Sdn6kOnXHC38ImsUYSTf6FBQrNN6U0QBdO65SUTL5yLoe8cC mZ7K5PseRJx78FQhfrNVgnlogCB+drOljeVY3Szq6d1v2Ee/v+VMcrfaZ4h2utB/Z0Im 9i+g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=ua3pu3yP9qNpHuDV5jAor5VdH5N6EBYhXJxmg4DaymM=; b=LHwYvhER3OFbk4k691f2AOglx4NUbaRUxYm5uJbsvPKW6qs8MfGGZHYsSUuLnLD+Us 6XIinTjh1KXMVBvFH5HPP76kWhTvCiLlmAphiEuPZNvW9Irl3MBuK0o6zq15j+FseDQh WuueAa05crRPpXkkfEUCIhjWmukhQgzpCxZ4Y2wh4fizbhDeeeozMk94O5knQjctwkcw b6hyb3s9O2NVyv2PPbXOc65kKATv4crbXUVl/NDJCNVpy6xrp6l+C37FJY+sNT5bEZlg xmDuyXVUGxem9IEZlcyynLBpM0/nZqXQiojzXxd8vK8vwKOL1+KqfSJXHtzIHW65Ipl/ vFxw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector2-xilinx-onmicrosoft-com header.b=VriEdQj+; arc=pass (i=1 spf=pass spfdomain=xilinx.com dkim=pass dkdomain=xilinx.com dmarc=pass fromdomain=xilinx.com); spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xilinx.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id s1-20020a170902ea0100b0014ee4775042si6126837plg.207.2022.03.04.12.28.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Mar 2022 12:28:16 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector2-xilinx-onmicrosoft-com header.b=VriEdQj+; arc=pass (i=1 spf=pass spfdomain=xilinx.com dkim=pass dkdomain=xilinx.com dmarc=pass fromdomain=xilinx.com); spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xilinx.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 25DEB3B3E2; Fri, 4 Mar 2022 11:33:37 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241357AbiCDRxO (ORCPT + 99 others); Fri, 4 Mar 2022 12:53:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241333AbiCDRxM (ORCPT ); Fri, 4 Mar 2022 12:53:12 -0500 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2077.outbound.protection.outlook.com [40.107.220.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 163371567B1; Fri, 4 Mar 2022 09:52:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eOdisH/r7SMEd8OMXa5QZPSp7dOA31OtK6wn9a5urqGJNG/3oYpNccOJon5fxMfS7EfjaJ+jeYjWtALQQtxth9pBNlxU8vB2Ji2ky496QxxnnhzQVwW1kXq1hesnqe6mR6FJXm3j/IvaFJLR1UcweW2Td70dTZFiB/YTcjseY0GAhG1szWLmhj4nUZ9NIzAK/uOR6OYHo1fgMErdUYdSIJpAAp5NGlzZYd5K4PdCnKwBPVgJgxXVDyWGzPuo2EI5rThOMfndXDrMOC4qumDmHKQYovOp4PXfuVJFLO5CoYkqr1/y7x97YN2erUJD4rrqUbiUQUnegRXpxT2wD+rftQ== 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=ua3pu3yP9qNpHuDV5jAor5VdH5N6EBYhXJxmg4DaymM=; b=nDX+3YNHsW7Lawy68YRTDQIih9TWyZxHzCzIgsyfDaLPlpu7MrccmwEBcp9yDLizhl9ZK3gfHXr9xTIDMdYL1CMk43YUIZXf0qsTagzbymyJuQGWTYjLpNO6Em5oQ4b/sFkDh6yySk7xqfB3Fm4LhnrEzV6MsBiD3mU9seuf9yv6LmyezLIpchAzrgk+T1ZBwvY/ODBCVQpKi1bi8ReoxUrUPYdQwTE28DepcuMMGbVy7m+/yRejoqVzbipvmEF8GxKQfQcE0bAgZrW+b0IjNqmH5h34ezyzsNl/5/IUi6cDhotqF7DiLGZ/arzl7c5BmAFQQYUr5hZa9pdnppRQFA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=xilinx.com; dmarc=pass action=none header.from=xilinx.com; dkim=pass header.d=xilinx.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector2-xilinx-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ua3pu3yP9qNpHuDV5jAor5VdH5N6EBYhXJxmg4DaymM=; b=VriEdQj+XXsaw8PwC3ehw+p9E2wEH45+W1FinHKdyUxohOI2i3Zp+iOcdR3xBzD72Kh4axs4QMCpAWSG9wT/2Q3lgyzEVg3I6yHjodbPvM7kHlQT75VTXOjfbiZpNyeMlrRdKCDNVH31l6GNVDQgOgVfeELZmWgiDHDPGmF2YFo= Received: from BY5PR02MB6980.namprd02.prod.outlook.com (2603:10b6:a03:235::19) by BYAPR02MB5751.namprd02.prod.outlook.com (2603:10b6:a03:125::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.14; Fri, 4 Mar 2022 17:52:21 +0000 Received: from BY5PR02MB6980.namprd02.prod.outlook.com ([fe80::ed57:1b66:1f0e:54bc]) by BY5PR02MB6980.namprd02.prod.outlook.com ([fe80::ed57:1b66:1f0e:54bc%7]) with mapi id 15.20.5038.017; Fri, 4 Mar 2022 17:52:21 +0000 From: Gautam Dawar To: Eugenio Perez Martin CC: Martin Petrus Hubertus Habets , Harpreet Singh Anand , Tanuj Murlidhar Kamde , Jason Wang , "Michael S. Tsirkin" , Zhu Lingshan , Stefano Garzarella , Xie Yongji , Eli Cohen , Si-Wei Liu , Parav Pandit , Longpeng , virtualization , "linux-kernel@vger.kernel.org" , kvm list , "netdev@vger.kernel.org" Subject: RE: [RFC PATCH v2 09/19] vhost: support ASID in IOTLB API Thread-Topic: [RFC PATCH v2 09/19] vhost: support ASID in IOTLB API Thread-Index: AQHYKcUokFeNETIoBU23dxicTGuI9ayvEMsAgAB8tXA= Date: Fri, 4 Mar 2022 17:52:21 +0000 Message-ID: References: <20201216064818.48239-1-jasowang@redhat.com> <20220224212314.1326-1-gdawar@xilinx.com> <20220224212314.1326-10-gdawar@xilinx.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=xilinx.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 07b6b56e-95ca-48d2-4744-08d9fe07bb8e x-ms-traffictypediagnostic: BYAPR02MB5751:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: wx52Ye8fTHQsc8BdVKjojmh4NdZwBKyNea/fcAeQDM4i7P+4xkDc8DiQtBylyAGGd8Zt5s8XrzlmxnYts9350PmDxEdqIgNDZnon/4EAW54qNsLWlv7AbV6XRPbW1Hj1gYQoXw6zWu5vxsl3Ub6NCgCLI3B9tRbVO9youqzC7jSoHMthBpdy/nVfe3r2YajDuNMdvItyQNQ2tjWNWEaPzn8lHgfmOK97aEhXUvNMnBfWGBsK3+vecq6DarR+YoOeuFUOFdK+H+3Fue0x3zJZipZ3x8VpgU233I1s1csReW0OyyuaNqvZyU919vxmUH6RzWwh5Urv4vUhneo/I9Uth2rcw+No/xD8AC+u+ALbwOoSPJzqcs+tmAUAc1c1r4vpL1GuL0wyGIVoG1y+NsfStRsCFbvpyQTml8J1HhhEQhhlrJt7QWg+O5JB2qTfpzKsSDmfKfW0XsJDJ3mx0441TvH0hhQIN/Xh3CsOuCGxx95XD0VhnkVazwf2Ry6Mn33a4ssX7VaCWdC+LuhxOHUKldfxdEjFz2AYqWzL5qBFJUEu5kRxMPI951LQyNJXOoGJ70uq6z9qAPJFL12wx5QNsJfvMSger/gZ5CW1dOT9A39anGQ8kGenUwOlK8Y2buynekvg94nhW/LUIXikv9FqQKb5jS3FgGrzsvdcuHtpmZNahvoiQSccWynt3+QbNL9YTBAwjICtfHyBDRR2JehZaQ== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BY5PR02MB6980.namprd02.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(7416002)(55016003)(316002)(38070700005)(508600001)(76116006)(66946007)(66446008)(66476007)(26005)(122000001)(66556008)(64756008)(86362001)(8676002)(4326008)(71200400001)(7696005)(38100700002)(54906003)(6916009)(83380400001)(6506007)(33656002)(52536014)(5660300002)(2906002)(9686003)(8936002)(186003)(53546011);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?NmUzMHZPMS9SM2FoM0tHeVV0bWJNcFVTcUNMNGpwbG9rRWF3cEpMOFl1Zlk1?= =?utf-8?B?Qys1bGR2OWZYRVRtZm9wc0Z6WXE4RlZLdVBVRGhXdFpEL1ZCUklSN0FDN0M2?= =?utf-8?B?Q3ByOHJXb3NITWYxTWpHQ3JvSmZkYU1ncWFMOVltK040Q2FFWVE5Z2dJeTA1?= =?utf-8?B?SnVLb01ic3hvZUs2bStyanNhK003M1FHYXBSdzZDb0JETUJmaDF2c21jdjR1?= =?utf-8?B?WFlWbXhtZk15M3RJRVRUc1BNUnJHYlUwS0FaWjRHemo5MmdmelhERXFva25V?= =?utf-8?B?YnlSc093bGV3eWpYb3F2MlEyQ1JiRmZTUDZXWXBXN0FJbGNoMWFYektuekJH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NS8wZnNRV0FWcDBzNGI3UGV4U1NJc2l0WElD?= =?utf-8?B?MHc9PQ==?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BY5PR02MB6980.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 07b6b56e-95ca-48d2-4744-08d9fe07bb8e X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Mar 2022 17:52:21.3119 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 2Fa4BLZLBwDmBbEi2W47WpQYvOONWNlcAUcxHWHJ61nQATn0W7Snrdq57NvF3hIWJ6id4n7HxIGPF8EyJ9ee9g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR02MB5751 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org LS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCkZyb206IEV1Z2VuaW8gUGVyZXogTWFydGluIDxl cGVyZXptYUByZWRoYXQuY29tPiANClNlbnQ6IEZyaWRheSwgTWFyY2ggNCwgMjAyMiAzOjU1IFBN DQpUbzogR2F1dGFtIERhd2FyIDxnZGF3YXJAeGlsaW54LmNvbT4NCkNjOiBHYXV0YW0gRGF3YXIg PGdkYXdhckB4aWxpbnguY29tP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Cj4gICAgICAgICBpZiAocikNCj4g ICAgICAgICAgICAgICAgIGdvdG8gdW5sb2NrOw0KPiBkaWZmIC0tZ2l0IGEvZHJpdmVycy92aG9z dC92aG9zdC5jIGIvZHJpdmVycy92aG9zdC92aG9zdC5jIGluZGV4IA0KPiA1OWVkYjVhMWZmZTIu LjFmNTE0ZDk4ZjBkZSAxMDA2NDQNCj4gLS0tIGEvZHJpdmVycy92aG9zdC92aG9zdC5jDQo+ICsr KyBiL2RyaXZlcnMvdmhvc3Qvdmhvc3QuYw0KPiBAQCAtNDY4LDcgKzQ2OCw3IEBAIHZvaWQgdmhv c3RfZGV2X2luaXQoc3RydWN0IHZob3N0X2RldiAqZGV2LA0KPiAgICAgICAgICAgICAgICAgICAg IHN0cnVjdCB2aG9zdF92aXJ0cXVldWUgKip2cXMsIGludCBudnFzLA0KPiAgICAgICAgICAgICAg ICAgICAgIGludCBpb3ZfbGltaXQsIGludCB3ZWlnaHQsIGludCBieXRlX3dlaWdodCwNCj4gICAg ICAgICAgICAgICAgICAgICBib29sIHVzZV93b3JrZXIsDQo+IC0gICAgICAgICAgICAgICAgICAg aW50ICgqbXNnX2hhbmRsZXIpKHN0cnVjdCB2aG9zdF9kZXYgKmRldiwNCj4gKyAgICAgICAgICAg ICAgICAgICBpbnQgKCptc2dfaGFuZGxlcikoc3RydWN0IHZob3N0X2RldiAqZGV2LCB1MzIgDQo+ ICsgYXNpZCwNCj4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc3RydWN0 IHZob3N0X2lvdGxiX21zZyAqbXNnKSkgIA0KPiB7DQo+ICAgICAgICAgc3RydWN0IHZob3N0X3Zp cnRxdWV1ZSAqdnE7DQo+IEBAIC0xMDkwLDExICsxMDkwLDE0IEBAIHN0YXRpYyBib29sIHVtZW1f YWNjZXNzX29rKHU2NCB1YWRkciwgdTY0IHNpemUsIGludCBhY2Nlc3MpDQo+ICAgICAgICAgcmV0 dXJuIHRydWU7DQo+ICB9DQo+DQ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dF9tc2csIGlvdGxiKSAt IHNpemVvZihpbnQpOw0KPiAgICAgICAgICAgICAgICAgYnJlYWs7DQo+ICAgICAgICAgY2FzZSBW SE9TVF9JT1RMQl9NU0dfVjI6DQo+IC0gICAgICAgICAgICAgICBvZmZzZXQgPSBzaXplb2YoX191 MzIpOw0KPiArICAgICAgICAgICAgICAgaWYgKHZob3N0X2JhY2tlbmRfaGFzX2ZlYXR1cmUoZGV2 LT52cXNbMF0sDQo+ICsgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICBWSE9TVF9CQUNLRU5EX0ZfSU9UTEJfQVNJRCkpIHsNCj4gKyAgICAgICAgICAgICAgICAgICAg ICAgcmV0ID0gY29weV9mcm9tX2l0ZXIoJmFzaWQsIHNpemVvZihhc2lkKSwgZnJvbSk7DQo+ICsg ICAgICAgICAgICAgICAgICAgICAgIGlmIChyZXQgIT0gc2l6ZW9mKGFzaWQpKSB7DQo+ICsgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0ID0gLUVJTlZBTDsNCj4gKyAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICBnb3RvIGRvbmU7DQo+ICsgICAgICAgICAgICAgICAgICAgICAg IH0NCj4gKyAgICAgICAgICAgICAgICAgICAgICAgb2Zmc2V0ID0gc2l6ZW9mKF9fdTE2KTsNCj4g KyAgICAgICAgICAgICAgIH0gZWxzZQ0KPiArICAgICAgICAgICAgICAgICAgICAgICBvZmZzZXQg PSBzaXplb2YoX191MzIpOw0KPiAgICAgICAgICAgICAgICAgYnJlYWs7DQo+ICAgICAgICAgZGVm YXVsdDoNCj4gICAgICAgICAgICAgICAgIHJldCA9IC1FSU5WQUw7DQo+IEBAIC0xMTcxLDkgKzEx ODQsOSBAQCBzc2l6ZV90IHZob3N0X2Nocl93cml0ZV9pdGVyKHN0cnVjdCB2aG9zdF9kZXYgKmRl diwNCj4gICAgICAgICB9DQo+DQo+ICAgICAgICAgaWYgKGRldi0+bXNnX2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