Re: [PATCH 06/15] gpu: nova-core: firmware: add the ucodes firmware loader

From: Eliot Courtney

Date: Thu Dec 03 2026 - 23:39:03 EST


On Thu Dec 3, 2026 at 9:09 PM JST, Alexandre Courbot wrote:
> From: John Hubbard <jhubbard@xxxxxxxxxx>
>
> The r000 GSP firmware includes a ucodes image, microcode that GSP-RM
> loads at init time from a buffer that the driver maps for it. The image
> is described by a TLV whose FILE tag names a separate file and whose
> SIZE tag gives that file's length, which is the convention that the GSP
> firmware image already uses.
>
> Add the ucodes loader on top of the TLV parser. The loader maps the
> image through a radix3 page table, as the GSP firmware image is mapped,
> and the image is required on every chipset that nova-core supports.
>
> This is part of the r000 support, and dead code until the switch.
>
> Signed-off-by: John Hubbard <jhubbard@xxxxxxxxxx>
> Reviewed-by: Timur Tabi <ttabi@xxxxxxxxxx>
> Signed-off-by: Alexandre Courbot <acourbot@xxxxxxxxxx>
> ---

Reviewed-by: Eliot Courtney <ecourtney@xxxxxxxxxx>