Re: [PATCH 3/7] gpu: nova-core: move the bootloader DMEM descriptor out of FWSEC
From: Eliot Courtney
Date: Thu Nov 05 2026 - 07:53:34 EST
On Tue Nov 3, 2026 at 7:22 PM JST, Alexandre Courbot wrote:
> From: John Hubbard <jhubbard@xxxxxxxxxx>
>
> The generic falcon bootloader reads its load parameters from a
> descriptor that the driver places in DMEM. The r000 load-and-execute
> bootloader event carries such a descriptor, so its handler will need the
> descriptor type.
>
> The descriptor was defined in the FWSEC code, which was its only user.
> Move the definition, unchanged, into the generic bootloader module.
>
> No functional changes.
>
> Assisted-by: LLM
> Signed-off-by: John Hubbard <jhubbard@xxxxxxxxxx>
> [acourbot: keep the fields private, add a constructor and the ctx_dma()
> accessor instead of making every field pub(crate)]
> Signed-off-by: Alexandre Courbot <acourbot@xxxxxxxxxx>
> ---
Reviewed-by: Eliot Courtney <ecourtney@xxxxxxxxxx>