Re: [PATCH v4 04/13] gpu: nova-core: gsp: pass GspBootContext to unload methods

From: Eliot Courtney

Date: Wed Jul 01 2026 - 00:04:22 EST


On Mon Jun 29, 2026 at 11:09 PM JST, Alexandre Courbot wrote:
> `GspBootContext` contains the resources required to boot the GSP. As it
> turns out, this is also the context required for unloading it.
>
> Reflect that fact by replacing the arguments of `Gsp::unload` and
> `UnloadBundle::run` with the `GspBootContext`. This symmetry between
> `Gsp::boot` and `Gsp::unload` will also be convenient when we want to
> make these methods generic over the boot context corresponding to the
> boot method used.
>
> Signed-off-by: Alexandre Courbot <acourbot@xxxxxxxxxx>
> ---

Reviewed-by: Eliot Courtney <ecourtney@xxxxxxxxxx>