Re: [PATCH v2] gpu: nova-core: use Init for firmware initialization
From: Alexandre Courbot
Date: Wed Nov 25 2026 - 03:15:39 EST
On Mon Nov 23, 2026 at 2:13 AM JST, Danilo Krummrich wrote:
> Now that SGTable no longer requires pinning, move Radix3 and GspFirmware
> from PinInit to Init.
>
> In an x86-64 build, GspFirmware is 312 bytes, including its 216-byte
> Radix3. This is reasonable for the stack, but returning it by value
> increases boot()'s local stack reservation from 432 to 1040 bytes.
>
> On TU102 for instance, the nested hal.boot() call reserves another 1128
> bytes for locals.
>
> Thus, keep the KBox allocation and in-place initialization.
>
> Signed-off-by: Danilo Krummrich <dakr@xxxxxxxxxx>
Reviewed-by: Alexandre Courbot <acourbot@xxxxxxxxxx>