Message ID | cover.1730836308.git.nicolinc@nvidia.com (mailing list archive) |
---|---|
Headers | show
Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2085.outbound.protection.outlook.com [40.107.236.85]) (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 703ED215F4F; Tue, 5 Nov 2024 20:05:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.236.85 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730837150; cv=fail; b=dQoq+RJlD0gImRFH21GZ8QAxb2zzH63Zy0BrJaDe7UDo8PvYA1OcgO/8OVxg6bw7L/1eE0UW8gyn0cn1vaJQiMP7mGzSFPNC0iGO7F+AQfuno0DQkc/X4qqlGmIOHYtZqGYCZURV5dQu5GL08xu3MZvNLkZeDNlrVtZqPYikreE= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730837150; c=relaxed/simple; bh=86nqBWZ+ndhJzPrS1D0edZwYcrU7HJSqmeKOiw83xnE=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=UjJ87UB79H5kdMRtpcXa8JxNsnvjVIDnf4KfVVbYoWuEYpK3QVVD8glIibjkCIdCUXvL9PewGQONQHa+tHhzlRvn9QqYRS6pyBGPEJ7fVUjkr/+qHhZnNEFgVfB6PcfEvLnBIyOthfHRlueK6HlL+9NCIRiL6266TR6APIxwtqE= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com; spf=fail smtp.mailfrom=nvidia.com; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b=A1fV2G++; arc=fail smtp.client-ip=40.107.236.85 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=nvidia.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=nvidia.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=Nvidia.com header.i=@Nvidia.com header.b="A1fV2G++" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Nfg+8TAcsmoIgRiBFVt2m1rLjjBWyREX77LLC4uihk1R6sqU8TZenvMdVxZKbJvTRPObTA8Jy/n4zObwkRO7Vo+omomWBODkVvhg7EhkYamzrXa09iu/Nal8DBR32D7GmLBqT3mL66qMwcxGWLvzja52ul7Lji9Wpr20mlrpfvczIkvaz0J6Nu/jBjp/brcNEhMPlLVZNCCatpuyL2k3eTCi3zIdP/Iio5At3IhMEXDzwlDqEw005k9NRMidLwnjg7lFc7WNG5JWSG+xqKcBGOfhpUhnZgAABKWgn5gsRe769CSQgV3/cmvIThkaUfqa3WC4Y4GmlTc7UT84eMALsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=ftAwVupF1RIfjpypmJY+TqJCMPEaefDiiN3ztfxPT9o=; b=fWXaM+ieXw40/a/N6nk/2EbW9p9+dyAaYA8qWfUk3O7E+g3S4bzlEmgCNMv4z0C8iJiJnpy2uFPPBp5it/sk25WAV9NOLVOB9bvJl1uVYNOC2MKC3b8CjVnJmhhaFtEb31PZvQ+qcO02i/tw+lmlXH/YIp6BtR5tBbzbpI0ueRcwR7zE+jczPiT39OV3KayhQetodEESEYMuVLGqdTEIBqMoLgzdkYFyj6ixDbkI5xncG+qZcQDktjzVxNO9GSVm4PHb943KmhT76nJuj/GyUK7ot8QgL4hs7hU7f1lDBfxdDkZx4EvzQmc2QSu9YGxtJ7r4/zDseWTT4V6OJ3I3+Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=amd.com smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ftAwVupF1RIfjpypmJY+TqJCMPEaefDiiN3ztfxPT9o=; b=A1fV2G++kRG9829Cv3ZfvFk10oJpbBUUTj/ogyJ12DNdR65aUORLMSzXzDmw5ImgxgDyk+gRvAtdCtD3Re76s8iVuPgBYhGH8ZgsUFHGdkdjk3DJwjYPDftKlbR17HkTCFAXDnteEjE6Hzzv0his+6TgGhb3kznANNF5aHQRPMVPW+HWJ5xjsYliKNyowpt2lo2TTAfpLT6A/3FYdRxW43neWx/pUalYj6vQw/zsfrttjHgVE3TWfvFfeBMv2LNnMKtpLLl7mhsykFOVBfCKwsfeRt1UuE7KVavGkQ7AC3qxY/Nv1ZD57vXnRVNOuV8ObIB+g5CYIuODvpeSAHUZkw== Received: from MN0P220CA0022.NAMP220.PROD.OUTLOOK.COM (2603:10b6:208:52e::12) by CH3PR12MB8307.namprd12.prod.outlook.com (2603:10b6:610:12f::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8114.31; Tue, 5 Nov 2024 20:05:43 +0000 Received: from BL02EPF00021F69.namprd02.prod.outlook.com (2603:10b6:208:52e:cafe::89) by MN0P220CA0022.outlook.office365.com (2603:10b6:208:52e::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8137.18 via Frontend Transport; Tue, 5 Nov 2024 20:05:43 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by BL02EPF00021F69.mail.protection.outlook.com (10.167.249.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8137.17 via Frontend Transport; Tue, 5 Nov 2024 20:05:43 +0000 Received: from rnnvmail202.nvidia.com (10.129.68.7) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Tue, 5 Nov 2024 12:05:26 -0800 Received: from rnnvmail202.nvidia.com (10.129.68.7) by rnnvmail202.nvidia.com (10.129.68.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Tue, 5 Nov 2024 12:05:26 -0800 Received: from Asurada-Nvidia.nvidia.com (10.127.8.13) by mail.nvidia.com (10.129.68.7) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Tue, 5 Nov 2024 12:05:24 -0800 From: Nicolin Chen <nicolinc@nvidia.com> To: <jgg@nvidia.com>, <kevin.tian@intel.com>, <corbet@lwn.net> CC: <joro@8bytes.org>, <suravee.suthikulpanit@amd.com>, <will@kernel.org>, <robin.murphy@arm.com>, <dwmw2@infradead.org>, <shuah@kernel.org>, <iommu@lists.linux.dev>, <linux-doc@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <linux-kselftest@vger.kernel.org>, <baolu.lu@linux.intel.com>, <eric.auger@redhat.com>, <jean-philippe@linaro.org>, <mdf@kernel.org>, <mshavit@google.com>, <shameerali.kolothum.thodi@huawei.com>, <smostafa@google.com>, <yi.l.liu@intel.com>, <aik@amd.com>, <zhangfei.gao@linaro.org>, <patches@lists.linux.dev> Subject: [PATCH v7 00/10] iommufd: Add vIOMMU infrastructure (Part-2: vDEVICE) Date: Tue, 5 Nov 2024 12:05:08 -0800 Message-ID: <cover.1730836308.git.nicolinc@nvidia.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: <linux-kselftest.vger.kernel.org> List-Subscribe: <mailto:linux-kselftest+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kselftest+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL02EPF00021F69:EE_|CH3PR12MB8307:EE_ X-MS-Office365-Filtering-Correlation-Id: 13c70227-9cd8-4564-3b30-08dcfdd53aa0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|1800799024|7416014|376014|82310400026; X-Microsoft-Antispam-Message-Info: JOQYyhu54i8r/pvvAx3EnhLKDXDqoSe6dDWEjDitsGV38g5h1FmpDeTAHG5WhtelXptP9eAX7y1mMTDSOmOzEkApCFzwtuDVt72n4c5L/vGSxP42h3Ji9ifYSaqO495Uiqbsh/SbA3/W8f3qcbebZeEHMEzKGRMO/bPgFXlmR6IgWqZ+sRohpAxDpRFWPptMsBue91aavra12jT9D5+UsChk4ncrSbU1+GAB3E2feYk+OeIU5G1C/Swkel0jAKeH7OCXFwt6mARkDLzgpQrTvvWw7zdWGpLxx/+ZHkd6t0RAXdqqkusnoLq3y3sPQ4Jcc9ORIO2XQbp7GGUDfzBy7sPDiw+2axnD0rfKf+X0C3rtJUmVazcgR2iYHzeSC/s3/UTHXZiB0/k9oTu3xBlugENIFB6hWUokfGOYzIXj2Vg7Ko0KhlFtHeDb+09ZDa3AWvfeXyqVI6k2hiokTNpKPg7990KlfQ0u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800799024)(7416014)(376014)(82310400026);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Nov 2024 20:05:43.1177 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 13c70227-9cd8-4564-3b30-08dcfdd53aa0 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.117.160];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BL02EPF00021F69.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR12MB8307 |
Series |
iommufd: Add vIOMMU infrastructure (Part-2: vDEVICE)
|
expand
|
On Tue, Nov 05, 2024 at 12:05:08PM -0800, Nicolin Chen wrote: > Jason Gunthorpe (1): > iommu: Add iommu_copy_struct_from_full_user_array helper > > Nicolin Chen (9): > iommufd/viommu: Add IOMMUFD_OBJ_VDEVICE and IOMMU_VDEVICE_ALLOC ioctl > iommufd/selftest: Add IOMMU_VDEVICE_ALLOC test coverage > iommu/viommu: Add cache_invalidate to iommufd_viommu_ops > iommufd: Allow hwpt_id to carry viommu_id for IOMMU_HWPT_INVALIDATE > iommufd/viommu: Add iommufd_viommu_find_dev helper > iommufd/selftest: Add mock_viommu_cache_invalidate > iommufd/selftest: Add IOMMU_TEST_OP_DEV_CHECK_CACHE test command > iommufd/selftest: Add vIOMMU coverage for IOMMU_HWPT_INVALIDATE ioctl > Documentation: userspace-api: iommufd: Update vDEVICE Applied to iommufd for-next Thanks, Jason