mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Gary Guo" <gary@garyguo.net>
To: "Simon Song" <xinmengs@nvidia.com>, <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>,
	<jhubbard@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>, "Liam R. Howlett" <liam@infradead.org>,
	<linux-mm@kvack.org>, "Lorenzo Stoakes" <ljs@kernel.org>
Subject: Re: [PATCH v4 0/5] Rust VFIO PCI support and NVIDIA vGPU driver
Date: Wed, 02 Dec 2026 14:01:07 +0000	[thread overview]
Message-ID: <DNAAVFHNUWQC.1SVOQS0MZ5UWW@garyguo.net> (raw)
In-Reply-To: <20261127224928.1511382-1-xinmengs@nvidia.com>

On Fri Nov 27, 2026 at 10:49 PM GMT, Simon Song wrote:
> This is v4 of the Rust VFIO PCI abstractions and the NVIDIA VFIO variant
> driver [1]. The driver uses nova-core's typed SR-IOV PF interface to
> create, reset and release vGPU instances while VFIO provides userspace
> access to the PCI device.
>
> Patches 1-5 of v3 were applied to driver-core-next, so this version
> carries the remaining patches. Patch 1 adds the VFIO device handling
> common to all buses. Patch 2 adds two VmaRef accessors for patch 3, the
> VFIO PCI abstractions. Patch 4 publishes the typed Nova PF interface,
> and patch 5 adds the NVIDIA VFIO variant driver.
>
> This series is based on driver-core-next. Patches 1-3 need nothing else.
> Patches 4 and 5 also depend on v5 of Alok's vGPU manager series [2] and
> can follow once it has landed.
>
> Runtime PM is still not part of this series. It will follow once the
> generic Rust runtime PM support [3] and the PCI bus handling for it are
> available. Until then, vfio::pci::Registration keeps the device runtime
> active while it is registered.
>
> Link: https://lore.kernel.org/nova-gpu/20261119215046.2892839-1-xinmengs@nvidia.com/ [1]
> Link: https://lore.kernel.org/nova-gpu/20261124135937.18583-1-alkumar@nvidia.com/ [2]
> Link: https://lore.kernel.org/all/20261124113555.2480381-1-beata.michalska@arm.com/ [3]
>
> Danilo Krummrich (2):
>   rust: vfio: add PCI variant driver abstractions
>   vfio/nova-vgpu: add the Rust VFIO variant driver
>
> Simon Song (1):
>   rust: mm: add VmaRef::size() and VmaRef::pgoff()
>
> Zhi Wang (2):
>   rust: vfio: add common VFIO device handling
>   gpu: nova-core: publish typed SR-IOV PF APIs
>
>  drivers/gpu/Makefile                    |  15 +-
>  drivers/gpu/nova-core/driver.rs         |  34 +-
>  drivers/gpu/nova-core/nova_core.rs      |   3 +-
>  drivers/gpu/nova-core/vgpu.rs           |   1 -
>  drivers/gpu/nova-core/vgpu/vgpu_api.rs  | 171 +++--
>  drivers/vfio/pci/Kconfig                |   2 +
>  drivers/vfio/pci/Makefile               |   2 +
>  drivers/vfio/pci/nova-vgpu/Kconfig      |  20 +
>  drivers/vfio/pci/nova-vgpu/Makefile     |   3 +
>  drivers/vfio/pci/nova-vgpu/nova_vgpu.rs | 418 ++++++++++++
>  rust/bindings/bindings_helper.h         |   4 +
>  rust/kernel/lib.rs                      |   2 +
>  rust/kernel/mm/virt.rs                  |  14 +
>  rust/kernel/pci.rs                      |  12 +
>  rust/kernel/vfio.rs                     | 462 ++++++++++++++
>  rust/kernel/vfio/pci.rs                 | 812 ++++++++++++++++++++++++
>  16 files changed, 1930 insertions(+), 45 deletions(-)
>  create mode 100644 drivers/vfio/pci/nova-vgpu/Kconfig
>  create mode 100644 drivers/vfio/pci/nova-vgpu/Makefile
>  create mode 100644 drivers/vfio/pci/nova-vgpu/nova_vgpu.rs
>  create mode 100644 rust/kernel/vfio.rs
>  create mode 100644 rust/kernel/vfio/pci.rs

Which tree is this created against? This doesn't apply against rust-next,
linux-next nor drm-rust-next.

I checked that the status of all 4 versions of the series is "Failed to Apply"
on Sashiko so this series never went through Sashiko review.

Best,
Gary

  parent reply	other threads:[~2026-12-02 14:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-27 22:49 Simon Song
2026-11-27 22:49 ` [PATCH v4 1/5] rust: vfio: add common VFIO device handling Simon Song
2026-11-27 22:49 ` [PATCH v4 2/5] rust: mm: add VmaRef::size() and VmaRef::pgoff() Simon Song
2026-11-27 22:49 ` [PATCH v4 3/5] rust: vfio: add PCI variant driver abstractions Simon Song
2026-11-27 22:49 ` [PATCH v4 4/5] gpu: nova-core: publish typed SR-IOV PF APIs Simon Song
2026-11-27 22:49 ` [PATCH v4 5/5] vfio/nova-vgpu: add the Rust VFIO variant driver Simon Song
2026-12-02 14:01 ` Gary Guo [this message]
2026-12-02 14:14   ` [PATCH v4 0/5] Rust VFIO PCI support and NVIDIA vGPU driver Gary Guo

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=DNAAVFHNUWQC.1SVOQS0MZ5UWW@garyguo.net \
    --to=gary@garyguo.net \
    --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=alkumar@nvidia.com \
    --cc=aniketa@nvidia.com \
    --cc=ankita@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=jgg@nvidia.com \
    --cc=jgg@ziepe.ca \
    --cc=jhubbard@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=liam@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=ljs@kernel.org \
    --cc=lossin@kernel.org \
    --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®