On Mon Nov 30, 2026 at 6:28 PM JST, Eliot Courtney wrote: > From: John Hubbard <[email protected]> > > The GSP falcon is a microcontroller with two cores, a falcon core and a > RISC-V core, and only one of the two is active at a time. GSP-RM runs on > the RISC-V core. > > On GA102 and later, the r000 GSP-RM requires a Heavy-Secured (HS) binary > to run on the falcon core during boot. GSP-RM is suspended while the > binary runs. > > The driver runs the binary on behalf of GSP-RM, in the following steps: > > 1. GSP-RM places the binary in the framebuffer. > 2. GSP-RM raises a load-and-execute event. > 3. GSP-RM suspends the RISC-V core. > 4. The driver waits until the RISC-V core is suspended. > 5. The driver resets the GSP falcon, which selects the falcon core. > 6. The driver loads the binary from the framebuffer into the GSP falcon. > 7. The driver starts the binary and waits for the falcon core to halt. > 8. The driver resumes GSP-RM on the RISC-V core. > > Nova-core has no handler for the load-and-execute event. > > Add the handler, which performs steps 4 through 8. > > Co-developed-by: Alexandre Courbot <[email protected]> > Signed-off-by: Alexandre Courbot <[email protected]> > Signed-off-by: John Hubbard <[email protected]> > [ecourtney: boot HS binary with `Falcon::boot()`, keeping `dma_wr()` private] > [ecourtney: zerocopy derives for `HsBinaryParams`, no `unsafe impl`] > [ecourtney: move MAILBOX0 check and resume to `handle_load_exec_event()`] > [ecourtney: module doc's FBIF sentence moved here from the bootloader patch] > [ecourtney: move some methods to be impls of `GspBootContext`] > Signed-off-by: Eliot Courtney <[email protected]>
Neat, especially the fact this now implements `FalconFirmware`! Reviewed-by: Alexandre Courbot <[email protected]>
