On Mon Jun 29, 2026 at 11:09 PM JST, Alexandre Courbot wrote:
> `Falcon` instances retain references tied to the lifetime of the bound
> GPU. `GspBootContext` currently uses that same lifetime for its own
> borrows of the `Falcon` instances and other references.
>
> But these lifetimes are independent: the references captured by a
> `Falcon` remain valid for the GPU lifetime, while the context only
> borrows the `Falcon` for the duration of a boot or unload operation.
> This distinction is hidden for shared references by covariance, but
> cannot be ignored anymore if the context carries mutable references to
> GPU subdevices, as will happen for the `Fsp` and the `Falcon`s.
>
> Thus, give `GspBootContext` separate lifetimes for its subdevice borrows
> and the GPU resources captured by those subdevices, and update its users
> accordingly.
>
> Signed-off-by: Alexandre Courbot <[email protected]>
> ---

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

Reply via email to