mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alok Kumar <alkumar@nvidia.com>
To: <dakr@kernel.org>, <acourbot@nvidia.com>, <kvm@vger.kernel.org>,
	<rust-for-linux@vger.kernel.org>, <nova-gpu@lists.linux.dev>,
	<linux-pci@vger.kernel.org>
Cc: <alex@shazbot.org>, <jgg@nvidia.com>, <yishaih@nvidia.com>,
	<skolothumtho@nvidia.com>, <kevin.tian@intel.com>,
	<airlied@gmail.com>, <simona@ffwll.ch>, <ojeda@kernel.org>,
	<alex.gaynor@gmail.com>, <boqun.feng@gmail.com>,
	<gary@garyguo.net>, <bjorn3_gh@protonmail.com>,
	<lossin@kernel.org>, <a.hindborg@kernel.org>,
	<aliceryhl@google.com>, <tmgross@umich.edu>,
	<markus.probst@posteo.de>, <jhubbard@nvidia.com>,
	<apopple@nvidia.com>, <joelagnelf@nvidia.com>,
	<ecourtney@nvidia.com>, <cjia@nvidia.com>, <smitra@nvidia.com>,
	<kjaju@nvidia.com>, <alkumar@nvidia.com>, <ankita@nvidia.com>,
	<aniketa@nvidia.com>, <kwankhede@nvidia.com>,
	<targupta@nvidia.com>, <linux-kernel@vger.kernel.org>,
	<zhiwang@kernel.org>, <zhiw@nvidia.com>, <boqun@kernel.org>,
	<daniel.almeida@collabora.com>, <tamird@kernel.org>,
	<work@onurozkan.dev>, <jgg@ziepe.ca>, <bhelgaas@google.com>,
	<kwilczynski@kernel.org>, <dri-devel@lists.freedesktop.org>,
	<peter@colberg.org>, <xinmengs@nvidia.com>
Subject: [PATCH v6 22/34] gpu: nova-core: vgpu: add instance create/destroy
Date: Wed, 2 Dec 2026 13:58:46 +0530	[thread overview]
Message-ID: <d2ec58e2f9d947888c7542b0fa529778be828f62.1796191008.git.alkumar@nvidia.com> (raw)
In-Reply-To: <cover.1796191007.git.alkumar@nvidia.com>

From: Zhi Wang <zhiw@nvidia.com>

A vGPU instance needs channel IDs and framebuffer and management-heap
regions determined by its assigned type. Let instances own their channel
reservations and borrow their VRAM regions from a manager-owned pool.

Keep the pinned pool and its instance registry together. The registry
borrows the pool through a pin-init self-reference and drops its instances
before the pool's backing VramBlock is released. Keep those borrows inside
the owning object through scoped projections.

Reject duplicate GFID or DBDF entries and enforce the profile's instance
limit. Reserve registry capacity before acquiring instance resources.

Removing an instance releases its channel reservation and makes its VRAM
slot available for reuse. Keep the pool cached when the last instance is
removed. Replace it for a different layout only when no instances remain,
releasing the old backing allocation before reserving the new one.

Signed-off-by: Zhi Wang <zhiw@nvidia.com>
Co-developed-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Alok Kumar <alkumar@nvidia.com>
---
 drivers/gpu/nova-core/gpu.rs           |  50 +++--
 drivers/gpu/nova-core/mm.rs            |   1 -
 drivers/gpu/nova-core/vgpu.rs          |  56 +++--
 drivers/gpu/nova-core/vgpu/instance.rs | 291 +++++++++++++++++++++++++
 drivers/gpu/nova-core/vgpu/vram.rs     |   1 -
 5 files changed, 363 insertions(+), 36 deletions(-)
 create mode 100644 drivers/gpu/nova-core/vgpu/instance.rs

diff --git a/drivers/gpu/nova-core/gpu.rs b/drivers/gpu/nova-core/gpu.rs
index 549a0a90d244..40cc326b5cf2 100644
--- a/drivers/gpu/nova-core/gpu.rs
+++ b/drivers/gpu/nova-core/gpu.rs
@@ -51,6 +51,7 @@
         bar_user::BarUser,
         pagetable::MmuVersion,
         GpuMm,
+        SharedGpuMm,
         VramAddress, //
     },
     timer::{
@@ -63,7 +64,6 @@
     },
 };
 
