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 33/34] gpu: nova-core: vgpu: introduce SR-IOV PF APIs
Date: Wed, 2 Dec 2026 13:58:57 +0530 [thread overview]
Message-ID: <d7771dc0d1e356b11030247480a3cc6cd95aff79.1796191008.git.alkumar@nvidia.com> (raw)
In-Reply-To: <cover.1796191007.git.alkumar@nvidia.com>
From: Zhi Wang <zhiw@nvidia.com>
Provide PF operations for querying vGPU availability and creating,
closing and resetting VF instances.
Validate VF identifiers against the PF's VF count and route lifecycle
operations through the manager. Retain the GPU context needed to create
plugin RPC channels and return guest PCI properties after activation.
Signed-off-by: Zhi Wang <zhiw@nvidia.com>
Signed-off-by: Alok Kumar <alkumar@nvidia.com>
---
drivers/gpu/nova-core/gpu.rs | 20 ++-
drivers/gpu/nova-core/mm/bar_user.rs | 1 -
drivers/gpu/nova-core/mm/vram.rs | 1 -
drivers/gpu/nova-core/nova_core.rs | 6 +
drivers/gpu/nova-core/vgpu.rs | 2 +
drivers/gpu/nova-core/vgpu/commands.rs | 10 +-
drivers/gpu/nova-core/vgpu/fw/commands.rs | 1 +
drivers/gpu/nova-core/vgpu/gsp_plugin_comm.rs | 2 -
drivers/gpu/nova-core/vgpu/instance.rs | 68 +++++++-
drivers/gpu/nova-core/vgpu/vgpu_api.rs | 153 ++++++++++++++++++
drivers/gpu/nova-core/vgpu/vram.rs | 1 -
11 files changed, 253 insertions(+), 12 deletions(-)
create mode 100644 drivers/gpu/nova-core/vgpu/vgpu_api.rs
diff --git a/drivers/gpu/nova-core/gpu.rs b/drivers/gpu/nova-core/gpu.rs
index efed67fc0d9e..a3ad6cebe90c 100644
--- a/drivers/gpu/nova-core/gpu.rs
+++ b/drivers/gpu/nova-core/gpu.rs
@@ -1,6 +1,9 @@
// SPDX-License-Identifier: GPL-2.0
-use core::ops::Range;
+use core::{
+ num::NonZero,
+ ops::Range, //
+};
use kernel::{
device,
@@ -457,6 +460,21 @@ fn drop(self: Pin<&mut Self>) {
}
impl<'gpu> Gpu<'gpu> {
+ pub(crate) fn cmdq(&self) -> &Cmdq<'gpu> {
+ &self.gsp_resources.gsp.cmdq
+ }
+
+ pub(crate) fn vgpu_manager(&self) -> Option<&VgpuManager<'_>> {
+ self.vgpu().as_ref().map(|vgpu| vgpu.as_ref().get_ref())
+ }
+
+ pub(crate) fn vgpu_total_vfs(&self) -> Option<NonZero<u16>> {
+ match self.gsp_resources.vgpu_state {
+ VgpuState::Disabled => None,
+ VgpuState::Enabled { total_vfs } => Some(total_vfs),
+ }
+ }
+
pub(crate) fn new<'a>(
pdev: &'gpu pci::Device<device::Core<'a>>,
bar: Bar0<'gpu>,
diff --git a/drivers/gpu/nova-core/mm/bar_user.rs b/drivers/gpu/nova-core/mm/bar_user.rs
index b0d073b4f074..64802ccec37b 100644
--- a/drivers/gpu/nova-core/mm/bar_user.rs
+++ b/drivers/gpu/nova-core/mm/bar_user.rs
@@ -185,7 +185,6 @@ pub(crate) struct BarMapping<'pool, 'map, 'gpu> {
unmap_error: Option<Error>,
}
-#[expect(dead_code)]
impl<'pool, 'map, 'gpu> BarMapping<'pool, 'map, 'gpu> {
/// Maps `region`, which must start and end on a page boundary.
pub(crate) fn new(
diff --git a/drivers/gpu/nova-core/mm/vram.rs b/drivers/gpu/nova-core/mm/vram.rs
index 265d8269733e..be3076d065c6 100644
--- a/drivers/gpu/nova-core/mm/vram.rs
+++ b/drivers/gpu/nova-core/mm/vram.rs
@@ -75,7 +75,6 @@ pub(crate) struct VramRegion<'pool> {
range: Range<u64>,
}
-#[expect(dead_code)]
impl VramRegion<'_> {
/// Returns the range covered by this region.
pub(crate) const fn range(&self) -> &Range<u64> {
diff --git a/drivers/gpu/nova-core/nova_core.rs b/drivers/gpu/nova-core/nova_core.rs
index 84f777844592..418571724543 100644
--- a/drivers/gpu/nova-core/nova_core.rs
+++ b/drivers/gpu/nova-core/nova_core.rs
@@ -34,6 +34,12 @@
use debugfs::DebugfsData;
+#[cfg(CONFIG_PCI_IOV)]
+pub use vgpu::vgpu_api::{
+ NovaCoreVfApi,
+ VgpuTypeInfo, //
+};
+
pub(crate) const MODULE_NAME: &core::ffi::CStr = <LocalModule as kernel::ModuleMetadata>::NAME;
/// Pointer to the [`DebugfsData`] of the module.
diff --git a/drivers/gpu/nova-core/vgpu.rs b/drivers/gpu/nova-core/vgpu.rs
index fa4ff2505815..f2dd5e73f8ee 100644
--- a/drivers/gpu/nova-core/vgpu.rs
+++ b/drivers/gpu/nova-core/vgpu.rs
@@ -42,6 +42,8 @@
mod hal;
mod instance;
mod scrubber;
+#[cfg_attr(not(CONFIG_PCI_IOV), expect(dead_code, unreachable_pub))]
+pub(crate) mod vgpu_api;
mod vram;
bitfield! {
diff --git a/drivers/gpu/nova-core/vgpu/commands.rs b/drivers/gpu/nova-core/vgpu/commands.rs
index ad2b6e4d0a67..78ea76ecac0d 100644
--- a/drivers/gpu/nova-core/vgpu/commands.rs
+++ b/drivers/gpu/nova-core/vgpu/commands.rs
@@ -83,7 +83,6 @@ fn read(payload: &mut MessagePayload<'_>) -> Result<Self, Self::InitError> {
}
/// Query the vGPU type assigned to a VF by its DBDF.
-#[expect(dead_code)]
pub(super) fn query_assigned_vf_type(
_dev: &device::Device,
cmdq: &Cmdq<'_>,
@@ -126,7 +125,6 @@ fn read(payload: &mut MessagePayload<'_>) -> Result<Self, Self::InitError> {
}
/// Query and decode the firmware properties of one vGPU type.
-#[expect(dead_code)]
pub(super) fn query_vgpu_properties(
_dev: &device::Device,
cmdq: &Cmdq<'_>,
@@ -263,6 +261,14 @@ pub(super) fn set_plugin_bme(
rpc.rpc_call_nvkv(dev, RpcMessage::UpdateBmeState, &bme)
}
+/// Reset an active GSP plugin.
+pub(super) fn reset_plugin(
+ dev: &device::Device<device::Bound>,
+ rpc: &mut PluginRpc<'_, '_, '_>,
+) -> Result {
+ rpc.rpc_call(dev, RpcMessage::Reset, &[])
+}
+
impl CommandToGsp for AllocCeutilsRequest {
const COMMAND: GmcCommandId = GmcCommandId::VgpuMgrAllocGspCeutils;
type Command = Self;
diff --git a/drivers/gpu/nova-core/vgpu/fw/commands.rs b/drivers/gpu/nova-core/vgpu/fw/commands.rs
index 9164e28123f6..65e87e17a984 100644
--- a/drivers/gpu/nova-core/vgpu/fw/commands.rs
+++ b/drivers/gpu/nova-core/vgpu/fw/commands.rs
@@ -37,6 +37,7 @@
pub(crate) enum RpcMessage {
VersionNegotiation = bindings::MESSAGE_NV_VGPU_CPU_RPC_MSG_VERSION_NEGOTIATION,
SetupConfigParamsAndInit = bindings::MESSAGE_NV_VGPU_CPU_RPC_MSG_SETUP_CONFIG_PARAMS_AND_INIT,
+ Reset = bindings::MESSAGE_NV_VGPU_CPU_RPC_MSG_RESET,
UpdateBmeState = bindings::MESSAGE_NV_VGPU_CPU_RPC_MSG_UPDATE_BME_STATE,
}
diff --git a/drivers/gpu/nova-core/vgpu/gsp_plugin_comm.rs b/drivers/gpu/nova-core/vgpu/gsp_plugin_comm.rs
index 2e3415b9f8d9..282fb5f3673f 100644
--- a/drivers/gpu/nova-core/vgpu/gsp_plugin_comm.rs
+++ b/drivers/gpu/nova-core/vgpu/gsp_plugin_comm.rs
@@ -80,7 +80,6 @@ struct CommBuffer {
static_assert!(size_of::<RawResponseRegion>() == cv!(fw::VGPU_CPU_GSP_RESPONSE_BUFF_REGION_SIZE));
/// Physical VRAM regions containing the vGPU plugin logs.
-#[expect(dead_code)]
pub(super) struct PluginLogRegions<'pool> {
pub(super) init: VramRegion<'pool>,
pub(super) vgpu: VramRegion<'pool>,
@@ -94,7 +93,6 @@ pub(super) struct CommBufferRegion<'pool, 'map, 'gpu> {
map: BarMapping<'pool, 'map, 'gpu>,
}
-#[expect(dead_code)]
impl<'pool, 'map, 'gpu> CommBufferRegion<'pool, 'map, 'gpu> {
/// Map the communication portion of a plugin management heap.
pub(super) fn new(
diff --git a/drivers/gpu/nova-core/vgpu/instance.rs b/drivers/gpu/nova-core/vgpu/instance.rs
index 39bf7f4d5fb8..65e58e9418c1 100644
--- a/drivers/gpu/nova-core/vgpu/instance.rs
+++ b/drivers/gpu/nova-core/vgpu/instance.rs
@@ -33,6 +33,7 @@
commands::{
free_ceutils,
negotiate_plugin_version,
+ reset_plugin,
send_bootload,
send_cleanup,
send_plugin_config,
@@ -56,6 +57,7 @@
VgpuVramSlotPool, //
},
Dbdf,
+ VgpuManager,
VgpuManagerInner, //
};
@@ -112,7 +114,6 @@ fn wait_plugin_ready(dev: &device::Device, comm: &CommBufferRegion<'_, '_, '_>)
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)?;
@@ -160,6 +161,7 @@ struct VgpuInstance<'pool, 'gpu> {
vram_slot: VgpuVramSlot<'pool>,
chids: ChannelIdReservation<'gpu>,
ceutils: Option<CeUtils>,
+ active: bool,
needs_teardown: bool,
/// An uncertain or failed operation retains resources until device removal.
failure: Option<Error>,
@@ -202,6 +204,7 @@ fn activate(&mut self, vgpu: &VgpuManagerInner<'gpu>) -> Result {
self.configure_plugin(dev)?;
set_plugin_bme(dev, &mut self.plugin_rpc, true)?;
+ self.active = true;
Ok(())
}
@@ -301,6 +304,7 @@ fn shutdown(&mut self, dev: &device::Device, cmdq: &Cmdq<'_>) -> Result {
send_shutdown(dev, cmdq, self.gfid)?;
dev_dbg!(dev, "shutdown: gfid={} stopped\n", self.gfid.get());
}
+ self.active = false;
Ok(())
}
}
@@ -313,7 +317,6 @@ pub(super) struct InstanceInfo {
vm_pid: u32,
}
-#[expect(dead_code)]
impl InstanceInfo {
pub(super) fn new(gfid: Gfid, dbdf: Dbdf, properties: &VgpuProperties, vm_pid: u32) -> Self {
Self {
@@ -353,7 +356,6 @@ fn new(mm: &GpuMm<'_>, layout: VgpuVramLayout) -> Result<impl PinInit<Self, Erro
}
}
-#[expect(dead_code)]
impl<'gpu> VgpuInstances<'gpu> {
pub(super) const fn new() -> Self {
Self { pool: None }
@@ -401,6 +403,14 @@ fn destroy_instance(&mut self, vgpu: &VgpuManagerInner<'gpu>, gfid: Gfid) -> Res
.with_project(|this| this.registry.destroy_instance(vgpu, gfid))
}
+ fn reset_instance(&mut self, vgpu: &VgpuManagerInner<'gpu>, gfid: Gfid) -> Result {
+ self.pool
+ .as_mut()
+ .ok_or(ENOENT)?
+ .as_mut()
+ .with_project(|this| this.registry.reset_instance(vgpu, gfid))
+ }
+
pub(super) fn release_all(&mut self, vgpu: &VgpuManagerInner<'gpu>) {
if let Some(pool) = self.pool.as_mut() {
pool.as_mut()
@@ -480,6 +490,7 @@ fn allocate_instance(
vram_slot,
chids,
ceutils: None,
+ active: false,
needs_teardown: false,
failure: None,
})
@@ -553,11 +564,60 @@ fn create_instance(&mut self, vgpu: &VgpuManagerInner<'gpu>, info: InstanceInfo)
result
}
+
+ fn reset_instance(&mut self, vgpu: &VgpuManagerInner<'gpu>, gfid: Gfid) -> Result {
+ let instance = self
+ .instances
+ .iter_mut()
+ .find(|instance| instance.gfid == gfid)
+ .ok_or(ENOENT)?;
+ if instance.failure.is_some() || !instance.active {
+ return Err(EBUSY);
+ }
+
+ let result = (|| {
+ reset_plugin(vgpu.dev, &mut instance.plugin_rpc)?;
+ instance.ceutils.as_ref().ok_or(EINVAL)?.scrub_guest_fb(
+ vgpu.dev,
+ vgpu.cmdq,
+ vgpu.bar_user,
+ vgpu.mm,
+ &instance.vram_slot.fbmem,
+ )
+ })();
+ if let Err(error) = result {
+ instance.failure = Some(error);
+ instance.active = false;
+ }
+ result
+ }
+}
+
+impl VgpuManager<'_> {
+ /// Allocate, register, and activate a vGPU instance.
+ pub(super) fn create_instance(&self, info: InstanceInfo) -> Result {
+ self.with_inner(|inner| inner.create_instance(info))
+ }
+
+ pub(super) fn close_instance(&self, gfid: Gfid) -> Result {
+ self.with_inner(|inner| inner.close_instance(gfid))
+ }
+
+ pub(super) fn reset_instance(&self, gfid: Gfid) -> Result {
+ self.with_inner(|inner| inner.reset_instance(gfid))
+ }
}
impl VgpuManagerInner<'_> {
- #[expect(dead_code)]
fn create_instance(&self, info: InstanceInfo) -> Result {
self.instances.lock().create_instance(self, info)
}
+
+ fn close_instance(&self, gfid: Gfid) -> Result {
+ self.instances.lock().destroy_instance(self, gfid)
+ }
+
+ fn reset_instance(&self, gfid: Gfid) -> Result {
+ self.instances.lock().reset_instance(self, gfid)
+ }
}
diff --git a/drivers/gpu/nova-core/vgpu/vgpu_api.rs b/drivers/gpu/nova-core/vgpu/vgpu_api.rs
new file mode 100644
index 000000000000..b263e96098a8
--- /dev/null
+++ b/drivers/gpu/nova-core/vgpu/vgpu_api.rs
@@ -0,0 +1,153 @@
+// SPDX-License-Identifier: GPL-2.0
+// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
+
+//! PF-owned lifecycle operations for Nova VF drivers.
+
+use core::num::NonZero;
+
+use kernel::{
+ device,
+ pci,
+ prelude::*, //
+};
+
+use crate::{
+ gpu::Gpu,
+ gsp::cmdq::Cmdq,
+ vgpu::{
+ commands::query_vgpu_properties,
+ fw::commands::VgpuProperties,
+ instance::{
+ Gfid,
+ InstanceInfo, //
+ },
+ },
+};
+
+use super::{
+ commands::query_assigned_vf_type,
+ Dbdf,
+ VgpuManager, //
+};
+
+/// Guest PCI properties of an activated vGPU instance.
+pub struct VgpuTypeInfo {
+ /// PCI device ID to present to the guest.
+ pub pci_dev_id: u32,
+ /// PCI subsystem ID to present to the guest.
+ pub pci_subsys_id: u32,
+ /// BAR1 aperture size in MiB.
+ pub bar1_length: u64,
+}
+
+impl From<&VgpuProperties> for VgpuTypeInfo {
+ fn from(vgpu_properties: &VgpuProperties) -> Self {
+ Self {
+ pci_dev_id: vgpu_properties.dev_id,
+ pci_subsys_id: vgpu_properties.subsystem_id,
+ bar1_length: vgpu_properties.bar1_length,
+ }
+ }
+}
+
+/// PF-owned operations available while a VF driver is bound.
+pub struct NovaCoreVfApi<'gpu> {
+ pdev: &'gpu pci::Device<device::Bound>,
+ cmdq: &'gpu Cmdq<'gpu>,
+ vgpu: Option<&'gpu VgpuManager<'gpu>>,
+ total_vfs: Option<NonZero<u16>>,
+}
+
+impl<'gpu> NovaCoreVfApi<'gpu> {
+ #[expect(dead_code)]
+ pub(crate) fn new(gpu: &'gpu Gpu<'gpu>, pdev: &'gpu pci::Device<device::Bound>) -> Self {
+ Self {
+ pdev,
+ cmdq: gpu.cmdq(),
+ vgpu: gpu.vgpu_manager(),
+ total_vfs: gpu.vgpu_total_vfs(),
+ }
+ }
+
+ /// Returns whether the PF booted with vGPU support enabled.
+ pub fn is_available(&self) -> bool {
+ self.vgpu.is_some()
+ }
+
+ fn gfid(&self, gfid: u32) -> Result<Gfid> {
+ let total_vfs = self.total_vfs.ok_or(ENODEV)?;
+ Gfid::new(gfid, total_vfs)
+ }
+}
+
+impl NovaCoreVfApi<'_> {
+ /// Creates and boots an instance for a one-based VF ID.
+ ///
+ /// `sbdf` encodes the VF address as `(segment << 16) | (bus << 8) | devfn`.
+ /// `vm_pid` identifies the VM process's thread group. This call may sleep.
+ pub fn open_instance(&self, gfid: u32, sbdf: u32, vm_pid: u32) -> Result<VgpuTypeInfo> {
+ let dev = self.pdev.as_ref();
+ let gfid = self.gfid(gfid)?;
+ let dbdf = Dbdf::from_raw(sbdf);
+
+ dev_dbg!(
+ dev,
+ "vgpu_open: gfid={} sbdf={:#x}\n",
+ gfid.get(),
+ dbdf.into_raw()
+ );
+
+ let cmdq = self.cmdq;
+ let vgpu = self.vgpu.ok_or(ENODEV)?;
+
+ let type_id = query_assigned_vf_type(dev, cmdq, dbdf)?;
+ dev_dbg!(
+ dev,
+ "vgpu_open: gfid={} assigned type_id={}\n",
+ gfid.get(),
+ type_id
+ );
+
+ let vgpu_properties = query_vgpu_properties(dev, cmdq, type_id)?;
+ dev_dbg!(
+ dev,
+ "vgpu_open: gfid={} vgpu_type={} fb_length={:#x}\n",
+ gfid.get(),
+ vgpu_properties.type_id,
+ vgpu_properties.fb_length
+ );
+
+ vgpu.create_instance(InstanceInfo::new(gfid, dbdf, &vgpu_properties, vm_pid))?;
+
+ Ok(VgpuTypeInfo::from(&*vgpu_properties))
+ }
+
+ /// Tears down an instance, retaining resources if firmware cleanup fails.
+ ///
+ /// This call may sleep.
+ pub fn close_instance(&self, gfid: u32) -> Result {
+ let dev = self.pdev.as_ref();
+ let gfid = self.gfid(gfid)?;
+
+ dev_dbg!(dev, "vgpu_close: gfid={}\n", gfid.get());
+
+ let result = self.vgpu.ok_or(ENODEV)?.close_instance(gfid);
+ if let Err(error) = result {
+ dev_err!(dev, "vgpu_close: gfid={} failed: {:?}\n", gfid.get(), error);
+ }
+ result
+ }
+
+ /// Resets an instance and scrubs its guest VRAM. This call may sleep.
+ pub fn reset_instance(&self, gfid: u32) -> Result {
+ let dev = self.pdev.as_ref();
+ let gfid = self.gfid(gfid)?;
+
+ dev_dbg!(dev, "vgpu_reset: gfid={}\n", gfid.get());
+
+ self.vgpu.ok_or(ENODEV)?.reset_instance(gfid)?;
+
+ dev_dbg!(dev, "vgpu_reset: gfid={} done\n", gfid.get());
+ Ok(())
+ }
+}
diff --git a/drivers/gpu/nova-core/vgpu/vram.rs b/drivers/gpu/nova-core/vgpu/vram.rs
index 8668d22b3a88..4dd28579b9b5 100644
--- a/drivers/gpu/nova-core/vgpu/vram.rs
+++ b/drivers/gpu/nova-core/vgpu/vram.rs
@@ -35,7 +35,6 @@ pub(super) struct VgpuVramLayout {
fb_align: u64,
}
-#[expect(dead_code)]
impl VgpuVramLayout {
pub(super) fn new(
type_id: u32,
next prev parent reply other threads:[~2026-12-02 8:40 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 ` [PATCH v6 22/34] gpu: nova-core: vgpu: add instance create/destroy Alok Kumar
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 ` Alok Kumar [this message]
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=d7771dc0d1e356b11030247480a3cc6cd95aff79.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