From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=52.101.57.12 ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1796200366; b=ustKxYYgayWB6QLZH7hr+b6OHY5cUvcFew8+JW4OoZ57tBdlsPouz3jCNG+fARgUWrGG BhtOvQjewSZ+71nA5BWTL5/i+ny6XuILCYCn4Zx0oZuHoKtZPcOzZf9Tpj/cfbIO4wd33 xXbE/w67YvjiIXW3EeO25GKoI8KKxuCRYBk7wYne21bvKAt4n7kc/U0nNy81sAjMMBWbl K4CIXHCqCHr2IBPXcqjAdDqXh/xyK0A3bGh6AZhIMyjG4ljprZK9dopqI4+cP2wDY1u+p KwyIndvnxWU2q85Cr1AigMZjq3w+WVkJYxKxkwn/IIHxqatbN24Z05iTax8JQim9i/g== ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796200366; h=DMARC-Filter:DKIM-Signature:Received:Received: X-MS-Exchange-Authentication-Results:Received-SPF:Received:Received: Received:From:To:CC:Subject:Date:Message-ID:X-Mailer:MIME-Version: Content-Transfer-Encoding:Content-Type:X-Originating-IP: X-ClientProxiedBy:X-EOPAttributedMessage:X-MS-PublicTrafficType: X-MS-TrafficTypeDiagnostic:X-MS-Office365-Filtering-Correlation-Id: X-MS-Exchange-SenderADCheck:X-MS-Exchange-AntiSpam-Relay: X-Microsoft-Antispam:X-Microsoft-Antispam-Message-Info: X-Forefront-Antispam-Report: X-MS-Exchange-AntiSpam-MessageData-ChunkCount: X-MS-Exchange-AntiSpam-MessageData-0:X-OriginatorOrg: X-MS-Exchange-CrossTenant-OriginalArrivalTime: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-Id: X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: X-MS-Exchange-CrossTenant-AuthSource:X-MS-Exchange-CrossTenant-AuthAs: X-MS-Exchange-CrossTenant-FromEntityHeader: X-MS-Exchange-Transport-CrossTenantHeadersStamped; bh=OrlEz1VIh7wgilNBtzTxAfgqfR8YjYmXW9LRhxl0ep8=; b=mOmlHla296bLx30mnIrS1y5PDHejS8RMbST+Ser9i94DGPufhAeyvPjpkflSRuruiKJ0 3FK8ztN06JMeri2hU2iE+CIl4MdET7o0eqP94ZePikoETY74urMZuciluHZV1FLG8c8qA 9+dzRFSn+E7kAD8wsD2qi5U+CyZ/RG5yekWmk4jFDDkaUwPEQWSRWH3kuQOgq13Gn/Odn qpqh6NBUchCjmNTMMTtctov1gKFwxmfZYWuhLbFWd5p0kN+SPNJV4xAJjeagWSP1WMXHn eE5zNhC8BgM/Sqtax6IbnTw79yGRCvadC2jAEUyYuXzpvyz8H7wc9g7rPMqaFGf4Ddg== ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass header.from=nvidia.com; spf=fail smtp.mailfrom=nvidia.com; dkim=pass header.d=Nvidia.com header.i=@Nvidia.com header.a=rsa-sha256 header.s=selector2 header.b=gPVNgqb3; arc=pass header.oldest-pass=0 smtp.remote-ip=52.101.57.12 Received: from BN8PR05CU002.outbound.protection.outlook.com (mail-eastus2azon11011012.outbound.protection.outlook.com [52.101.57.12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (secp384r1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0D6DC606A32C; Wed, 2 Dec 2026 08:32:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 0D6DC606A32C 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, unprotected) header.d=Nvidia.com header.i=@Nvidia.com header.a=rsa-sha256 header.s=selector2 header.b=gPVNgqb3 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=DdAatYhb//OqQYI/mVTIdjOKE9s3d0l+CM9Y/7GkuxGi/zjerTi3jgF1N7YWZfqSUrHhmI9EQgk28+4mrBXvInSk6YKvwOk4n8PgGLvM+SDpL4oH20MpEyyrE8yUYtShzzdbRwjkOivX/vi4GmJcnlPl3G+m1uoeMFNYoZWK8g4SFnSNqdballUJlcaFW5wWxjvGxnb+7lk80vVGLYvSulxjlSwihCO7lbT8DZ1+bntyyYvP/f40JYjOvkFJtztBfFc7dLkc6rm34IiAQ+gUyU987RCxt8DyCGzSQ4xiLBXiBcMS18g5ujSGsIuZAvPwmdwQAG9Ku0IKYkbBlt6LsA== 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=OrlEz1VIh7wgilNBtzTxAfgqfR8YjYmXW9LRhxl0ep8=; b=cdpd52+/osC186b9x1AyEsAlqs0XppB6o+9DNY/nc1vCEpdc4qfv8RYsAY2B7y6DsTvZjuCglSiCD/7PVa13LQl0QBH1nNXacBn7wBzioTlHLWFITG1tJY+BalURo6WMRVGWHRZRkrnN0qxZRcLEJIdL7ZzGN9DyS7xYGRO/2jQ2/ZuzzWSjtm8hnQafOzfOnsyVeVvjZiZEY4xx6muWZlI4ymro0qLlLTMyNhSFEvEmsxI08RAI433a/PTc3JApRHuVf+7fwFrctyhOmWF5o+vJNF/Sj2NKXtErHI+Z8aHl6CQIQJ+dxj9bkpdO4cK3gXTwbRVLR79iE3HSliYweg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=kernel.org 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=OrlEz1VIh7wgilNBtzTxAfgqfR8YjYmXW9LRhxl0ep8=; b=gPVNgqb3VoRmejgJs69zyh2WdUXpsF0ZToTBrOhxVGgQWl+/vx4vxdN9OQlpIARlGnVS5KEyjKJjZxQuLoQxIVgsbEoL1uU0Bolb+g56VUbnqr2zVvaZCgapbROvLfYQKRewq3HqVfdxnMPPhlG29Qf5aTfm0HMiH6Rlm9JIjWr9ODHov0widMM8IicbGNTf/hcbyyCFUp75JOKmW9LL0zVmM3SteFRHuKcqiUmWE17A8RVOtbyGlP8VdTiOOxf1iw+SA9xMp3AnwVxfstgrGTgZY7OqAlkSQEmTB5tglwILNpMbqyRA7On9MWxhVKxFVHZwBSC6BZIVeFK4jnZjCQ== Received: from BN9P220CA0023.NAMP220.PROD.OUTLOOK.COM (2603:10b6:408:13e::28) by CH3PR12MB9251.namprd12.prod.outlook.com (2603:10b6:610:1bd::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.662.12; Wed, 2 Dec 2026 08:32:35 +0000 Received: from LV8PEPF0000005E.namprd02.prod.outlook.com (2603:10b6:408:13e:cafe::62) by BN9P220CA0023.outlook.office365.com (2603:10b6:408:13e::28) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.662.13 via Frontend Transport; Wed, 2 Dec 2026 08:32:35 +0000 X-MS-Exchange-Authentication-Results: mx.microsoft.com 1; spf=pass (sender IP is 216.228.117.161) 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.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by LV8PEPF0000005E.mail.protection.outlook.com (10.167.245.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.688.5 via Frontend Transport; Wed, 2 Dec 2026 08:32:34 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.57; Wed, 2 Dec 2026 00:32:16 -0800 Received: from kalok-SPC741D16QM3.nvidia.com (10.126.231.37) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.57; Wed, 2 Dec 2026 00:32:02 -0800 From: Alok Kumar To: , , , , , CC: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Subject: [PATCH v6 00/34] Introduce NVIDIA vGPU manager Date: Wed, 2 Dec 2026 13:58:24 +0530 Message-ID: X-Mailer: git-send-email 2.53.0 X-Mailing-List: linux-pci@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: rnnvmail202.nvidia.com (10.129.68.7) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: LV8PEPF0000005E:EE_|CH3PR12MB9251:EE_ X-MS-Office365-Filtering-Correlation-Id: 7b921e68-60f1-4aba-1c2f-08df504ed0d3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700016|23010399003|1800799024|82310400026|376014|7416014|56012099006|260925021311599003|260925021911599003|261028144727099003|261022115727099003|261021121427099003|261021130227099003|261026140227099003|261022105027099003|261022075727099003|261026130827099003|261026121527099003|261102123227099003|261021123027099003|260925022911599003|261022113327099003|261021135927099003|10067099003|261009223027099003|18002099003|5023799004|11063799006|6133799003|13003099007|3023799007; X-Microsoft-Antispam-Message-Info: 2YyInhvD+i3xliZZnUwxQFcoujwEXc4KfnQQJv1Az8/gEfC8W5+6uQWZ+VcTeH5wdxVcMaSrIy2joPzWmi2NbFMeeedft2eAxdSS9i+L/RBwG+9h7uccY9woi84aP9BjDON+htLMUPN1iWRyPhnfl365bWu6wbQyAorTwxtMTL2U7Mu2TKYhfRXlRGmuDG76U3n+ektlgPElUaKXfl1tIeDVJiIW7HMRF8AMYdzAeRKGH7eWDSTtjK1Et2utp6akMe12C5FHtKf/BSeAH0rdVtA3VfYKVGRYiz2FraFbFven1kdDEw8E3lPmY+WZNeiERvS27jvS1rZFKUfnDztD3y9Z+Bwx1uXwtsAhkmn+vjzKFfm5aXLtylBKQkwOTEn22nw5ZcqsDMNivRFlh7pEAZ9MBQUr1BzF8gaFTtxVBzeftIiagDdeEWqDLI/hlbxc5gJNa0hQejnT1XkhlOZ750xy2AzLXsxjXTZuTsWBQOJw4ZvpbIccihFA/0QZuJeuya21bFB0Iafj4k7SvoEgq843NnJqIESlfSZT/RodTyQUHhW1Q9JZxExGnp0qSIZUq+mpjsFRuFQTpRzvuA3927JwNQGarv9yFP/Dv4L+Xr2uB/WttHDVvdtKEWt+CaT9I4nTUo80S6bMXRjZvR4Yx4JuOlZtc674FCCnmE5fJ0DwPpX4PhOugJrjrvmzfzl5jTWEaCeflz73xgMZjk3gzg== X-Forefront-Antispam-Report: CIP:216.228.117.161;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc6edge2.nvidia.com;CAT:NONE;SFS:(13230040)(36860700016)(23010399003)(1800799024)(82310400026)(376014)(7416014)(56012099006)(260925021311599003)(260925021911599003)(261028144727099003)(261022115727099003)(261021121427099003)(261021130227099003)(261026140227099003)(261022105027099003)(261022075727099003)(261026130827099003)(261026121527099003)(261102123227099003)(261021123027099003)(260925022911599003)(261022113327099003)(261021135927099003)(10067099003)(261009223027099003)(18002099003)(5023799004)(11063799006)(6133799003)(13003099007)(3023799007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: s2YqORSdoQQ5nFYi7e2Z/TnUbQYUqEoEwia8Yh9/8NDgTfRajrOjLivmNIWl2Q/guqKuXy00zQ5WPT5qiuI6FLFVyc3yV7/D8wrMY7k91P6q9v7FAUFuDGLlA9UKD4m4OTqz7o/U5DH3j2H/M22cy8pNWWfswznDkRvr/DqwY/HmUE2TVkrpci2Yiqx4MydOjWSnzX8hdyPcd2LgyavldMxpfKEV8tj0c0apV0lG4AfuUdpGo5hPEZxVBafDiREEJO0K1DAPtZTJI4VbXnhmwpEwlCKxBQF0C4SKrZTg5JhSutxxLi7EBxYWlWPFTnl1c3BljzC/ZbOVuIHkgaEZlEInKSsebG60iCXVkKfiwoHKV6v5z+FhDBQk0eRXFE4Tbdx8VQHfFClqLYAQGUgOIYt4PjHGbzmV7ljpcR0v90PK20mP/zFQUDCsGnLkQONK X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Dec 2026 08:32:34.9700 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7b921e68-60f1-4aba-1c2f-08df504ed0d3 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.161];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: LV8PEPF0000005E.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR12MB9251 Add the nova-core support needed to create and manage NVIDIA vGPU instances on the whole-GPU SR-IOV path. The overall control path is shown below. This series contains the nova-core manager and PF-side lifecycle APIs. Typed PF-service publication and the VFIO variant driver are separate series. +-----------------------+ +-----------------------+ | Linux guest | | Windows guest | | NVIDIA guest driver | | NVIDIA guest driver | +-----------+-----------+ +-----------+-----------+ | | +-----------v-----------+ +-----------v-----------+ | QEMU (VFIO user) | | QEMU (VFIO user) | +-----------+-----------+ +-----------+-----------+ +----------------+----------------+ | +-------v-------+ | VFIO core | +-------+-------+ | +---------------------v---------------------+ | NVIDIA vGPU VFIO variant driver | +---------------------+---------------------+ | +---------------+----------------------+ | binds PCI VF | PF lifecycle API | | open / close / reset v v +--------+--------+ +-------------+-------------+ | PCI VF(s) | | nova-core (PF driver) | | (virtual GPU) | | vGPU Manager | +--------+--------+ | VRAM / channels ... | | +-------------+-------------+ | | +-------------v--------------------------------------v----------------+ | NVIDIA physical GPU | | VF resources PF / GSP / VRAM | +---------------------------------------------------------------------+ The manager queries the type assigned to a VF by GSP-RM, reserves its channel and VRAM resources, boots and configures the GSP plugin, and handles reset and shutdown. Guest VRAM is scrubbed before reuse. A pinned VRAM slot pool owns the backing VramBlock. Framebuffer slots, management heaps, subregions and BAR1 mappings borrow that block. During normal instance removal, firmware teardown and BAR unmapping complete before the instance is removed from the registry. A failed teardown keeps the instance and its resources registered until device removal. This continues the rework of the earlier vGPU RFC [2]: firmware-facing management belongs to nova-core, while the VFIO driver binds to the VF and uses the PF's services. The companion VFIO driver does not need its own copies of the RM firmware headers. The patches are organized as follows: 1-7 VF boot information, boot state, runtime parameters and WPR2 heap. 8-14 Typed BAR1 access, mapping ownership and VRAM allocation. 15-17 Typed GMC payloads, command IDs and completion-event waits. 18-22 Plugin bindings, NVKV conversion, properties and allocation. 23-30 Plugin boot requests, communication buffers, shutdown and RPC. 31-32 CeUtils commands and guest VRAM scrubbing. 33 SR-IOV PF lifecycle APIs. 34 Preserve BAR1 self-test page-table ownership until GPU teardown. Changes since v5 [1]: - Rebase onto the newer r000 firmware integration stack. - Combine boot-context decoupling and independent boot-state detection into one patch. Pass the Copy VgpuState by value in the boot context. - Replace manual VF BAR flag shifts with a VfInfoFlags bitfield while keeping the GSP_INIT NVKV encoding unchanged. - Group channel imports in the main use block, make gpu::channel visible when another module first needs it, and use cv! directly for the channel-pool capacity conversion. - Make the pinned VRAM slot pool own VramBlock directly and propagate its borrow through regions, BAR1 mappings, communication buffers and plugin RPC state. Pin the registry and pool together so instances cannot outlive their backing allocation. - Increase MAX_FIFO_ENGINES from 64 to 256, with the same constant controlling the count check and the indexed table capacities. - Keep the BAR1 self-test lifetime fix as patch 34. Dependencies: The drm-rust-next base is: https://gitlab.freedesktop.org/drm/rust/kernel/-/commit/abfb640b2374e26de8ff81d488c39d8254db538e The complete integration tree, including the prerequisites and the companion VFIO driver, is available at: https://github.com/alokk-nvidia/nova-core/tree/nova-vgpu-wip-20261201 Previous versions: v5 posting: [1] v4 posting: [3] v3 posting: [4] v2 posting: [5] v1 posting: [6] [1] https://lore.kernel.org/all/20261124135937.18583-1-alkumar@nvidia.com/ [2] https://lore.kernel.org/kvm/20250903221111.3866249-1-zhiw@nvidia.com/ [3] https://lore.kernel.org/nova-gpu/cover.1793906667.git.alkumar@nvidia.com/ [4] https://lore.kernel.org/nova-gpu/cover.1790580105.git.zhiw@nvidia.com/ [5] https://lore.kernel.org/nova-gpu/20260914074907.1399629-1-zhiw@nvidia.com/ [6] https://lore.kernel.org/nova-gpu/20260905081116.106613-1-zhiw@nvidia.com/ Alexandre Courbot (5): gpu: nova-core: mm: replace BarUserAccess accessors with typed MMIO view gpu: nova-core: mm: add SharedGpuMm gpu: nova-core: gsp: cmdq: gmc: add types for variable-length payloads gpu: nova-core: gsp: add the vGPU commands to GmcCommandId gpu: nova-core: gsp: cmdq: add send_gmc_command_await_event Alok Kumar (2): gpu: nova-core: gsp: decode the FIFO engine table gpu: nova-core: vgpu: add VRAM slot pool Zhi Wang (27): gpu: nova-core: populate VF information in GSP_INIT gpu: nova-core: gsp: pass boot context through setup helpers gpu: nova-core: vgpu: decouple boot state from the manager gpu: nova-core: gpu: add a channel ID pool for vGPU gpu: nova-core: vgpu: initialize runtime parameters after GSP boot gpu: nova-core: vgpu: reserve the 48-VM WPR2 heap gpu: nova-core: mm: retain BAR1 reservations after unmap failure gpu: nova-core: mm: borrow BarUser for temporary BAR1 access gpu: nova-core: mm: add VramBlock gpu: nova-core: mm: add VramRegion gpu: nova-core: mm: add BarMapping gpu: nova-core: vgpu: add r000 plugin bindings gpu: nova-core: gsp: factor out NVKV payload conversion gpu: nova-core: vgpu: query VF assignments and properties gpu: nova-core: vgpu: add instance create/destroy gpu: nova-core: vgpu: encode vGPU boot requests gpu: nova-core: vgpu: add GSP plugin communication buffer gpu: nova-core: vgpu: add instance boot gpu: nova-core: vgpu: add instance shutdown gpu: nova-core: vgpu: add GSP plugin RPC transactions gpu: nova-core: vgpu: negotiate the GSP plugin RPC version gpu: nova-core: vgpu: send GSP plugin configuration parameters gpu: nova-core: vgpu: update the GSP plugin BME state gpu: nova-core: vgpu: add CeUtils commands gpu: nova-core: vgpu: scrub guest VRAM with CeUtils gpu: nova-core: vgpu: introduce SR-IOV PF APIs gpu: nova-core: mm: keep BAR1 self-test page tables alive drivers/gpu/nova-core/fb.rs | 28 +- drivers/gpu/nova-core/gpu.rs | 95 ++- drivers/gpu/nova-core/gpu/channel.rs | 4 + drivers/gpu/nova-core/gsp.rs | 7 +- drivers/gpu/nova-core/gsp/boot.rs | 2 +- drivers/gpu/nova-core/gsp/cmdq.rs | 2 +- drivers/gpu/nova-core/gsp/cmdq/gmc.rs | 68 +- drivers/gpu/nova-core/gsp/commands.rs | 11 + drivers/gpu/nova-core/gsp/commands/gmc.rs | 86 +-- drivers/gpu/nova-core/gsp/fw.rs | 23 +- drivers/gpu/nova-core/gsp/fw/commands.rs | 142 +++- .../gpu/nova-core/gsp/fw/r000_00/bindings.rs | 2 + drivers/gpu/nova-core/gsp/hal/gh100.rs | 2 +- drivers/gpu/nova-core/gsp/hal/tu102.rs | 2 +- drivers/gpu/nova-core/gsp/load_exec.rs | 9 +- drivers/gpu/nova-core/gsp/nvkv.rs | 42 +- drivers/gpu/nova-core/gsp/nvkv/encode.rs | 12 + drivers/gpu/nova-core/mm.rs | 31 +- drivers/gpu/nova-core/mm/bar_user.rs | 209 ++++-- drivers/gpu/nova-core/mm/vmm.rs | 18 +- drivers/gpu/nova-core/mm/vram.rs | 135 ++++ drivers/gpu/nova-core/nova_core.rs | 6 + drivers/gpu/nova-core/regs.rs | 31 +- drivers/gpu/nova-core/sbuffer.rs | 7 + drivers/gpu/nova-core/vgpu.rs | 136 +++- drivers/gpu/nova-core/vgpu/commands.rs | 412 ++++++++++++ drivers/gpu/nova-core/vgpu/fw.rs | 45 ++ drivers/gpu/nova-core/vgpu/fw/commands.rs | 402 +++++++++++ drivers/gpu/nova-core/vgpu/fw/r000_00.rs | 25 + .../gpu/nova-core/vgpu/fw/r000_00/bindings.rs | 183 +++++ drivers/gpu/nova-core/vgpu/gsp_plugin_comm.rs | 243 +++++++ drivers/gpu/nova-core/vgpu/gsp_plugin_rpc.rs | 174 +++++ drivers/gpu/nova-core/vgpu/instance.rs | 623 ++++++++++++++++++ drivers/gpu/nova-core/vgpu/scrubber.rs | 172 +++++ drivers/gpu/nova-core/vgpu/vgpu_api.rs | 153 +++++ drivers/gpu/nova-core/vgpu/vram.rs | 156 +++++ 36 files changed, 3493 insertions(+), 205 deletions(-) create mode 100644 drivers/gpu/nova-core/mm/vram.rs create mode 100644 drivers/gpu/nova-core/vgpu/commands.rs create mode 100644 drivers/gpu/nova-core/vgpu/fw.rs create mode 100644 drivers/gpu/nova-core/vgpu/fw/commands.rs create mode 100644 drivers/gpu/nova-core/vgpu/fw/r000_00.rs create mode 100644 drivers/gpu/nova-core/vgpu/fw/r000_00/bindings.rs create mode 100644 drivers/gpu/nova-core/vgpu/gsp_plugin_comm.rs create mode 100644 drivers/gpu/nova-core/vgpu/gsp_plugin_rpc.rs create mode 100644 drivers/gpu/nova-core/vgpu/instance.rs create mode 100644 drivers/gpu/nova-core/vgpu/scrubber.rs create mode 100644 drivers/gpu/nova-core/vgpu/vgpu_api.rs create mode 100644 drivers/gpu/nova-core/vgpu/vram.rs base-commit: 1b2c8b267ff3c9a8c83b7524debc637de02ee32b