-#[cfg_attr(not(CONFIG_KUNIT = "y"), expect(dead_code))]
 pub(crate) mod channel;
 mod hal;
 mod regs;
@@ -390,7 +390,9 @@ unsafe fn new(
 #[pin_data]
 pub(crate) struct Gpu<'gpu> {
     pub(crate) spec: Spec,
-    vgpu: Option<VgpuManager<'chid_pool>>,
+    /// Drops before the MM and BAR1 mappings needed for instance teardown.
+    #[uses('bar_user, 'chid_pool)]
+    vgpu: Option<Pin<KBox<VgpuManager<'mm>>>>,
     /// GSP event interrupt registration, and the enable of its subtree.
     ///
     /// Must be kept declared *before* `gsp_resources`, so that the handler is unregistered, and
@@ -403,7 +405,8 @@ pub(crate) struct Gpu<'gpu> {
     ///
     /// Must be kept declared *before* `gsp_resources`, so that its components are dropped while
     /// the GSP is still operational.
-    mm: GpuMm<'gpu>,
+    #[pin]
+    mm: SharedGpuMm<'gpu>,
     /// BAR1 user interface for CPU access to GPU virtual memory.
     #[pin]
     bar_user: BarUser<'gpu>,
@@ -568,7 +571,7 @@ pub(crate) fn new<'a>(
             },
 
             // Create GPU memory manager owning memory management resources.
-            mm: {
+            mm <- {
                 let info = &gsp_resources.boot_result.static_info;
                 let usable_vram = info.usable_fb_regions.first().ok_or(ENODEV)?;
                 let buddy_params = GpuBuddyParams {
@@ -577,12 +580,12 @@ pub(crate) fn new<'a>(
                     chunk_size: Alignment::SZ_4K,
                 };
 
-                GpuMm::new(
+                SharedGpuMm::new(GpuMm::new(
                     bar,
                     gsp_resources.spec.chipset,
                     buddy_params,
                     VramAddress::from_raw(info.total_fb_end),
-                )?
+                )?)
             },
 
             // Create BAR1 user interface for CPU access to GPU virtual memory.
@@ -604,15 +607,18 @@ pub(crate) fn new<'a>(
                 let info = &gsp_resources.boot_result.static_info;
                 match gsp_resources.vgpu_state {
                     VgpuState::Disabled => None,
-                    VgpuState::Enabled { .. } => Some(VgpuManager::new(
-                        chid_pool.get_ref(),
-                        &info.fifo_engine_list(),
-                        info.vmmu_segment_size,
-                        TOTAL_CHANNELS,
-                    )),
+                    VgpuState::Enabled { .. } => Some(KBox::pin_init(
+                        VgpuManager::new(
+                            mm.get_ref(),
+                            chid_pool.get_ref(),
+                            &info.fifo_engine_list(),
+                            info.vmmu_segment_size,
+                            TOTAL_CHANNELS,
+                        ),
+                        GFP_KERNEL,
+                    )?),
                 }
             },
-
         })
     }
 
