NVIDIA GPU driver infrastructure
 help / color / mirror / Atom feed
* [PATCH v2] gpu: nova-core: clarify FSP ordering in the chipset table
@ 2026-06-12  4:04 John Hubbard
  2026-06-12 12:06 ` Gary Guo
  0 siblings, 1 reply; 7+ messages in thread
From: John Hubbard @ 2026-06-12  4:04 UTC (permalink / raw)
  To: Danilo Krummrich, Alexandre Courbot
  Cc: Timur Tabi, Alistair Popple, Eliot Courtney, Shashank Sharma,
	Zhi Wang, David Airlie, Simona Vetter, Bjorn Helgaas,
	Miguel Ojeda, Alex Gaynor, Boqun Feng, Gary Guo,
	Björn Roy Baron, Benno Lossin, Andreas Hindborg, Alice Ryhl,
	Trevor Gross, nova-gpu, LKML, John Hubbard

The Chipset enum lists GPUs in chip-ID order, but FSP capability does
not follow that order. Hopper and Blackwell boot the GSP via FSP, while
Ada, whose chip IDs fall numerically between Hopper and Blackwell, uses
the older SEC2 booter path instead. Add a comment so the table ordering
does not suggest that everything past Hopper uses FSP.

Suggested-by: Timur Tabi <ttabi@nvidia.com>
Signed-off-by: John Hubbard <jhubbard@nvidia.com>
---

Changes since v1 [1]:

* Keep the existing "Hopper and later" wording in uses_fsp() rather than
  changing it, and put the clarification entirely in the chipset table
  comment (Timur Tabi).

* Reword that comment to describe the Hopper/Ada chip-ID inversion and to
  say "Hopper and later" excludes Ada and means Hopper, Blackwell, Rubin,
  and everything after that, so it stays correct once Rubin is added
  (Timur Tabi).

[1] https://lore.kernel.org/all/20260610234128.547952-1-jhubbard@nvidia.com/


 drivers/gpu/nova-core/gpu.rs | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/gpu/nova-core/gpu.rs b/drivers/gpu/nova-core/gpu.rs
index b3c91731db45..20b59bb6b7d9 100644
--- a/drivers/gpu/nova-core/gpu.rs
+++ b/drivers/gpu/nova-core/gpu.rs
@@ -91,6 +91,10 @@ fn try_from(value: u32) -> Result<Self, Self::Error> {
     GA104 = 0x174,
     GA106 = 0x176,
     GA107 = 0x177,
+    // Chip IDs are in numerical order, which does not match FSP capability. Hopper (GH100) has a
+    // lower chip ID than Ada (AD10x), yet Hopper boots the GSP via FSP while Ada uses the older
+    // SEC2 booter. We therefore consider Hopper to be after Ada, so "Hopper and later" excludes
+    // Ada and means Hopper, Blackwell, Rubin, and everything after that.
     // Hopper
     GH100 = 0x180,
     // Ada

base-commit: 550dc7536644db2d67c6f8cf525bba682fba08d9
-- 
2.54.0


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-06-12 17:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-12  4:04 [PATCH v2] gpu: nova-core: clarify FSP ordering in the chipset table John Hubbard
2026-06-12 12:06 ` Gary Guo
2026-06-12 15:43   ` Timur Tabi
2026-06-12 16:07     ` Gary Guo
2026-06-12 16:24       ` Timur Tabi
2026-06-12 17:17         ` John Hubbard
2026-06-12 17:50           ` Timur Tabi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox