Re: [PATCH 08/31] gpu: nova-core: move firmware image parsing code to firmware.rs
From: Gary Guo
Date: Tue Jan 13 2026 - 08:44:42 EST
On Wed Dec 3, 2025 at 5:59 AM GMT, John Hubbard wrote:
> Up until now, only the GSP required parsing of its firmware headers.
> However, upcoming support for Hopper/Blackwell+ adds another firmware
> image (FMC), along with another format (ELF32).
>
> Therefore, the current ELF64 section parsing support needs to be moved
> up a level, so that both of the above can use it.
>
> There are no functional changes. This is pure code movement.
>
> Signed-off-by: John Hubbard <jhubbard@xxxxxxxxxx>
Reviewed-by: Gary Guo <gary@xxxxxxxxxxx>
> ---
> drivers/gpu/nova-core/firmware.rs | 89 +++++++++++++++++++++++++
> drivers/gpu/nova-core/firmware/gsp.rs | 94 ++-------------------------
> 2 files changed, 93 insertions(+), 90 deletions(-)