From: "Eliot Courtney" <ecourtney@nvidia.com>
To: "Danilo Krummrich" <dakr@kernel.org>, <acourbot@nvidia.com>
Cc: <nova-gpu@lists.linux.dev>, <dri-devel@lists.freedesktop.org>,
<rust-for-linux@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
"dri-devel" <dri-devel-bounces@lists.freedesktop.org>
Subject: Re: [PATCH v2] gpu: nova-core: use Init for firmware initialization
Date: Tue, 24 Nov 2026 14:22:22 +0900 [thread overview]
Message-ID: <DN36TVRHP5RJ.1VH6LBMSEG5MA@nvidia.com> (raw)
In-Reply-To: <20261122171353.963020-1-dakr@kernel.org>
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@kernel.org>
> ---
> Changes in v2:
> - Convert to impl Init to not increase the overall stack usage.
> ---
Reviewed-by: Eliot Courtney <ecourtney@nvidia.com>
next prev parent reply other threads:[~2026-11-24 5:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-22 17:13 [PATCH v2] gpu: nova-core: use Init for firmware initialization Danilo Krummrich
2026-11-24 5:22 ` Eliot Courtney [this message]
2026-11-25 8:15 ` Alexandre Courbot
2026-11-26 22:40 ` Danilo Krummrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DN36TVRHP5RJ.1VH6LBMSEG5MA@nvidia.com \
--to=ecourtney@nvidia.com \
--cc=acourbot@nvidia.com \
--cc=dakr@kernel.org \
--cc=dri-devel-bounces@lists.freedesktop.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nova-gpu@lists.linux.dev \
--cc=rust-for-linux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.