Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp667970lqp; Wed, 22 May 2024 16:44:06 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVjdn6lbF8t8cq46Iuby8bJPgsywIDCHADjiXz4ltDi7ov8kKmVMRFPDQvHbN1A1DzsT8Of9o9Jx0m98jTo+zoS5vd7HAA1BPAz+3CmSQ== X-Google-Smtp-Source: AGHT+IFasojloaOgTeYj75DCxdEGV8dBDw7x/zFib51ACpoNjYoWkf2yd6biy1/3oaESssu4kJ1z X-Received: by 2002:a05:6a00:4f82:b0:6f4:59cd:717 with SMTP id d2e1a72fcca58-6f6d619153cmr3808181b3a.28.1716421446568; Wed, 22 May 2024 16:44:06 -0700 (PDT) Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f4d2b1bb25si26651764b3a.251.2024.05.22.16.44.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 16:44:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-186833-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=go0SVbHL; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-186833-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186833-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 2CFF7281F61 for ; Wed, 22 May 2024 23:44:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1E5C414C5BF; Wed, 22 May 2024 23:43:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="go0SVbHL" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0237A146A6E; Wed, 22 May 2024 23:43:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=192.198.163.7 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716421437; cv=fail; b=uy28P6ubJHdfXOjUM0JUnuVyUXGK4VjJa7Q2if/TxdmgOlQqfz/CPuv+SxTSngcjrsC/FAAx7Zp/g/W8rYR6zH64A92XQ0zdMSflTIm7S7HUAuyjdultIrIgciQGkTsxbOGeNfZKS/dGIBbCfIpy95uXWt2ljHWEAgUC2R1sa6o= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716421437; c=relaxed/simple; bh=6S+NCxkltd1eq6k13uF2TKTTirceVwwEftjpyv42e6s=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=U8D1QKURACWrN0cr2Mo5Wp20PQmI43DQasP4Tt3Idlmc8ly9436klq/i/uLGqJifhmRgWuWtGO4g41M3UTIz328BLzrV2u33q6F7+EY86Weqo4/6+2kpdSLw/bQ2OkenCbA4svQm7RT/N+79g1mM3sLxFWTezp2QOiwEW5WB/y0= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=go0SVbHL; arc=fail smtp.client-ip=192.198.163.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1716421436; x=1747957436; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=6S+NCxkltd1eq6k13uF2TKTTirceVwwEftjpyv42e6s=; b=go0SVbHLwm7eWwH9iCcsF+lE3SxYG1WhSkAsXJBuu2mQgUtDyx8gOXiy LPR+TT4oHxaoi0IX7+MA/ELd+1o5M6VAjniMezRRudroDmfzH+GAQH0j4 3mswCIUk/qYEA/noOUq3L/raO/ZE/az5wr3eR+HM9jxBeWZNVSitOWYZH yjd2YeojAuWDpsELGMLu8V+E5eJqkMFbdny/54r9tIj4S46JOmcv3zHAa gmS1wgWL9Pp5Ip2sGJE2GCPG6oHtn8jtkMEP+JVkakeBWZjTcCejFWB/R mQopQpPmF3Kstz/HsnFVB7+3jlKSS+30KF5lfGldCYXRFuskQBbf2dwXp Q==; X-CSE-ConnectionGUID: IrvT7DaqSy69KweFxzdGKw== X-CSE-MsgGUID: KRrRa1aDQdW1mRJxuHHDIA== X-IronPort-AV: E=McAfee;i="6600,9927,11080"; a="38088805" X-IronPort-AV: E=Sophos;i="6.08,181,1712646000"; d="scan'208";a="38088805" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 May 2024 16:43:55 -0700 X-CSE-ConnectionGUID: o8DCTdf4RECKPsXEcibLtQ== X-CSE-MsgGUID: mCDCqli8RcSsa3GA2LYxpA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,181,1712646000"; d="scan'208";a="70863301" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orviesa001.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 22 May 2024 16:43:55 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Wed, 22 May 2024 16:43:54 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Wed, 22 May 2024 16:43:53 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39 via Frontend Transport; Wed, 22 May 2024 16:43:53 -0700 Received: from NAM02-DM3-obe.outbound.protection.outlook.com (104.47.56.41) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Wed, 22 May 2024 16:43:53 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HGDL8ZSiSTZJ8Q2XFEefwCi4np0gnYW5VkXMj0m5YU8u3ZhxFxZD051HM209BslAgEHBwc7zqCQGe08KmGjRpt58sJIOgb0c3Y04lrX46Z0w5XdXyQ3qgmrBCcb1tSjhYuvt0zyDDKXV0KVRNTSfM9Bn7lnJ99PrFzi6yc4SGVEcsv6JkAT8xSiMduXzRCMcFpqd44vZuYshmXMx/KQm5yaHnEHFyoi5/Ke6cdIh7k9MhzQJCo2w4Q5OJhKfv8BhbRuxo267+u24JBxhxvv2WUVipk47HMknouL4E7opjJDGmjma+8f0doNJfnOJRnol53r/Z6vDAlXAvpIcpZx/zg== 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=6S+NCxkltd1eq6k13uF2TKTTirceVwwEftjpyv42e6s=; b=jyAGFSN6ufGwHplrC3oQ2A2SUEPrXH6Y5UEMdKsjObTxYMcPiZdN+zrMz9+ktQNwfRQK3yEZU4/EzZRscFpWfZQJbeRUxpX790X2wqLebYYOEEB93IpDm2XY5dW8KufqEeESBpKul+15tywHjrhF9ob9Dc7jrqQ/v1RV5gD5JTzC9XQaF4zMPWdLmrMCUgsxsGDboNevbvKSHdjWn/Jh9/9I07+2ZtiggxVtJewYhKmf8g1uCiM8dmIQoWBVwIT4iQa8M5CDhVNqGrKZxkYEBweDtcmEAwf+lImgiMJkWOuQY+WUaKVmv8+ZPpGo9y0fSORTPYmc6jRAT2IH4i1sLg== 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 Received: from BN9PR11MB5276.namprd11.prod.outlook.com (2603:10b6:408:135::18) by LV3PR11MB8727.namprd11.prod.outlook.com (2603:10b6:408:20d::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7587.35; Wed, 22 May 2024 23:43:51 +0000 Received: from BN9PR11MB5276.namprd11.prod.outlook.com ([fe80::b576:d3bd:c8e0:4bc1]) by BN9PR11MB5276.namprd11.prod.outlook.com ([fe80::b576:d3bd:c8e0:4bc1%5]) with mapi id 15.20.7611.016; Wed, 22 May 2024 23:43:51 +0000 From: "Tian, Kevin" To: Jason Gunthorpe , Nicolin Chen CC: "will@kernel.org" , "robin.murphy@arm.com" , "suravee.suthikulpanit@amd.com" , "joro@8bytes.org" , "linux-kernel@vger.kernel.org" , "iommu@lists.linux.dev" , "linux-arm-kernel@lists.infradead.org" , "linux-tegra@vger.kernel.org" , "Liu, Yi L" , "eric.auger@redhat.com" , "vasant.hegde@amd.com" , "jon.grimm@amd.com" , "santosh.shukla@amd.com" , "Dhaval.Giani@amd.com" , "shameerali.kolothum.thodi@huawei.com" Subject: RE: [PATCH RFCv1 00/14] Add Tegra241 (Grace) CMDQV Support (part 2/2) Thread-Topic: [PATCH RFCv1 00/14] Add Tegra241 (Grace) CMDQV Support (part 2/2) Thread-Index: AQHajVVgzSKGnSPg+UW1Z+6EC5j/q7GjLESAgACIwgCAADIFgIAAPc+AgAADkSA= Date: Wed, 22 May 2024 23:43:51 +0000 Message-ID: References: <20240522164818.GB20229@nvidia.com> <20240522232833.GH20229@nvidia.com> In-Reply-To: <20240522232833.GH20229@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-traffictypediagnostic: BN9PR11MB5276:EE_|LV3PR11MB8727:EE_ x-ms-office365-filtering-correlation-id: 5a98653f-a569-4d6e-6d24-08dc7ab90905 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0;ARA:13230031|7416005|1800799015|376005|366007|38070700009; x-microsoft-antispam-message-info: =?us-ascii?Q?t/HIqwlmw3A4f83QHb8cR8dI8dCqXLstIGQQRCfKXqCniSJCGXvn/+oCNtu5?= =?us-ascii?Q?ranc6qTbj/BLfAAHyqUPeWUdzDaQe52mQwMoRyz7wOWaPoRpgGxw6HUWAI/o?= =?us-ascii?Q?nfc85zuxsenhsMrvSUaTAt0BBxCSSAzlRYzRJfzd0mEThRnDuj40fSXDzRUj?= =?us-ascii?Q?dYXpVu5EG9ZEakQ4nQjVbovsezId/jhl9Kll7r2n7rpUEAHKFdlfCNp9pK1f?= =?us-ascii?Q?pXJs5EOalNftMrZ2K3X+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ascii?Q?+QLkuvxHVjg5XY9bGv5lhaS7+GTh24ERXaGuEjqJWHnoABPVsILhh8B5dhOi?= =?us-ascii?Q?vyQGjzGdxhMG++Vm474KwIeg/8CzA+B5Lal6zGoMr2ckUXVhGMZVOHQav2YA?= =?us-ascii?Q?VCtpPZR2lSFHPuKYRQwgGDQ0C7JuOa7g4mlcZcg+DuPnmMXSvPRCBpoFB52/?= =?us-ascii?Q?DPsImfLpmciVgL28wYDUyCn6JQUtnVxoP6WKJQFHCIAEog=3D=3D?= 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:(13230031)(7416005)(1800799015)(376005)(366007)(38070700009);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?iqPh/llYkh0X33q69qD/jGagbgC2/Xnl49FUeVYnJdT9oa1uZdxgAhtKh7zN?= =?us-ascii?Q?QRswdBUsSP6fKjZayHiezaKyFJWUdFmFYpurPToCEpYvOfW6/VCbDUdd6ZCu?= =?us-ascii?Q?JxNO7wAuI6gKxwloEjpiaBztbKuCMkqqmTCDjq5pd3dhj/68KfZIkrjon/vk?= =?us-ascii?Q?Cg+rHewX4C9faiN5xbG7xFSWk5tIlre6R5eeuQCrqFsg8IY3kUlZnerL8xoA?= =?us-ascii?Q?fVuGlMPNojMX1JtT6bPy6oNl4Y2BWmumj7PLlUI4bIz39ev0k1aCd1ZcwShZ?= =?us-ascii?Q?r51G26MscimlNXMCJCyyKxrpSCdPnEy23MUTybxAYxxYY/WnxqVT4T4yNr2K?= =?us-ascii?Q?cFRWVK830GqdQBsyRHicUTugYKi+vYeold/iVP2WAABCLjdwl6YTljXcTH4c?= =?us-ascii?Q?Jweds4D+RkKVSQGolrav74dEW6ECXtfDFiHtayktEfJfwgP+XuQ5s3nP/Ncv?= =?us-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cBN+zlNQR7LbCChWoFnkAGQFnP?= =?us-ascii?Q?8uEN1Ugy+Cyan0JZwRafWo6V0Vz0+9Bi2u6oOmL1Tist2tp3aLNh/eQFTFxf?= =?us-ascii?Q?re8XAa/VeW3lQzpwDvk5pI66xocsbHfu2xx3rFLGTx+ywP6palcmWuKsSXe0?= =?us-ascii?Q?Pj6BwRwY+HTqduOGJEpOY4zhVuoEDyUhU71GXfY0XVON3Wps8REkYUEAc8Lp?= =?us-ascii?Q?sLn0ZqLHmns50NdZK9eN4ayUbHH2jELRYuYBc93a?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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: 5a98653f-a569-4d6e-6d24-08dc7ab90905 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 May 2024 23:43:51.8144 (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: 9B62rw5v0OzlExL/41uNvhgRSO4b9e3GdasrAK/DBLgFHWlafo2DqW1C8M/24SdCnWb85/F6fjYtL6RYoIX7Fg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV3PR11MB8727 X-OriginatorOrg: intel.com > From: Jason Gunthorpe > Sent: Thursday, May 23, 2024 7:29 AM >=20 > On Wed, May 22, 2024 at 12:47:19PM -0700, Nicolin Chen wrote: > > On Wed, May 22, 2024 at 01:48:18PM -0300, Jason Gunthorpe wrote: > > > On Wed, May 22, 2024 at 08:40:00AM +0000, Tian, Kevin wrote: > > > > > From: Nicolin Chen > > > > > Sent: Saturday, April 13, 2024 11:47 AM > > > > > > > > > > This is an experimental RFC series for VIOMMU infrastructure, usi= ng > NVIDIA > > > > > Tegra241 (Grace) CMDQV as a test instance. > > > > > > > > > > VIOMMU obj is used to represent a virtual interface (iommu) backe= d > by an > > > > > underlying IOMMU's HW-accelerated feature for virtualizaion: for > example, > > > > > NVIDIA's VINTF (v-interface for CMDQV) and AMD"s vIOMMU. > > > > > > > > > > VQUEUE obj is used to represent a virtual command queue (buffer) > backed > > > > > by > > > > > an underlying IOMMU command queue to passthrough for VMs to > use > > > > > directly: > > > > > for example, NVIDIA's Virtual Command Queue and AMD's Command > Buffer. > > > > > > > > > > > > > is VCMDQ more accurate? AMD also supports fault queue passthrough > > > > then VQUEUE sounds broader than a cmd queue... > > > > > > Is there a reason VQUEUE couldn't handle the fault/etc queues too? Th= e > > > only difference is direction, there is still a doorbell/etc. No reason. the description made it specific to a cmd queue which led me the impression that we may want to create a separate fault queue. > > > > Yea, SMMU also has Event Queue and PRI queue. Though I haven't > > got time to sit down to look at Baolu's work closely, the uAPI > > seems to be a unified one for all IOMMUs. And though I have no > > intention to be against that design, yet maybe there could be > > an alternative in a somewhat HW specific language as we do for > > invalidation? Or not worth it? >=20 > I was thinking not worth it, I expect a gain here is to do as AMD has > done and make the HW dma the queues directly to guest memory. >=20 > IMHO the primary issue with the queues is DOS, as having any shared > queue across VMs is dangerous in that way. Allowing each VIOMMU to > have its own private queue and own flow control helps with that. >=20 and also shorter delivering path with less data copy?