@@ -645,14 +651,16 @@ pub(crate) fn run_selftests(self: Pin<&mut Self>, pdev: &pci::Device<device::Bou
         let dev = pdev.as_ref();
         let info = &this.gsp_resources.boot_result.static_info;
 
-        if let Err(err) = crate::mm::selftest::run(
-            dev,
-            this.mm,
-            &info.usable_fb_regions,
-            this.bar_user.as_ref().get_ref(),
-            info.bar1_pde_base,
-            this.spec.chipset,
-        ) {
+        if let Err(err) = this.mm.with_locked(|mm| {
+            crate::mm::selftest::run(
+                dev,
+                mm,
+                &info.usable_fb_regions,
+                this.bar_user.get_ref(),
+                info.bar1_pde_base,
+                this.spec.chipset,
+            )
+        }) {
             dev_err!(dev, "self-tests failed: {:?}\n", err);
         }
     }
diff --git a/drivers/gpu/nova-core/mm.rs b/drivers/gpu/nova-core/mm.rs
index d4cba022ccad..f1f86931928c 100644
--- a/drivers/gpu/nova-core/mm.rs
+++ b/drivers/gpu/nova-core/mm.rs
@@ -133,7 +133,6 @@ pub(crate) struct SharedGpuMm<'gpu>
 
 impl<'gpu> SharedGpuMm<'gpu> {
     /// Creates a pin-initializer sharing `mm`.
-    #[expect(dead_code)]
     pub(crate) fn new(mm: GpuMm<'gpu>) -> impl PinInit<Self> + 'gpu {
         pin_init!(Self {
             inner <- new_mutex!(mm, "nova-core::gpu-mm"),
diff --git a/drivers/gpu/nova-core/vgpu.rs b/drivers/gpu/nova-core/vgpu.rs
index 5688d6bf1e08..e7b4f1f3a614 100644
--- a/drivers/gpu/nova-core/vgpu.rs
+++ b/drivers/gpu/nova-core/vgpu.rs
@@ -6,8 +6,10 @@
 use kernel::{
     bitfield,
     device,
+    new_mutex,
     pci,
-    prelude::*, //
+    prelude::*,
+    sync::Mutex, //
 };
 
 use crate::{
@@ -20,11 +22,15 @@
         Chipset, //
     },
     gsp::commands::FifoEngineList, //
+    mm::{
+        SharedGpuMm, //
+    }, //
 };
 
 mod commands;
 mod fw;
 mod hal;
+mod instance;
 mod vram;
 
 bitfield! {
@@ -99,32 +105,56 @@ fn query_state(
     }
 }
 
+use self::instance::VgpuInstances;
+
 /// Runtime resources for an enabled vGPU boot.
-pub(crate) struct VgpuManager<'gpu> {
-    #[expect(dead_code)]
+#[pin_data]
+pub(crate) struct VgpuManager<'gpu>
+where
+    // Hide the invariant resource lifetime of the instance registry so `VgpuManager` remains
+    // covariant.
+    exists<'res>: 'gpu,
+{
+    #[pin]
+    #[uses('res: invariant)]
+    inner: VgpuManagerInner<'res>,
+}
+
+/// Inner state of [`VgpuManager`].
+///
+/// The instances kept in the registry borrow the GPU resources below, which makes this type
+/// invariant over `'gpu`.
+#[pin_data]
+struct VgpuManagerInner<'gpu> {
+    #[pin]
+    instances: Mutex<VgpuInstances<'gpu>>,
+    mm: &'gpu SharedGpuMm<'gpu>,
     chid_pool: &'gpu ChannelIdPool,
     /// VMMU segment size in bytes, or zero if GSP-RM omitted it.
-    #[expect(dead_code)]
     vmmu_segment_size: u64,
-    #[expect(dead_code)]
     total_channels: u32,
-    #[expect(dead_code)]
     fifo_engine_list: FifoEngineList,
 }
 
 impl<'gpu> VgpuManager<'gpu> {
     /// Retains runtime parameters from a completed vGPU-enabled GSP boot.
     pub(crate) fn new(
+        mm: &'gpu SharedGpuMm<'gpu>,
         chid_pool: &'gpu ChannelIdPool,
         fifo_engine_list: &FifoEngineList,
         vmmu_segment_size: u64,
         total_channels: u32,
-    ) -> Self {
-        Self {
-            chid_pool,
-            vmmu_segment_size,
-            total_channels,
-            fifo_engine_list: *fifo_engine_list,
-        }
+    ) -> impl PinInit<Self> + use<'gpu> {
+        let fifo_engine_list = *fifo_engine_list;
+        pin_init!(Self {
+            inner <- pin_init!(VgpuManagerInner {
+                instances <- new_mutex!(VgpuInstances::new(), "nova-core::vgpu-instances"),
+                mm,
+                chid_pool,
+                vmmu_segment_size,
+                total_channels,
+                fifo_engine_list,
+            }),
+        })
     }
 }
diff --git a/drivers/gpu/nova-core/vgpu/instance.rs b/drivers/gpu/nova-core/vgpu/instance.rs
new file mode 100644
index 000000000000..40f32da359d5
--- /dev/null
+++ b/drivers/gpu/nova-core/vgpu/instance.rs
@@ -0,0 +1,291 @@
+// SPDX-License-Identifier: GPL-2.0
+// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
+
+use core::num::{
+    NonZero,
+    NonZeroUsize, //
+};
+
+use kernel::{
+    prelude::*,
+    ptr::Alignment,
+    sizes::SizeConstants, //
+};
+
+use crate::{
+    gpu::channel::ChannelIdReservation,
+    mm::GpuMm, //
+    num::FromSafeCast,
+};
+
+use super::{
+    fw::commands::VgpuProperties,
+    vram::{
+        VgpuVramLayout,
+        VgpuVramSlot,
+        VgpuVramSlotPool, //
+    },
+    Dbdf,
+    VgpuManagerInner, //
+};
+
+/// Guest Function ID validated against one device's total number of VFs.
+///
+/// GFID 0 is reserved for the PF; VFs start at 1. Keeping the nonzero `u16`
+/// preserves the PCI SR-IOV range when forming a plugin doorbell handle.
+#[repr(transparent)]
+#[derive(Clone, Copy, PartialEq, Eq)]
+pub(super) struct Gfid(NonZero<u16>);
+
+impl Gfid {
+    /// Validates an external GFID for a device supporting `total_vfs` VFs.
+    #[expect(dead_code)]
+    pub(super) fn new(gfid: u32, total_vfs: NonZero<u16>) -> Result<Self> {
+        let gfid = u16::try_from(gfid).map_err(|_| EINVAL)?;
+        let gfid = NonZero::new(gfid).ok_or(EINVAL)?;
+
+        if gfid > total_vfs {
+            Err(EINVAL)
+        } else {
+            Ok(Self(gfid))
+        }
+    }
+
+    #[expect(dead_code)]
+    pub(super) const fn get(self) -> u16 {
+        self.0.get()
+    }
+}
+
+/// Resource requirements for one vGPU type.
+struct VgpuType {
+    vgpu_type_id: u32,
+    max_instance: u32,
+    fb_length: u64,
+    gsp_heap_size: u64,
+}
+
+impl From<&VgpuProperties> for VgpuType {
+    fn from(properties: &VgpuProperties) -> Self {
+        Self {
+            vgpu_type_id: properties.type_id,
+            max_instance: properties.max_instance,
+            fb_length: properties.fb_length,
+            gsp_heap_size: properties.gsp_heap_size,
+        }
+    }
+}
+
+/// A vGPU instance and the resources reserved for it.
+#[expect(dead_code)]
+struct VgpuInstance<'pool, 'gpu> {
+    gfid: Gfid,
+    dbdf: Dbdf,
+    vgpu_type: VgpuType,
+    vm_pid: u32,
+    chids: ChannelIdReservation<'gpu>,
+    vram_slot: VgpuVramSlot<'pool>,
+}
+
+/// Identity and firmware profile used to allocate an instance.
+pub(super) struct InstanceInfo {
+    gfid: Gfid,
+    dbdf: Dbdf,
+    vgpu_type: VgpuType,
+    vm_pid: u32,
+}
+
+#[expect(dead_code)]
+impl InstanceInfo {
+    pub(super) fn new(gfid: Gfid, dbdf: Dbdf, properties: &VgpuProperties, vm_pid: u32) -> Self {
+        Self {
+            gfid,
+            dbdf,
+            vgpu_type: VgpuType::from(properties),
+            vm_pid,
+        }
+    }
+}
+
+/// Instance registry and cached VRAM pool for one physical GPU.
+pub(super) struct VgpuInstances<'gpu> {
+    pool: Option<Pin<KBox<VgpuInstancePool<'gpu>>>>,
+}
+
+/// Instances borrow the pool, and are destroyed before its backing allocation.
+#[pin_data]
+struct VgpuInstancePool<'gpu> {
+    // Preserve the pool lifetime when inserting new borrowed regions into the registry.
+    #[uses('pool: invariant)]
+    registry: InstanceRegistry<'pool, 'gpu>,
+    #[pin]
+    pool: VgpuVramSlotPool,
+}
+
+impl<'gpu> VgpuInstancePool<'gpu> {
+    fn new(mm: &GpuMm<'_>, layout: VgpuVramLayout) -> Result<impl PinInit<Self, Error>> {
+        let pool = VgpuVramSlotPool::new(mm, layout)?;
+        Ok(try_pin_init!(Self {
+            pool <- pool,
+            registry: InstanceRegistry {
+                instances: KVec::new(),
+                pool: pool.get_ref(),
+            },
+        }))
+    }
+}
+
+#[expect(dead_code)]
+impl<'gpu> VgpuInstances<'gpu> {
+    pub(super) const fn new() -> Self {
+        Self { pool: None }
+    }
+
+    fn create_instance(&mut self, vgpu: &VgpuManagerInner<'gpu>, info: InstanceInfo) -> Result {
+        let layout = VgpuVramLayout::new(
+            info.vgpu_type.vgpu_type_id,
+            info.vgpu_type.max_instance,
+            info.vgpu_type.fb_length,
+            info.vgpu_type.gsp_heap_size,
+            vgpu.vmmu_segment_size,
+        )?;
+        let replace = match self.pool.as_ref() {
+            Some(pool) => pool.as_ref().with_project_ref(|this| {
+                if this.pool.matches_layout(layout) {
+                    Ok(false)
+                } else if this.registry.instances.is_empty() {
+                    Ok(true)
+                } else {
+                    Err(EBUSY)
+                }
+            })?,
+            None => true,
+        };
+        if replace {
+            // Release the old reservation only after all its borrowers are gone.
+            self.pool = None;
+            self.pool = Some(vgpu.mm.with_locked(|mm| {
+                KBox::pin_init(VgpuInstancePool::new(mm, layout)?, GFP_KERNEL)
+            })?);
+        }
+        self.pool
+            .as_mut()
+            .ok_or(EIO)?
+            .as_mut()
+            .with_project(|this| this.registry.create_instance(vgpu, info))
+    }
+
+    fn destroy_instance(&mut self, gfid: Gfid) -> Result {
+        self.pool
+            .as_mut()
+            .ok_or(ENOENT)?
+            .as_mut()
+            .with_project(|this| this.registry.destroy_instance(gfid))
+    }
+}
+
+/// Registry of instances borrowing one layout's pool.
+struct InstanceRegistry<'pool, 'gpu> {
+    instances: KVec<VgpuInstance<'pool, 'gpu>>,
+    pool: &'pool VgpuVramSlotPool,
+}
+
+impl<'pool, 'gpu> InstanceRegistry<'pool, 'gpu> {
+    fn alloc_vram_slot(&self) -> Result<VgpuVramSlot<'pool>> {
+        let index = (0..self.pool.max_slots())
+            .find(|i| !self.instances.iter().any(|inst| inst.vram_slot.index == *i))
+            .ok_or(ENOSPC)?;
+        self.pool.slot(index)
+    }
+
+    /// Creates and returns a [`VgpuInstance`].
+    fn allocate_instance(
+        &mut self,
+        vgpu: &VgpuManagerInner<'gpu>,
+        info: InstanceInfo,
+    ) -> Result<VgpuInstance<'pool, 'gpu>> {
+        let InstanceInfo {
+            gfid,
+            dbdf,
+            vgpu_type,
+            vm_pid,
+        } = info;
+
+        let instance_exists = self
+            .instances
+            .iter()
+            .any(|instance| instance.gfid == gfid || instance.dbdf == dbdf);
+        if instance_exists {
+            return Err(EEXIST);
+        }
+
+        let type_id = vgpu_type.vgpu_type_id;
+        let num_type_instances = self
+            .instances
+            .iter()
+            .filter(|instance| instance.vgpu_type.vgpu_type_id == type_id)
+            .count();
+        if num_type_instances >= usize::from_safe_cast(vgpu_type.max_instance) {
+            return Err(ENOSPC);
+        }
+
+        let channels_per_instance = vgpu
+            .total_channels
+            .checked_div(vgpu_type.max_instance)
+            .map(usize::from_safe_cast)
+            .and_then(NonZeroUsize::new)
+            .ok_or(EINVAL)?;
+        let chids = vgpu
+            .chid_pool
+            .reserve_ids(channels_per_instance, Alignment::SZ_1)?;
+
+        let vram_slot = self.alloc_vram_slot()?;
+
+        Ok(VgpuInstance {
+            gfid,
+            dbdf,
+            vgpu_type,
+            vm_pid,
+            chids,
+            vram_slot,
+        })
+    }
+
+    /// Remove an instance and release its channel and VRAM reservations.
+    fn destroy_instance(&mut self, gfid: Gfid) -> Result {
+        let instance_index = self
+            .instances
+            .iter()
+            .position(|instance| instance.gfid == gfid)
+            .ok_or(ENOENT)?;
+        let instance = self.instances.remove(instance_index).map_err(|_| EIO)?;
+        drop(instance);
+        Ok(())
+    }
+
+    /// Allocate, register, and activate a vGPU instance.
+    ///
+    /// Keep the registry locked through creation or rollback so duplicate checks and
+    /// type limits remain stable. MM and BAR-user locks are acquired only within
+    /// individual memory operations, in that order.
+    fn create_instance(&mut self, vgpu: &VgpuManagerInner<'gpu>, info: InstanceInfo) -> Result {
+        // Reserve capacity before acquiring resources so registration cannot allocate.
+        self.instances.reserve(1, GFP_KERNEL)?;
+
+        let instance = self.allocate_instance(vgpu, info)?;
+
+        // Register live instances, and failed ones whose resources firmware may still own.
+        self.instances
+            .push_within_capacity(instance)
+            .map_err(|_| EIO)?;
+
+        Ok(())
+    }
+}
+
+impl VgpuManagerInner<'_> {
+    #[expect(dead_code)]
+    fn create_instance(&self, info: InstanceInfo) -> Result {
+        self.instances.lock().create_instance(self, info)
+    }
+}
diff --git a/drivers/gpu/nova-core/vgpu/vram.rs b/drivers/gpu/nova-core/vgpu/vram.rs
index b6356a9765e2..a6d3f02341da 100644
--- a/drivers/gpu/nova-core/vgpu/vram.rs
+++ b/drivers/gpu/nova-core/vgpu/vram.rs
@@ -94,7 +94,6 @@ pub(super) struct VgpuVramSlotPool {
     fb_region_size: u64,
 }
 
