From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A278DC433EF for ; Thu, 23 Sep 2021 12:45:24 +0000 (UTC) Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 55C7861164 for ; Thu, 23 Sep 2021 12:45:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 55C7861164 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.linux-foundation.org Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 1E5AB83EA5; Thu, 23 Sep 2021 12:45:24 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GZ1GYl6xFrf0; Thu, 23 Sep 2021 12:45:23 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp1.osuosl.org (Postfix) with ESMTPS id CE8DC80F5E; Thu, 23 Sep 2021 12:45:22 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id B3C0AC000F; Thu, 23 Sep 2021 12:45:22 +0000 (UTC) Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by lists.linuxfoundation.org (Postfix) with ESMTP id 2A05DC000D for ; Thu, 23 Sep 2021 12:45:22 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 17E416077E for ; Thu, 23 Sep 2021 12:45:22 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp3.osuosl.org (amavisd-new); dkim=pass (1024-bit key) header.d=intel.onmicrosoft.com Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id igW4J7Kr5snC for ; Thu, 23 Sep 2021 12:45:21 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by smtp3.osuosl.org (Postfix) with ESMTPS id 2B88660771 for ; Thu, 23 Sep 2021 12:45:21 +0000 (UTC) X-IronPort-AV: E=McAfee;i="6200,9189,10115"; a="309390303" X-IronPort-AV: E=Sophos;i="5.85,316,1624345200"; d="scan'208";a="309390303" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Sep 2021 05:45:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,316,1624345200"; d="scan'208";a="558342703" Received: from orsmsx605.amr.corp.intel.com ([10.22.229.18]) by fmsmga002.fm.intel.com with ESMTP; 23 Sep 2021 05:45:19 -0700 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.2242.12; Thu, 23 Sep 2021 05:45:19 -0700 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) 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.2242.12; Thu, 23 Sep 2021 05:45:18 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Thu, 23 Sep 2021 05:45:18 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.102) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Thu, 23 Sep 2021 05:45:18 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XJcrcSNrpPx7XeBWmLLHyKRvdsCn9Qh3GtWGyJUdMpBDx7Rm+yDF9IUNAyOc/CpUJQyb5KiIuUcdROx1WOahCv/oJNZ94e9G0r0xQXw7Y2maTf9xLiWdUlbw5VIAZy91hNeXZ6bl2h7xfmLy+BQR7wNhlNdXOy9Z16ln92EWCiPGFv7OHFJNPT22h5ROMGb/kTZLbyBMk7MT9rUpnr1BXF5g9v7/593n3X0tSSgfaIxYzv9NZNo1zHOWpEDj4MIc7LWwG811ZKRH+CvCQjO7qs4iX0QNGIVZH5AoVMICUGSFqL4QwP2rYq+rnNBGfWZaL4TvgUpJRYjbOABYB2Htsg== 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; bh=cBVlHyW9uWgXl652e79M9irmwfSEFgC4sA5bCmbwg8Q=; b=kMkRqyEggAsBcaTrQrmYunGDJyVS5l+1SUk2KoPfy0v8nOvH0NP3F+iF67yvcjh7qe791u16l9ZRIJl9QazJVVYItNjLhMYoSt8cOb8SA86J6kBi5LJkMdM7KxPWoa6dcx+N+twt4LvXD4xMLBxTzhbURYxKp2wYeI9W2oSmzAEvxVgUSvaJLd/z0Eyr1qDLySejb+pNepG2NrD++FjdLipSPM//O3wpC/JFeSojGF95mX98+OdelAbada0OujIa6xkpFa0qTgBGyN1Ql2nsddCHaP4cnHs4g4IUiL8mPiwmKR1cTShKIliq0+jYEZfwYPBD+LpIAENzBUBbcTyM4w== 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=cBVlHyW9uWgXl652e79M9irmwfSEFgC4sA5bCmbwg8Q=; b=vnLj0PdDlKNWgd+2pittoCM7A/MPU1uPz6bhA9O3IczXBeuAPHGf1lnktpWsK3zM7xzKbhH87hz3+xFgEdzvlvqWKSYhOkYcTXP36ZLLtuLAW5u1Z5ZJE2E1oJgvIeYyLieOPqbuvQbYjOqZ06uyRm3AAH6BU1D/ZyzGI+4ikPU= Received: from BN9PR11MB5433.namprd11.prod.outlook.com (2603:10b6:408:11e::13) by BN0PR11MB5710.namprd11.prod.outlook.com (2603:10b6:408:14a::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.13; Thu, 23 Sep 2021 12:45:17 +0000 Received: from BN9PR11MB5433.namprd11.prod.outlook.com ([fe80::ddb7:fa7f:2cc:45df]) by BN9PR11MB5433.namprd11.prod.outlook.com ([fe80::ddb7:fa7f:2cc:45df%8]) with mapi id 15.20.4544.015; Thu, 23 Sep 2021 12:45:17 +0000 From: "Tian, Kevin" To: Jason Gunthorpe Subject: RE: [RFC 11/20] iommu/iommufd: Add IOMMU_IOASID_ALLOC/FREE Thread-Topic: [RFC 11/20] iommu/iommufd: Add IOMMU_IOASID_ALLOC/FREE Thread-Index: AQHXrSGPLoYXtOF3o0iA7Cse+/LM66uuxm8AgACjoWCAALKBgIABNQdAgAA7IoCAAAByIIAABmEAgAAAUDA= Date: Thu, 23 Sep 2021 12:45:17 +0000 Message-ID: References: <20210919063848.1476776-1-yi.l.liu@intel.com> <20210919063848.1476776-12-yi.l.liu@intel.com> <20210921174438.GW327412@nvidia.com> <20210922140911.GT327412@nvidia.com> <20210923120653.GK964074@nvidia.com> <20210923123118.GN964074@nvidia.com> In-Reply-To: <20210923123118.GN964074@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nvidia.com; dkim=none (message not signed) header.d=none;nvidia.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: aa10499e-1396-4a0e-3f5e-08d97e8ffef2 x-ms-traffictypediagnostic: BN0PR11MB5710: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: e/glb2DgQv1xpSwV9BY0idjMP5mh5f9OVfX1T/DNjEVp6eflWuUHWsnxFVjnxYVmuSneAD2RroN3m5k7EaWBSsjhwi7Y6PcclLDzsfIZxpLTYFSFjfqIh0v7Mn1RRZf0SLBiJ48xRrQlktNVn066JmPHI++FkeyMepJTnGnuGcNlpIapNKFao9hT342TW50XlGq3o2ZQCubI3lTkbzyebctXILNPmP5k97wR7gm5en740/cs1LrPMRSvSqrny5enjfDlYzqrjK7ilq3wnV3pc5dwcB44vqr47mj0WM7NGdTJllSI3lDKBkM6Frjwq20wwfAPpw78ci2omdnswbxMBfjS/v47Wz7Hb7yoIOj3C5ruFXO94l8zK9PxNypk4sstkkkndMTJrQD0UXZe8tp0Yti0XvKHQ7Ku4kVobt4E01LIDo3SP26O1zEC8hnhg5EIR1m6grusqQhP2H+hi+HOyNUNWoupI6HwUZD2hybbiZEbq8Dh8HaB+dGYayc29CcnM+XbRYwnbs2v8974DCTZPCsJQ9gkXWB4X8wPgB4DCTAS7FY43M0ZFZTFdbZEj0JNdw6ShD//WL29PsVcCoYF8rX0YGfUH9ZqtUFyeLOzu2D0IIgrdEnL+1u91uYXJ9LE6TFAAarhkOsxGAs+hGwzRL4NpPNhQN9C6XzvpduukGFhCh3HcFr3SfattuuJEFAiqLJ/DPbSjdJzZospIpRc3KKcEQmQQvxCFdTcsdIYx0I= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN9PR11MB5433.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(84040400005)(26005)(2906002)(316002)(33656002)(5660300002)(66446008)(66946007)(508600001)(54906003)(66556008)(64756008)(8676002)(7416002)(76116006)(66476007)(83380400001)(38070700005)(6506007)(6916009)(52536014)(8936002)(186003)(9686003)(55016002)(7696005)(122000001)(4326008)(86362001)(71200400001)(38100700002)(84603001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?bKEMgV0mi50ajXgiCxfRkcsfHZNb5Bmnq46zXcp00PKd9k2JeI7xMYn57sWj?= =?us-ascii?Q?GYCBQ3UHwISc86efuWblZF+vj0hOUMV1B3q/UVuu5te0RErlPBaRDyeO1U78?= =?us-ascii?Q?MzOcndr3V2fLnC5th7l5eP8d+zxfTO1Iy+HTQyPtgcUfLQSliyx26hY1rTi/?= =?us-ascii?Q?JA2+PwCx5JfCRFt6O+km3iYk3h1q4sIZm7b6TyJn11CYWd+D8UhIqB78798D?= =?us-ascii?Q?+eGbiHj/Kpoo8MekEluUVHcdTFGdMiiCqnsq2GLIa7UuRGLSn8pQ/BOIQOjS?= =?us-ascii?Q?1S4Y8pLEeYtOcMB59qOSzldATo0Jba00kpzMpr4c6C9wbmnI3Pel9r0aoi0J?= =?us-ascii?Q?l8+9Ha/tlkX+hoHVudLNBQc6K3F4teJY4LB0cqDr7s0znKcAjQnX82D2LZjY?= =?us-ascii?Q?jU4K6BO89+yaRp1dvQJPLLztL3/C5D00BFzkmOJQipp47nvCdmI2mRhB5eHy?= =?us-ascii?Q?kvK3d43HJ4+HyqWxU8ljfM/ICv1FBDidxD67Sgb7LBz7Q5b2QFSbq22KSZcP?= =?us-ascii?Q?EzuR3lj6W6BWj6Sf/cFFx9vYKDEuTsFIZ63Qn4+DrdRGVWVtKMWTxZNEr+yW?= =?us-ascii?Q?6Koa83eCcmy4/Vbdk2NnywS71VEea4kJbYI8pnp5Hvtkwb/B5NKlKBDdImKZ?= =?us-ascii?Q?AVDdSvBZ+ph/g5YwA4rntF+qzefh+/wrsLVIEIlo+uM0ekrSNk8Wq4yNwbEp?= =?us-ascii?Q?+eJanJzIOv/aGURiZBjyXpuu0RcEu5OLjzSntc/5GjnOCoeBT/0UBcqcvMKr?= =?us-ascii?Q?qTjtdD7SvIwXuZHL2b/JkxIJDzCEj/x3uty3Lm8CKqPi2gqQ/LDd9VoaFzq+?= =?us-ascii?Q?Tou9ir/YqhA/8LvApzC//+hS4zye2kGMb9HDVwBI0lSg3MNWV9AE2yHph81S?= =?us-ascii?Q?OjQDIDI5wV6gkm0kqu7qaqI85jvJfVrK3OHRGCWY1q7QcKAzN5c/qbxoWs0l?= =?us-ascii?Q?iUyUNlPC2Lr+AHNktdmDk4j/U0df5p8w6Ds7yVeo45FAyoWz94HtApC5xFAV?= =?us-ascii?Q?7BXzQtzQUUGz8IDlKTcQLd0Rz5RlY2ECIpRDXYJtTOp/YMr1PaM4PGf28GoE?= =?us-ascii?Q?GP/+YGpEoOkSrkjSa/xj5ycIBsuMKMN4juP0X9JFuPNCK/be0ypGI9Ph6y3x?= =?us-ascii?Q?AYFy8p/gnlXBQRxrRVWUuXpU6ZSL/uYgEyaD4lZ9yV5PUUvII0W+XTpGqNzu?= =?us-ascii?Q?VLsukX5Z/aYGMHfrJ55/3in73i5+CBOrSG9258s1mUaOTPNdzEeb3VrbXAYW?= =?us-ascii?Q?vV0eVN74j8zpoDwni55MNj6NOcjZitw9E/x8XE7kxUK7amiaeYOpxcn2KpSc?= =?us-ascii?Q?IZAYlNc6irHH3pef7vUHIg2+?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BN9PR11MB5433.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: aa10499e-1396-4a0e-3f5e-08d97e8ffef2 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Sep 2021 12:45:17.0595 (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: RkQR1wh/4wSJiPbIRYsUEXqe5Db/Eh05nmF39yT1nAd4lRVBSmwKRBmEqsKVQFVlVfI9Xm8MSOWuZvEBy+QYEg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN0PR11MB5710 X-OriginatorOrg: intel.com Cc: "kvm@vger.kernel.org" , "jasowang@redhat.com" , "kwankhede@nvidia.com" , "hch@lst.de" , "jean-philippe@linaro.org" , "Jiang, Dave" , "Raj, Ashok" , "corbet@lwn.net" , "parav@mellanox.com" , "alex.williamson@redhat.com" , "lkml@metux.net" , "david@gibson.dropbear.id.au" , "dwmw2@infradead.org" , "Tian, Jun J" , "linux-kernel@vger.kernel.org" , "lushenming@huawei.com" , "iommu@lists.linux-foundation.org" , "pbonzini@redhat.com" , "robin.murphy@arm.com" X-BeenThere: iommu@lists.linux-foundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Development issues for Linux IOMMU support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: iommu-bounces@lists.linux-foundation.org Sender: "iommu" > From: Jason Gunthorpe > Sent: Thursday, September 23, 2021 8:31 PM > > On Thu, Sep 23, 2021 at 12:22:23PM +0000, Tian, Kevin wrote: > > > From: Jason Gunthorpe > > > Sent: Thursday, September 23, 2021 8:07 PM > > > > > > On Thu, Sep 23, 2021 at 09:14:58AM +0000, Tian, Kevin wrote: > > > > > > > currently the type is aimed to differentiate three usages: > > > > > > > > - kernel-managed I/O page table > > > > - user-managed I/O page table > > > > - shared I/O page table (e.g. with mm, or ept) > > > > > > Creating a shared ios is something that should probably be a different > > > command. > > > > why? I didn't understand the criteria here... > > I suspect the input args will be very different, no? yes, but can't the structure be extended to incorporate it? > > > > > we can remove 'type', but is FORMAT_KENREL/USER/SHARED a good > > > > indicator? their difference is not about format. > > > > > > Format should be > > > > > > FORMAT_KERNEL/FORMAT_INTEL_PTE_V1/FORMAT_INTEL_PTE_V2/etc > > > > INTEL_PTE_V1/V2 are formats. Why is kernel-managed called a format? > > So long as we are using structs we need to have values then the field > isn't being used. FORMAT_KERNEL is a reasonable value to have when we > are not creating a userspace page table. > > Alternatively a userspace page table could have a different API I don't know. Your comments really confused me on what's the right way to design the uAPI. If you still remember, the original v1 proposal introduced different uAPIs for kernel/user-managed cases. Then you recommended to consolidate everything related to ioas in one allocation command. Can you help articulate the criteria first? > > > yes, the user can query the permitted range using DEVICE_GET_INFO. > > But in the end if the user wants two separate regions, I'm afraid that > > the underlying iommu driver wants to know the exact info. iirc PPC > > has one global system address space shared by all devices. It is possible > > that the user may want to claim range-A and range-C, with range-B > > in-between but claimed by another user. Then simply using one hint > > range [A-lowend, C-highend] might not work. > > I don't know, that sounds strange.. In any event hint is a hint, it > can be ignored, the only information the kernel needs to extract is > low/high bank? iirc Dave said that the user needs to claim a range explicitly. 'claim' sounds not a hint to me. Possibly it's time for Dave to chime in. > > > yes PPC can use different format, but I didn't understand why it is > > related user-managed page table which further requires nesting. sound > > disconnected topics here... > > It is just a way to feed through more information if we get stuck > someday. You mean that we should define uAPI for all future possible extensions now to minimize the frequency of changing it? > > > > ARM *does* need PASID! PASID is the label of the DMA on the PCI bus, > > > and it MUST be exposed in that format to be programmed into the PCI > > > device itself. > > > > In the entire discussion in previous design RFC, I kept an impression that > > ARM-equivalent PASID is called SSID. If we can use PASID as a general > > term in iommufd context, definitely it's much better! > > SSID is inside the chip and part of the IOMMU. PASID is part of the > PCI spec. > > iommufd should keep these things distinct. > > If we are talking about a PCI TLP then the name to use is PASID. If Jean doesn't object... > > > > All of this should be able to support a userspace, like DPDK, creating > > > a PASID on its own without any special VFIO drivers. > > > > > > - Open iommufd > > > - Attach the vfio device FD > > > - Request a PASID device id > > > - Create an ios against the pasid device id > > > - Query the ios for the PCI PASID # > > > - Program the HW to issue TLPs with the PASID > > > > this all makes me very confused, and completely different from what > > we agreed in previous v2 design proposal: > > > > - open iommufd > > - create an ioas > > - attach vfio device to ioasid, with vPASID info > > * vfio converts vPASID to pPASID and then call > iommufd_device_attach_ioasid() > > * the latter then installs ioas to the IOMMU with RID/PASID > > This was your flow for mdev's, I've always been talking about wanting > to see this supported for all use cases, including physical PCI > devices w/ PASID support. this is not a flow for mdev. It's also required for pdev on Intel platform, because the pasid table is in HPA space thus must be managed by host kernel. Even no translation we still need the user to provide the pasid info. > > A normal vfio_pci userspace should be able to create PASIDs unrelated > to the mdev stuff. > > > > AFAICT I think it is the former in the Intel scheme as the "vPASID" is > > > really about presenting a consistent IOMMU handle to the guest across > > > migration, it is not the value that shows up on the PCI bus. > > > > It's the former. But vfio driver needs to maintain vPASID->pPASID > > translation in the mediation path, since what guest programs is vPASID. > > The pPASID definately is a PASID as it goes out on the PCIe wire > > Suggest you come up with a more general name for vPASID? > as explained earlier, on Intel platform the user always needs to provide a PASID in the attaching call. whether it's directly used (for pdev) or translated (for mdev) is the underlying driver thing. From kernel p.o.v, since this PASID is provided by the user, it's fine to call it vPASID in the uAPI. Thanks Kevin _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu