Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3F7D7C433F5 for ; Sat, 11 Dec 2021 05:18:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229497AbhLKFVr (ORCPT ); Sat, 11 Dec 2021 00:21:47 -0500 Received: from mga06.intel.com ([134.134.136.31]:19309 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229452AbhLKFVq (ORCPT ); Sat, 11 Dec 2021 00:21:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1639199890; x=1670735890; h=from:to:cc:subject:date:message-id:references: content-transfer-encoding:mime-version; bh=SY8y/3fJIDmmaGzIrj+lOuOwIioJ3PXbybZOodh8JN4=; b=n3x/KJz5p2nbTSlltZ41q+7GhJOSWyLFMqI2Gpo15xBA/zUCfKa1I6XI YWSmICuJDzwHB8p+DVz4cF39pN1HyWnXp8ZCPV3nFGqLC3Huh/VJMbjql UYzR/EM15V4HcQb7v56AtzSLf3+vuupdwQtV6Piy/K6Wg1QxtckK7a43e uJIFajg9awx2tD3VIQFM8fC1qZrxx4DYXVQkT/CIo3oqkDhzNdAgQCyXC JcPxtp/hZqem5BQjd3ef9Bet9+ADI9q4OSvvSnb6ZUlklxDqVFBW8Vnis G2NP/acGaGYzaG4PWNQ09nA9XJ/Nvl2Idrcvfw925ED1WCQ+mQvq8mGYB w==; X-IronPort-AV: E=McAfee;i="6200,9189,10194"; a="299294457" X-IronPort-AV: E=Sophos;i="5.88,197,1635231600"; d="scan'208";a="299294457" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Dec 2021 21:18:10 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,197,1635231600"; d="scan'208";a="544215309" Received: from orsmsx605.amr.corp.intel.com ([10.22.229.18]) by orsmga001.jf.intel.com with ESMTP; 10 Dec 2021 21:18:10 -0800 Received: from orsmsx607.amr.corp.intel.com (10.22.229.20) by ORSMSX605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Fri, 10 Dec 2021 21:18:09 -0800 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX607.amr.corp.intel.com (10.22.229.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Fri, 10 Dec 2021 21:18:09 -0800 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Fri, 10 Dec 2021 21:18:09 -0800 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.168) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Fri, 10 Dec 2021 21:18:09 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lvKJaYOGGv1DUvBOIul01GMelYDRkA6Q5UShsY79b4Nc+uUwKXlZtiOEtwMPK2VAuOrn8xBYav01fpUCcBa1nt/y20OUGO712V5quEXEzxulM/Gpiuuqf0BgbRazQOc/nfCTTPeAkHS4ellk0roDlr5gKdqwaWmnbpPItSz0vQ6oiNMTAPl+suKsXw2L3Zi9yY7B+73rws4oFuYkCk6YSHc314Pf85Be00be5hLj0Q0aMaxZprkwRQdTGoWoCi2rAZZcGl7dkfD0YQZNxIWJQBPfQQ4lDgcPxIBCXn/rcM9xO+VlIvO2liHPtrbOEtFuc9tZ6lbJcG6b9+BJWX1Atg== 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=SY8y/3fJIDmmaGzIrj+lOuOwIioJ3PXbybZOodh8JN4=; b=Hzbgb1Y9i41wGTbZMjhcLE4govGiLbB3Re2EGAQJG/HIFX5YBHcBDR002KOUmlAqYPTJL8D3VJJg26rnzic+gMwApRZooJvUWJrpGFZ52eqKBSlfgM+R8bws+ObSf18tZXmRW0RfbV2AHHWfDd6oiBp9YX/2CS1RJiwQFJ52Me6cPbZ1w2zqKnMN8mz+UHU+/ya9I6rEArXI5GKbRDj9mDL87c4LVLOMaMjeHAFxvfuAVyZq4zZee3BymhtBTP+MrCDHcwnMXutrTL96oYbE43DcFSMRl+eFMqk6Ic/qSoOxcPuVkF3AuO2wkOoUGwyRcQL9LImbUjlZtfGtjqYLUg== 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=SY8y/3fJIDmmaGzIrj+lOuOwIioJ3PXbybZOodh8JN4=; b=GrOGTy1/7xhm3jaRzzewJY4XCoKB/OHz6yioiRq3Fs8LA0ZHpWFT1jhdGbUcKdoQQTTEpSnYUgFyC5uibBmUi4mGkwNPS4lUrBM637esCrMbEDhSRZkel2aQ9iGmvROCjRGFVz7EABNke5pDrBe5HQIkMReGuG2zA3hxh56NOVk= Received: from BN9PR11MB5276.namprd11.prod.outlook.com (2603:10b6:408:135::18) by BN9PR11MB5371.namprd11.prod.outlook.com (2603:10b6:408:11c::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4755.25; Sat, 11 Dec 2021 05:18:05 +0000 Received: from BN9PR11MB5276.namprd11.prod.outlook.com ([fe80::5c8a:9266:d416:3e04]) by BN9PR11MB5276.namprd11.prod.outlook.com ([fe80::5c8a:9266:d416:3e04%2]) with mapi id 15.20.4755.016; Sat, 11 Dec 2021 05:18:04 +0000 From: "Tian, Kevin" To: Jason Gunthorpe CC: "peter.maydell@linaro.org" , "lushenming@huawei.com" , "robin.murphy@arm.com" , "Raj, Ashok" , "kvm@vger.kernel.org" , Jean-Philippe Brucker , "maz@kernel.org" , "linux-kernel@vger.kernel.org" , "vsethi@nvidia.com" , "alex.williamson@redhat.com" , "wangxingang5@huawei.com" , "vivek.gautam@arm.com" , "zhangfei.gao@linaro.org" , "eric.auger.pro@gmail.com" , "will@kernel.org" , "kvmarm@lists.cs.columbia.edu" Subject: RE: [RFC v16 1/9] iommu: Introduce attach/detach_pasid_table API Thread-Topic: [RFC v16 1/9] iommu: Introduce attach/detach_pasid_table API Thread-Index: AQHXyx+9zoVf6ec36EaoAw6mFm2RjKwlh1WAgAGLFwCAARJNAIAAUNaAgABaKgCAAEnegIAAE6oAgACHsjCAABVZoIAAzVeAgAED4rCAAGBlgIAA7M0AgAAddaA= Date: Sat, 11 Dec 2021 05:18:04 +0000 Message-ID: References: <20211208125616.GN6385@nvidia.com> <20211208183102.GD6385@nvidia.com> <20211209160803.GR6385@nvidia.com> <20211210132313.GG6385@nvidia.com> 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=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e015ded7-442a-4ad9-ca85-08d9bc659c4d x-ms-traffictypediagnostic: BN9PR11MB5371:EE_ x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Luvnk2IEzRytcF4whCzdSwNisXUR+h9mG9u4Hu1sjAfyI1mDp3IUruisG+i7LeexCkD0pAr5rEOh1C1yqTtyEOdyVAz3Lk0/vKpF3HmMpvlyLskJnynXm/MIbRJQRXx0Ld58wHF7ZhSdD0NVN0S0dyWDyrsR3S/1racV13OhlnsNhvKk+4eURefrIWRPJE9UYQd4l32ZwjQMAEFiXNBzlrhiJe9Z/Kb/0/85waoaDr/B9KKAOqexJDcN2dCBU2/mcY8djG4oxc6AfpjdsibIcmVGaK2UP4QIVxeHBw6EMDZmLjxZgMCt/+H6eQSigXVRXyg9xACrIH/fAGtYYxye2DALZOc4+EmT+ppcD6qzPDdLFrzigERdJQLmsf939tUqZNmTBnXrmhqH2Ugeuyuw1Q52L+BQLk1hooyEYwzGzQl8NXPnte/lUfNXv1k1SbfWhgvhSTQM5DzqOCVR4qRuqrlVNYyr1i5AQLGvmeLRKzmPFasoj5RSLCyLfpONoQO4HemZNOS+n5TiL4Ky0RxDmpTS489yK7VV9OmXUFchpCzUXLiFIgeX5ZopzcM9RQDlFnjJlnIbAKtYJPqsvwcnZpjQzUI0WIgrvPccjQxWhsD/kJ/uURwDGrMprlkbMGQlQrNVlaqOhYQp93lnHW9+OlKpG1Ns396v3d02EmEZMesEmWvNyuHsmrCL4sfv0LDoeI+gyrOAI7x+/jHmr6+wIw== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BN9PR11MB5276.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(366004)(66946007)(66446008)(66556008)(66476007)(7696005)(64756008)(8676002)(38070700005)(33656002)(6916009)(71200400001)(76116006)(52536014)(508600001)(122000001)(8936002)(55016003)(38100700002)(5660300002)(7416002)(26005)(6506007)(4326008)(4744005)(82960400001)(186003)(2906002)(316002)(86362001)(9686003)(54906003);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?N1dySHYzVVNPWk9MaERlVnNBSndabENIOXlNMUV1ZDgyeE5EUFcyUTVNQUpB?= =?utf-8?B?VmJqOHpTUncyWkRYQ2Nid01DSFIxNy8xaHVTL1dXWXNENjdJUDNmZmgybC9J?= =?utf-8?B?RVRlQUJnTkZKVjRKOVh1UllNUHNXZGMxS2F2cnQ0aDBiY2hnTkp2QXRRN0hX?= =?utf-8?B?YkQ3QS9wSnk1MmRSUGJIRC82U1F3aXBpOU9YZEY4T2ROaUZKaHBrUHhaTlMx?= =?utf-8?B?RzIveFFGYXRScnNiT3J6dFA2UmlnL0Z4TE1MWHRITTB5dVRtdm5PUllCM2FW?= =?utf-8?B?YlNWTitkeHVtYzBmZWJJaTJoaEVmNEExM2xycGF0ZlFmVUc1L0VtQ2dNSXhP?= =?utf-8?B?bEhDT3k2TlEzczAwanNvZXh3dDhqM1R6cUlzWnY5TWtUcW4zQmFUaDJEWmQ3?= =?utf-8?B?RmMvUGVOclY0ZUJSd2FkOGxkYnFhVUZ3RnJrM05hNE9lOGpNUyswNUQ3a01q?= =?utf-8?B?SmtYZ1czMk9kUkFHdW9JeXdBNGtQZlVoWkVKaEJKbGV2Z1BjQWJXYTFVQndF?= =?utf-8?B?c0tiWnNhdUxnaThJeWI3ZkJYMkUwL1plRkorQS9PZnIxdDhFVFR6SVU0ZGxB?= =?utf-8?B?bmtsTUEvditYSHVjMEFNMHg3Q2xqUlJVUEtzVmhIYzNFa2JqZnRSanBqYnRQ?= =?utf-8?B?WDFScWhCMUhsVC81SkhnR0lwQ21vV0JXOUtLb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TQ09qdGxkTzU2K2pnbTh1N0NFR3k4bzZtR3o2?= =?utf-8?B?VHdRRG05SkQ2SzRvZkF5MkVvY1JZcUExM3dML0MzUEtIUVdvTldoUmwwSHd6?= =?utf-8?B?ckNRMVI1dXRuQ1NMSitYLzFlWHNER1c1YVVIemRnMDZIbExMUVFSMnp5SFRU?= =?utf-8?B?dkZ0QzJBYUViZkt2UWNqNGZhTGd5ejlnOFV4Zk40TWt3VDdnT3FGZlJLKzY1?= =?utf-8?B?VTZFcExzR2N4czdmaHpyMzBBRU5GOGhubzhrMkkvaXBFT0ZQQS9rWGFOb0ZU?= =?utf-8?B?Q29ic3RJQUZmMzZCQjNHZnUwMGltSDRvaVI1OTNtazhia0xVQlFPbUlqNnhj?= =?utf-8?B?V056Ym9wL2hCOXlmOWs2N21WaThGT1VraFRVVkpjVzFPazQwUXNndWdDMUha?= =?utf-8?B?UGswWXJiS1ZKbElTdnM0eHFJaUtxQ1k0UTNva3pLVUlwNWpGUUphYk5iK0tE?= =?utf-8?B?TU85SGlZRkJFRmpGbXQzQjMzRHhsZm54b1kzbitNSGZoNmFIWjNQZ0Z0bjVv?= =?utf-8?B?NFQ3VVRUdmJFL3p5cmV1b21tQjFlZUtpU0FiMlBSMHlXYWhZcmk4VTVMa3pu?= =?utf-8?Q?ddeb3dIcytzlfI5/oC6AruY=3D?= 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: BN9PR11MB5276.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e015ded7-442a-4ad9-ca85-08d9bc659c4d X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Dec 2021 05:18:04.8214 (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: TT1E/gbT0X5oyJzrhvRt7so37ugdGRrDaGeJA7KDSjHvumALjQSWuWIepO0/uKZTcUpu0XcnhDJDFW0tODpBAg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN9PR11MB5371 X-OriginatorOrg: intel.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PiBGcm9tOiBUaWFuLCBLZXZpbg0KPiBTZW50OiBTYXR1cmRheSwgRGVjZW1iZXIgMTEsIDIwMjEg MTE6NTggQU0NCj4NCj4gVGhpcyBtaWdodCBiZSB0aGUgb25seSBvcGVuIGFzIEkgc3RpbGwgZGlk bid0IHNlZSB3aHkgd2UgbmVlZCBhbg0KPiBleHBsaWNpdCBmbGFnIHRvIGNsYWltIGEgJ2Z1bGwg ZGV2aWNlJyB0aGluZy4gRnJvbSBrZXJuZWwgcC5vLnYgdGhlDQo+IEFSTSBjYXNlIGlzIG5vIGRp ZmZlcmVudCBmcm9tIEludGVsIHRoYXQgYm90aCBhbGxvd3MgYW4gdXNlcg0KPiBwYWdlIHRhYmxl IGF0dGFjaGVkIHRvIHZSSUQsIGp1c3Qgd2l0aCBkaWZmZXJlbnQgZm9ybWF0IGFuZA0KDQpvYnZp b3VzbHkgdGhpcyBpcyAnUklEJyB0byBub3QgY2F1c2UgZnVydGhlciBjb25mdXNpb24gc2luY2Ug aXQNCnRhbGtzIGFib3V0IHRoZSBrZXJuZWwgcC5vLnYNCg0KPiBhZGRyIHdpZHRoIChJbnRlbCBp cyA2NGJpdCwgQVJNIGlzIDg0Yml0IHdoZXJlIFBBU0lEIGNhbiBiZQ0KPiBjb25zaWRlcmVkIGEg c3ViLWhhbmRsZSBpbiB0aGUgODRiaXQgYWRkcmVzcyBzcGFjZSBhbmQgbm90DQo+IHRoZSBrZXJu ZWwncyBidXNpbmVzcykuDQo+IA0KPiBhbmQgQVJNIGRvZXNuJ3Qgc3VwcG9ydCBleHBsaWNpdCBQ QVNJRCBhdHRhY2ggdGhlbiB0aG9zZSBjYWxscw0KPiB3aWxsIGZhaWwgZm9yIHN1cmUuDQoNClRo YW5rcw0KS2V2aW4NCg==