[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251002020010.315944-1-jhubbard@nvidia.com>
Date: Wed, 1 Oct 2025 19:00:08 -0700
From: John Hubbard <jhubbard@...dia.com>
To: Danilo Krummrich <dakr@...nel.org>
Cc: Alexandre Courbot <acourbot@...dia.com>,
Joel Fernandes <joelagnelf@...dia.com>,
Timur Tabi <ttabi@...dia.com>,
Alistair Popple <apopple@...dia.com>,
Zhi Wang <zhiw@...dia.com>,
Surath Mitra <smitra@...dia.com>,
David Airlie <airlied@...il.com>,
Simona Vetter <simona@...ll.ch>,
Alex Williamson <alex.williamson@...hat.com>,
Jason Gunthorpe <jgg@...dia.com>,
Bjorn Helgaas <bhelgaas@...gle.com>,
Krzysztof Wilczyński <kwilczynski@...nel.org>,
Miguel Ojeda <ojeda@...nel.org>,
Alex Gaynor <alex.gaynor@...il.com>,
Boqun Feng <boqun.feng@...il.com>,
Gary Guo <gary@...yguo.net>,
Björn Roy Baron <bjorn3_gh@...tonmail.com>,
Benno Lossin <lossin@...nel.org>,
Andreas Hindborg <a.hindborg@...nel.org>,
Alice Ryhl <aliceryhl@...gle.com>,
Trevor Gross <tmgross@...ch.edu>,
nouveau@...ts.freedesktop.org,
linux-pci@...r.kernel.org,
rust-for-linux@...r.kernel.org,
LKML <linux-kernel@...r.kernel.org>,
John Hubbard <jhubbard@...dia.com>
Subject: [PATCH v2 0/2] rust: pci: don't probe() VFs in nova-core
Changes in v2:
1) Completely rewrote the series, using Danilo's suggested approach of
"driver supports VF probing or not": the PCI driver core will skip
probing any device's VFs if the driver has coded itself as "not
supporting VFs".
2) Included Joel's clarification, as a comment in the code, about what
happens if VFs are probed.
As with v1 [1], I've based this on top of today's driver-core-next [2],
because the first patch belongs there, and the second patch applies
cleanly to either driver-core-next or drm-rust-next. So this seems like
the easiest to work with.
[1]] https://lore.kernel.org/20250930220759.288528-1-jhubbard@nvidia.com
[2] https://git.kernel.org/pub/scm/linux/kernel/git/driver-core/driver-core.git/
Cc: Alexandre Courbot <acourbot@...dia.com>
Cc: Alistair Popple <apopple@...dia.com>
Cc: Joel Fernandes <joelagnelf@...dia.com>
Cc: Zhi Wang <zhiw@...dia.com>
Cc: Alex Williamson <alex.williamson@...hat.com>
Cc: Jason Gunthorpe <jgg@...dia.com>
Cc: Danilo Krummrich <dakr@...nel.org>
John Hubbard (2):
rust: pci: skip probing VFs if driver doesn't support VFs
gpu: nova-core: declare that VFs are not (yet) supported
drivers/gpu/nova-core/driver.rs | 5 +++++
drivers/pci/pci-driver.c | 3 +++
include/linux/pci.h | 1 +
rust/kernel/pci.rs | 4 ++++
4 files changed, 13 insertions(+)
base-commit: 6d97171ac6585de698df019b0bfea3f123fd8385
--
2.51.0
Powered by blists - more mailing lists