On Thu Dec 3, 2026 at 9:09 PM JST, Alexandre Courbot wrote:
> From: John Hubbard <[email protected]>
>
> With the switch to the r000 GSP firmware, load-and-execute GMC events
> replaced the command sequences that the r570 GSP-RM sent for the GSP
> sequencer to run, leaving the sequencer module unused.
>
> Delete the GSP sequencer module along with its firmware wrapper types,
> RPC event variant, and the post_boot HAL hook. Also mark
> `SBufferIter::flush_into_kvec` as dead code now that its last caller is
> gone.
>
> Signed-off-by: John Hubbard <[email protected]>
> Signed-off-by: Alexandre Courbot <[email protected]>
> ---

[...]

> -impl GspSeqCmd {
> -    fn run(&self, seq: &GspSequencer<'_>) -> Result {
> -        match self {
> -            GspSeqCmd::RegWrite(cmd) => cmd.run(seq),
> -            GspSeqCmd::RegModify(cmd) => cmd.run(seq),
> -            GspSeqCmd::RegPoll(cmd) => cmd.run(seq),
> -            GspSeqCmd::DelayUs(cmd) => cmd.run(seq),
> -            GspSeqCmd::RegStore(cmd) => cmd.run(seq),
> -            GspSeqCmd::CoreReset => {
> -                seq.gsp_falcon.reset()?;
> -                seq.gsp_falcon.dma_reset();
> -                Ok(())
> -            }
> -            GspSeqCmd::CoreStart => {
> -                seq.gsp_falcon.start()?;
> -                Ok(())
> -            }
> -            GspSeqCmd::CoreWaitForHalt => {
> -                seq.gsp_falcon.wait_till_halted()?;
> -                Ok(())
> -            }
> -            GspSeqCmd::CoreResume => {
> -                // At this point, 'SEC2-RTOS' has been loaded into SEC2 by 
> the sequencer
> -                // but neither SEC2-RTOS nor GSP-RM is running yet. This 
> part of the
> -                // sequencer will start both.
> -                load_exec::resume_gsp_rm(

load_exec::resume_gsp_rm can be made private now I think

With that change,

Reviewed-by: Eliot Courtney <[email protected]>

Reply via email to