* [PATCH] gpu: nova-core: don't declare booter firmware for FSP chipsets
@ 2026-06-07 23:05 John Hubbard
2026-06-08 22:09 ` Timur Tabi
2026-06-08 22:57 ` Danilo Krummrich
0 siblings, 2 replies; 4+ messages in thread
From: John Hubbard @ 2026-06-07 23:05 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 module firmware table lists booter_load and booter_unload for every
chipset, but Hopper and Blackwell boot the GSP through FSP and never
load the SEC2 booter. Those modinfo entries point at firmware files that
are not shipped for FSP-based chipsets, so initramfs tooling looks for
images that are never used.
Declare the booter only for chipsets that boot via it, matching how the
FMC and FWSEC bootloader images are already gated on chipset
capabilities.
Signed-off-by: John Hubbard <jhubbard@nvidia.com>
---
drivers/gpu/nova-core/firmware.rs | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/drivers/gpu/nova-core/firmware.rs b/drivers/gpu/nova-core/firmware.rs
index 366d3b76360e..977a306ed471 100644
--- a/drivers/gpu/nova-core/firmware.rs
+++ b/drivers/gpu/nova-core/firmware.rs
@@ -427,19 +427,20 @@ const fn make_entry_chipset(self, chipset: gpu::Chipset) -> Self {
let name = chipset.name();
let this = self
- .make_entry_file(name, "booter_load")
- .make_entry_file(name, "booter_unload")
.make_entry_file(name, "bootloader")
.make_entry_file(name, "gsp");
- let this = if chipset.needs_fwsec_bootloader() {
- this.make_entry_file(name, "gen_bootloader")
+ // FSP-based chipsets (Hopper and later) boot the GSP via the FMC image
+ // loaded by FSP. Older chipsets use the SEC2 booter instead.
+ let this = if chipset.uses_fsp() {
+ this.make_entry_file(name, "fmc")
} else {
- this
+ this.make_entry_file(name, "booter_load")
+ .make_entry_file(name, "booter_unload")
};
- if chipset.uses_fsp() {
- this.make_entry_file(name, "fmc")
+ if chipset.needs_fwsec_bootloader() {
+ this.make_entry_file(name, "gen_bootloader")
} else {
this
}
base-commit: fea3a2dd7d3fc1936211ced5f84420e610435730
--
2.54.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] gpu: nova-core: don't declare booter firmware for FSP chipsets
2026-06-07 23:05 [PATCH] gpu: nova-core: don't declare booter firmware for FSP chipsets John Hubbard
@ 2026-06-08 22:09 ` Timur Tabi
2026-06-08 22:57 ` Danilo Krummrich
1 sibling, 0 replies; 4+ messages in thread
From: Timur Tabi @ 2026-06-08 22:09 UTC (permalink / raw)
To: Alexandre Courbot, dakr@kernel.org, John Hubbard
Cc: Shashank Sharma, lossin@kernel.org, boqun.feng@gmail.com,
a.hindborg@kernel.org, Zhi Wang, simona@ffwll.ch,
alex.gaynor@gmail.com, ojeda@kernel.org, nova-gpu@lists.linux.dev,
tmgross@umich.edu, linux-kernel@vger.kernel.org,
bjorn3_gh@protonmail.com, Eliot Courtney, airlied@gmail.com,
aliceryhl@google.com, bhelgaas@google.com, gary@garyguo.net,
Alistair Popple
On Sun, 2026-06-07 at 16:05 -0700, John Hubbard wrote:
> The module firmware table lists booter_load and booter_unload for every
> chipset, but Hopper and Blackwell boot the GSP through FSP and never
> load the SEC2 booter. Those modinfo entries point at firmware files that
> are not shipped for FSP-based chipsets, so initramfs tooling looks for
> images that are never used.
>
> Declare the booter only for chipsets that boot via it, matching how the
> FMC and FWSEC bootloader images are already gated on chipset
> capabilities.
>
> Signed-off-by: John Hubbard <jhubbard@nvidia.com>
Reviewed-by: Timur Tabi <ttabi@nvidia.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] gpu: nova-core: don't declare booter firmware for FSP chipsets
2026-06-07 23:05 [PATCH] gpu: nova-core: don't declare booter firmware for FSP chipsets John Hubbard
2026-06-08 22:09 ` Timur Tabi
@ 2026-06-08 22:57 ` Danilo Krummrich
2026-06-09 0:00 ` Timur Tabi
1 sibling, 1 reply; 4+ messages in thread
From: Danilo Krummrich @ 2026-06-08 22:57 UTC (permalink / raw)
To: John Hubbard
Cc: Alexandre Courbot, 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
On Mon Jun 8, 2026 at 1:05 AM CEST, John Hubbard wrote:
> The module firmware table lists booter_load and booter_unload for every
> chipset, but Hopper and Blackwell boot the GSP through FSP and never
> load the SEC2 booter. Those modinfo entries point at firmware files that
> are not shipped for FSP-based chipsets, so initramfs tooling looks for
> images that are never used.
>
> Declare the booter only for chipsets that boot via it, matching how the
> FMC and FWSEC bootloader images are already gated on chipset
> capabilities.
>
> Signed-off-by: John Hubbard <jhubbard@nvidia.com>
Reviewed-by: Danilo Krummrich <dakr@kernel.org>
> + // FSP-based chipsets (Hopper and later) boot the GSP via the FMC image
> + // loaded by FSP. Older chipsets use the SEC2 booter instead.
NIT: This is slightly ambiguous, since despite technically being the same
generation, by architecture ID Ada numerically sits in between Hopper and
Blackwell, but does not use FSP.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] gpu: nova-core: don't declare booter firmware for FSP chipsets
2026-06-08 22:57 ` Danilo Krummrich
@ 2026-06-09 0:00 ` Timur Tabi
0 siblings, 0 replies; 4+ messages in thread
From: Timur Tabi @ 2026-06-09 0:00 UTC (permalink / raw)
To: dakr@kernel.org, John Hubbard
Cc: gary@garyguo.net, Shashank Sharma, lossin@kernel.org,
boqun.feng@gmail.com, a.hindborg@kernel.org, Zhi Wang,
simona@ffwll.ch, alex.gaynor@gmail.com, ojeda@kernel.org,
nova-gpu@lists.linux.dev, tmgross@umich.edu,
linux-kernel@vger.kernel.org, bjorn3_gh@protonmail.com,
Eliot Courtney, airlied@gmail.com, aliceryhl@google.com,
bhelgaas@google.com, Alexandre Courbot, Alistair Popple
On Tue, 2026-06-09 at 00:57 +0200, Danilo Krummrich wrote:
> > + // FSP-based chipsets (Hopper and later) boot the GSP via the FMC image
> > + // loaded by FSP. Older chipsets use the SEC2 booter instead.
>
> NIT: This is slightly ambiguous, since despite technically being the same
> generation, by architecture ID Ada numerically sits in between Hopper and
> Blackwell, but does not use FSP.
Maybe we should add a comment to the define_chipset! block in gpu.rs which clarifies that even
though GH100 has a lower chipid then AD102, we consider Hopper to be a newer architecture than Ada.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-06-09 0:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-07 23:05 [PATCH] gpu: nova-core: don't declare booter firmware for FSP chipsets John Hubbard
2026-06-08 22:09 ` Timur Tabi
2026-06-08 22:57 ` Danilo Krummrich
2026-06-09 0:00 ` Timur Tabi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox