On Mon Nov 30, 2026 at 6:28 PM JST, Eliot Courtney wrote: > From: John Hubbard <[email protected]> > > The r000 boot protocol requires the driver to reset the GSP falcon > before running the binary of a load-and-execute event, and to resume > GSP-RM afterwards. The core reset and the core resume commands of the > CPU sequencer already do both. > > In order to make the core resume available outside the sequencer, > factor it out into a module of its own. > > No functional changes. > > Signed-off-by: John Hubbard <[email protected]> > [ecourtney: factor out only the resume, `Falcon::boot()` calls `dma_reset()`] > Signed-off-by: Eliot Courtney <[email protected]> > --- > drivers/gpu/nova-core/gsp.rs | 1 + > drivers/gpu/nova-core/gsp/load_exec.rs | 71 > ++++++++++++++++++++++++++++++++++ > drivers/gpu/nova-core/gsp/sequencer.rs | 42 ++++---------------- > 3 files changed, 80 insertions(+), 34 deletions(-) > > diff --git a/drivers/gpu/nova-core/gsp.rs b/drivers/gpu/nova-core/gsp.rs > index 2f1cdf8b7bec..854062112cf1 100644 > --- a/drivers/gpu/nova-core/gsp.rs > +++ b/drivers/gpu/nova-core/gsp.rs > @@ -20,6 +20,7 @@ > pub(crate) mod cmdq; > pub(crate) mod commands; > mod fw; > +mod load_exec; > mod logbuffer; > mod nvkv; > mod regs; > diff --git a/drivers/gpu/nova-core/gsp/load_exec.rs > b/drivers/gpu/nova-core/gsp/load_exec.rs > new file mode 100644 > index 000000000000..68bca8c87a36 > --- /dev/null > +++ b/drivers/gpu/nova-core/gsp/load_exec.rs > @@ -0,0 +1,71 @@ > +// SPDX-License-Identifier: GPL-2.0 > +// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & > AFFILIATES. All rights reserved. > + > +//! The core resume of the GSP falcon.
This comment only survives for a few patches before being overwritten, let's just leave the module without a comment until its final one lands. Reviewed-by: Alexandre Courbot <[email protected]>
