]> Gentwo Git Trees - linux/.git/commit
gpu: nova-core: firmware: process Booter and patch its signature
authorAlexandre Courbot <acourbot@nvidia.com>
Sat, 13 Sep 2025 14:12:19 +0000 (23:12 +0900)
committerAlexandre Courbot <acourbot@nvidia.com>
Sat, 13 Sep 2025 14:17:34 +0000 (23:17 +0900)
commit3e5c9681bf86461d26e9db85eeb9b8cbaa256e6a
tree812b48a29f5ce8a060a2fd045d023e1b17f4c7ce
parentd6cb7319e64eecbdaa63e54a38dec03b30a4fdfd
gpu: nova-core: firmware: process Booter and patch its signature

The Booter signed firmware is an essential part of bringing up the GSP
on Turing and Ampere. It is loaded on the sec2 falcon core and is
responsible for loading and running the RISC-V GSP bootloader into the
GSP core.

Add support for parsing the Booter firmware loaded from userspace, patch
its signatures, and store it into a form that is ready to be loaded and
executed on the sec2 falcon.

Then, move the Booter instance from the `Firmware` struct to the
`start_gsp` method since it doesn't need to be kept after the GSP is
booted.

We do not run Booter yet, as its own payload (the GSP bootloader and
firmware image) still need to be prepared.

Acked-by: Danilo Krummrich <dakr@kernel.org>
Link: https://lore.kernel.org/r/20250913-nova_firmware-v6-6-9007079548b0@nvidia.com
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
drivers/gpu/nova-core/falcon.rs
drivers/gpu/nova-core/firmware.rs
drivers/gpu/nova-core/firmware/booter.rs [new file with mode: 0644]
drivers/gpu/nova-core/gsp/boot.rs