Hi Alex, On Thu, Dec 03, 2026 at 09:09:20PM +0900, Alexandre Courbot wrote: > From: Zhi Wang > > GSP firmware requires the VF BAR layout to route interrupts and doorbell > events to individual virtual functions. > > When vGPU mode is enabled, read the VF topology from the typed PCI > SR-IOV extended capability and populate the existing NVKV VF information > schema in GSP_INIT. > > Signed-off-by: Zhi Wang > Signed-off-by: Alok Kumar > [acourbot: also add `RMSetSriovMode` regkey here.] > [acourbot: avoid double-match of `VgpuState`.] > [acourbot: use `bitfield!` for `VfInfo::flags`.] > [acourbot: document more returned errors.] > Co-developed-by: Alexandre Courbot > Signed-off-by: Alexandre Courbot > --- > drivers/gpu/nova-core/gsp/commands/gmc.rs | 13 +++++-- > drivers/gpu/nova-core/gsp/fw/commands.rs | 65 ++++++++++++++++++++++++++++--- > 2 files changed, 70 insertions(+), 8 deletions(-) > > diff --git a/drivers/gpu/nova-core/gsp/commands/gmc.rs b/drivers/gpu/nova-core/gsp/commands/gmc.rs > index f74ada78f7ac..f0a0a6798d6b 100644 > --- a/drivers/gpu/nova-core/gsp/commands/gmc.rs > +++ b/drivers/gpu/nova-core/gsp/commands/gmc.rs > @@ -37,6 +37,7 @@ > }, > }, > sbuffer::SBufferIter, > + vgpu::VgpuState, // It looks like you have a spurious comment here? Maxime