public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: John Hubbard <jhubbard@nvidia.com>
To: Danilo Krummrich <dakr@kernel.org>
Cc: "Alexandre Courbot" <acourbot@nvidia.com>,
	"Joel Fernandes" <joelagnelf@nvidia.com>,
	"Timur Tabi" <ttabi@nvidia.com>,
	"Alistair Popple" <apopple@nvidia.com>,
	"Edwin Peer" <epeer@nvidia.com>, "Zhi Wang" <zhiw@nvidia.com>,
	"David Airlie" <airlied@gmail.com>,
	"Simona Vetter" <simona@ffwll.ch>,
	"Bjorn Helgaas" <bhelgaas@google.com>,
	"Miguel Ojeda" <ojeda@kernel.org>,
	"Alex Gaynor" <alex.gaynor@gmail.com>,
	"Boqun Feng" <boqun.feng@gmail.com>,
	"Gary Guo" <gary@garyguo.net>,
	"Björn Roy Baron" <bjorn3_gh@protonmail.com>,
	"Benno Lossin" <lossin@kernel.org>,
	"Andreas Hindborg" <a.hindborg@kernel.org>,
	"Alice Ryhl" <aliceryhl@google.com>,
	"Trevor Gross" <tmgross@umich.edu>,
	nouveau@lists.freedesktop.org, rust-for-linux@vger.kernel.org,
	LKML <linux-kernel@vger.kernel.org>,
	"John Hubbard" <jhubbard@nvidia.com>
Subject: [PATCH v2 0/5] gpu: nova-core: Hopper/Blackwell prerequisites
Date: Tue, 25 Nov 2025 17:39:31 -0800	[thread overview]
Message-ID: <20251126013936.650678-1-jhubbard@nvidia.com> (raw)

Hi,

I'm posting this now, instead of with the upcoming full Hopper/Blackwell
series, because this includes some HAL improvements here that will
undoubtedly interact "a little bit" with Timur Tabi's Turing support
patchset [1].

Changes in v2:

0) Rebased on top of today's drm-rust-next.

1) Use a new FbRange newtype, in order to clean up the implementation of
printing ranges with sizes. (Thanks to Alex Courbot's suggestion.)

2) Combined the Hopper and Blackwell HAL additions, into a single patch,
as recommended by Timur Tabi.

3) Used a separate patch to change the "use" lines to vertical format.
That patch is already a commit in drm-rust-next, so this series builds
on top of that.

4) Dropped one patch entirely, because the boot0/boot42 commits fixed
up everything already.

As implied above, this is based on top of today's drm-rust-next. There
is also a branch, for convenience in reviewing:

https://github.com/johnhubbard/linux/tree/nova-core-blackwell-prereqs-v2

[1] https://lore.kernel.org/20251114233045.2512853-1-ttabi@nvidia.com

************************************************************************
Here's the original cover letter, edited slightly (removed the link
to the v0 series, to avoid anyone going there by mistake):

I've based these Hopper/Blackwell prerequisites on top of Joel's and
Alex's changes, and also on top of my recent boot0/boot42 changes.

This makes it easier for both Timur Tabi to post his Turing support
(which he's about ready to do), and for me to post the actual
Hopper/Blackwell support, without generating conflicts.

Testing: This works as expected on Ampere and Blackwell (bare metal),
on my local test machine.

John Hubbard (5):
  gpu: nova-core: print FB sizes, along with ranges
  gpu: nova-core: add FbRange.len() and use it in boot.rs
  gpu: nova-core: Hopper/Blackwell: basic GPU identification
  nova-core: factor .fwsignature* selection into a new
    get_gsp_sigs_section()
  gpu: nova-core: use GPU Architecture to simplify HAL selections

 drivers/gpu/nova-core/falcon/hal.rs   | 19 ++++---
 drivers/gpu/nova-core/fb.rs           | 72 ++++++++++++++++++++-------
 drivers/gpu/nova-core/fb/hal.rs       | 18 +++----
 drivers/gpu/nova-core/firmware/gsp.rs | 30 +++++++++--
 drivers/gpu/nova-core/gpu.rs          | 22 ++++++++
 drivers/gpu/nova-core/gsp/boot.rs     |  2 +-
 6 files changed, 125 insertions(+), 38 deletions(-)


base-commit: 57dc2ea0b7bdb828c5d966d9135c28fe854933a4
-- 
2.52.0


             reply	other threads:[~2025-11-26  1:39 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-26  1:39 John Hubbard [this message]
2025-11-26  1:39 ` [PATCH v2 1/5] gpu: nova-core: print FB sizes, along with ranges John Hubbard
2025-11-26  1:39 ` [PATCH v2 2/5] gpu: nova-core: add FbRange.len() and use it in boot.rs John Hubbard
2025-11-26 23:43   ` Lyude Paul
2025-11-27  0:53     ` John Hubbard
2025-11-28  5:27       ` Alexandre Courbot
2025-12-02 17:55         ` Lyude Paul
2025-11-26  1:39 ` [PATCH v2 3/5] gpu: nova-core: Hopper/Blackwell: basic GPU identification John Hubbard
2025-11-26  1:39 ` [PATCH v2 4/5] nova-core: factor .fwsignature* selection into a new get_gsp_sigs_section() John Hubbard
2025-11-26  1:39 ` [PATCH v2 5/5] gpu: nova-core: use GPU Architecture to simplify HAL selections John Hubbard
2025-12-03  5:26 ` [PATCH v2 0/5] gpu: nova-core: Hopper/Blackwell prerequisites John Hubbard

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=20251126013936.650678-1-jhubbard@nvidia.com \
    --to=jhubbard@nvidia.com \
    --cc=a.hindborg@kernel.org \
    --cc=acourbot@nvidia.com \
    --cc=airlied@gmail.com \
    --cc=alex.gaynor@gmail.com \
    --cc=aliceryhl@google.com \
    --cc=apopple@nvidia.com \
    --cc=bhelgaas@google.com \
    --cc=bjorn3_gh@protonmail.com \
    --cc=boqun.feng@gmail.com \
    --cc=dakr@kernel.org \
    --cc=epeer@nvidia.com \
    --cc=gary@garyguo.net \
    --cc=joelagnelf@nvidia.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lossin@kernel.org \
    --cc=nouveau@lists.freedesktop.org \
    --cc=ojeda@kernel.org \
    --cc=rust-for-linux@vger.kernel.org \
    --cc=simona@ffwll.ch \
    --cc=tmgross@umich.edu \
    --cc=ttabi@nvidia.com \
    --cc=zhiw@nvidia.com \
    /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