-#[expect(dead_code)]
 impl VgpuVramSlotPool {
     /// Reserve the VRAM for all possible slots of `layout`, and returns a [`VgpuVramSlotPool`] that
     /// can provide these slots.

  parent reply	other threads:[~2026-12-02  8:37 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-02  8:28 [PATCH v6 00/34] Introduce NVIDIA vGPU manager Alok Kumar
2026-12-02  8:28 ` [PATCH v6 01/34] gpu: nova-core: populate VF information in GSP_INIT Alok Kumar
2026-12-02  8:28 ` [PATCH v6 02/34] gpu: nova-core: gsp: pass boot context through setup helpers Alok Kumar
2026-12-02  8:28 ` [PATCH v6 03/34] gpu: nova-core: vgpu: decouple boot state from the manager Alok Kumar
2026-12-02  8:28 ` [PATCH v6 04/34] gpu: nova-core: gpu: add a channel ID pool for vGPU Alok Kumar
2026-12-02  8:28 ` [PATCH v6 05/34] gpu: nova-core: gsp: decode the FIFO engine table Alok Kumar
2026-12-02  8:28 ` [PATCH v6 06/34] gpu: nova-core: vgpu: initialize runtime parameters after GSP boot Alok Kumar
2026-12-02  8:28 ` [PATCH v6 07/34] gpu: nova-core: vgpu: reserve the 48-VM WPR2 heap Alok Kumar
2026-12-02  8:28 ` [PATCH v6 08/34] gpu: nova-core: mm: replace BarUserAccess accessors with typed MMIO view Alok Kumar
2026-12-02  8:28 ` [PATCH v6 09/34] gpu: nova-core: mm: retain BAR1 reservations after unmap failure Alok Kumar
2026-12-02  8:28 ` [PATCH v6 10/34] gpu: nova-core: mm: borrow BarUser for temporary BAR1 access Alok Kumar
2026-12-02  8:28 ` [PATCH v6 11/34] gpu: nova-core: mm: add VramBlock Alok Kumar
2026-12-02  8:28 ` [PATCH v6 12/34] gpu: nova-core: mm: add VramRegion Alok Kumar
2026-12-02  8:28 ` [PATCH v6 13/34] gpu: nova-core: mm: add BarMapping Alok Kumar
2026-12-02  8:28 ` [PATCH v6 14/34] gpu: nova-core: mm: add SharedGpuMm Alok Kumar
2026-12-02  8:28 ` [PATCH v6 15/34] gpu: nova-core: gsp: cmdq: gmc: add types for variable-length payloads Alok Kumar
2026-12-02  8:28 ` [PATCH v6 16/34] gpu: nova-core: gsp: add the vGPU commands to GmcCommandId Alok Kumar
2026-12-02  8:28 ` [PATCH v6 17/34] gpu: nova-core: gsp: cmdq: add send_gmc_command_await_event Alok Kumar
2026-12-02  8:28 ` [PATCH v6 18/34] gpu: nova-core: vgpu: add r000 plugin bindings Alok Kumar
2026-12-02  8:28 ` [PATCH v6 19/34] gpu: nova-core: gsp: factor out NVKV payload conversion Alok Kumar
2026-12-02  8:28 ` [PATCH v6 20/34] gpu: nova-core: vgpu: add VRAM slot pool Alok Kumar
2026-12-02  8:28 ` [PATCH v6 21/34] gpu: nova-core: vgpu: query VF assignments and properties Alok Kumar
2026-12-02  8:28 ` Alok Kumar [this message]
2026-12-02  8:28 ` [PATCH v6 23/34] gpu: nova-core: vgpu: encode vGPU boot requests Alok Kumar
2026-12-02  8:28 ` [PATCH v6 24/34] gpu: nova-core: vgpu: add GSP plugin communication buffer Alok Kumar
2026-12-02  8:28 ` [PATCH v6 25/34] gpu: nova-core: vgpu: add instance boot Alok Kumar
2026-12-02  8:28 ` [PATCH v6 26/34] gpu: nova-core: vgpu: add instance shutdown Alok Kumar
2026-12-02  8:28 ` [PATCH v6 27/34] gpu: nova-core: vgpu: add GSP plugin RPC transactions Alok Kumar
2026-12-02  8:28 ` [PATCH v6 28/34] gpu: nova-core: vgpu: negotiate the GSP plugin RPC version Alok Kumar
2026-12-02  8:28 ` [PATCH v6 29/34] gpu: nova-core: vgpu: send GSP plugin configuration parameters Alok Kumar
2026-12-02  8:28 ` [PATCH v6 30/34] gpu: nova-core: vgpu: update the GSP plugin BME state Alok Kumar
2026-12-02  8:28 ` [PATCH v6 31/34] gpu: nova-core: vgpu: add CeUtils commands Alok Kumar
2026-12-02  8:28 ` [PATCH v6 32/34] gpu: nova-core: vgpu: scrub guest VRAM with CeUtils Alok Kumar
2026-12-02  8:28 ` [PATCH v6 33/34] gpu: nova-core: vgpu: introduce SR-IOV PF APIs Alok Kumar
2026-12-02  8:28 ` [PATCH v6 34/34] gpu: nova-core: mm: keep BAR1 self-test page tables alive Alok Kumar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d2ec58e2f9d947888c7542b0fa529778be828f62.1796191008.git.alkumar@nvidia.com \
    --to=alkumar@nvidia.com \
    --cc=a.hindborg@kernel.org \
    --cc=acourbot@nvidia.com \
    --cc=airlied@gmail.com \
    --cc=alex.gaynor@gmail.com \
    --cc=alex@shazbot.org \
    --cc=aliceryhl@google.com \
    --cc=aniketa@nvidia.com \
    --cc=ankita@nvidia.com \
    --cc=apopple@nvidia.com \
    --cc=bhelgaas@google.com \
    --cc=bjorn3_gh@protonmail.com \
    --cc=boqun.feng@gmail.com \
    --cc=boqun@kernel.org \
    --cc=cjia@nvidia.com \
    --cc=dakr@kernel.org \
    --cc=daniel.almeida@collabora.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=ecourtney@nvidia.com \
    --cc=gary@garyguo.net \
    --cc=jgg@nvidia.com \
    --cc=jgg@ziepe.ca \
    --cc=jhubbard@nvidia.com \
    --cc=joelagnelf@nvidia.com \
    --cc=kevin.tian@intel.com \
    --cc=kjaju@nvidia.com \
    --cc=kvm@vger.kernel.org \
    --cc=kwankhede@nvidia.com \
    --cc=kwilczynski@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=lossin@kernel.org \
    --cc=markus.probst@posteo.de \
    --cc=nova-gpu@lists.linux.dev \
    --cc=ojeda@kernel.org \
    --cc=peter@colberg.org \
    --cc=rust-for-linux@vger.kernel.org \
    --cc=simona@ffwll.ch \
    --cc=skolothumtho@nvidia.com \
    --cc=smitra@nvidia.com \
    --cc=tamird@kernel.org \
    --cc=targupta@nvidia.com \
    --cc=tmgross@umich.edu \
    --cc=work@onurozkan.dev \
    --cc=xinmengs@nvidia.com \
    --cc=yishaih@nvidia.com \
    --cc=zhiw@nvidia.com \
    --cc=zhiwang@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®