From: sashiko-bot@kernel.org
To: "Alexandre Courbot" <acourbot@nvidia.com>
Cc: "Danilo Krummrich" <dakr@kernel.org>,
ojeda@kernel.org, dri-devel@lists.freedesktop.org
Subject: Re: [PATCH v2 06/13] gpu: nova-core: gsp: make unload take GspBootContext
Date: Tue, 23 Jun 2026 21:11:10 +0000 [thread overview]
Message-ID: <20260623211111.32ACD1F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260622-nova-bootcontext-v2-6-0ddeafc06f5d@nvidia.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] Early failures in `GspHal::boot` return a dummy `EAGAIN` error for the unload bundle, triggering misleading warnings in `Gsp::boot`.
--
commit 59b7c0f9ed708bf2f09f8548faf948cfa1adfc96
Author: Alexandre Courbot <acourbot@nvidia.com>
gpu: nova-core: gsp: make unload take GspBootContext
This patch refactors Gsp::unload to accept GspBootContext instead of
individual resource arguments. This reflects that the resources required
to boot the GSP are also needed for unloading it.
> diff --git a/drivers/gpu/nova-core/gsp/boot.rs b/drivers/gpu/nova-core/gsp/boot.rs
> index 3f11eaec26c78..336ad23c96f9b 100644
> --- a/drivers/gpu/nova-core/gsp/boot.rs
> +++ b/drivers/gpu/nova-core/gsp/boot.rs
[ ... ]
> @@ -102,7 +100,7 @@ pub(crate) fn boot(
> dev_err!(dev, "GSP boot failed with error {:?}\n", e);
>
> // Ignore errors during unload; we will return the error that happened during boot.
> - let _ = self.unload(dev, bar, gsp_falcon, ctx.sec2_falcon, unload_bundle);
> + let _ = self.unload(ctx, unload_bundle);
[Severity: Low]
If an early operation in the HAL boot paths fails before unload_bundle is
properly initialized (such as Vbios::new() failing in Tu102::boot(), or
missing fsp in Gh100::boot()), does unload_bundle retain a dummy
Err(EAGAIN) value?
If so, does this cause the inspect_err() on unload_bundle to unconditionally
trigger and log misleading warnings that falsely claim the GPU will need a
reset even for these early initialization failures?
>
> Err(e)
> }
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260622-nova-bootcontext-v2-0-0ddeafc06f5d@nvidia.com?part=6
next prev parent reply other threads:[~2026-06-23 21:11 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-22 7:10 [PATCH v2 00/13] gpu: nova-core: consolidate and streamline GSP boot process Alexandre Courbot
2026-06-22 7:10 ` [PATCH v2 01/13] gpu: nova-core: gsp: sequencer: use GspBootContext Alexandre Courbot
2026-06-22 7:10 ` [PATCH v2 02/13] gpu: nova-core: gsp: sequencer: do not store sequence into GspSequencer Alexandre Courbot
2026-06-23 20:46 ` sashiko-bot
2026-06-22 7:10 ` [PATCH v2 03/13] gpu: nova-core: gsp: move boot code into local closure Alexandre Courbot
2026-06-22 7:59 ` Eliot Courtney
2026-06-22 18:41 ` John Hubbard
2026-06-22 7:10 ` [PATCH v2 04/13] gpu: nova-core: gsp: replace BootUnloadGuard with local handler Alexandre Courbot
2026-06-22 7:10 ` [PATCH v2 05/13] gpu: nova-core: gsp: move unload bundle error handling to Gsp::boot Alexandre Courbot
2026-06-23 20:59 ` sashiko-bot
2026-06-22 7:10 ` [PATCH v2 06/13] gpu: nova-core: gsp: make unload take GspBootContext Alexandre Courbot
2026-06-23 21:11 ` sashiko-bot [this message]
2026-06-22 7:10 ` [PATCH v2 07/13] gpu: nova-core: gsp: fold TU102 unload bundle construction into HAL method Alexandre Courbot
2026-06-22 7:10 ` [PATCH v2 08/13] gpu: nova-core: gsp: turn FWSEC execution " Alexandre Courbot
2026-06-22 7:10 ` [PATCH v2 09/13] gpu: nova-core: gsp: make use of FWSEC bootloader a property of the TU102 HAL Alexandre Courbot
2026-06-22 7:10 ` [PATCH v2 10/13] gpu: nova-core: introduce GspBootMethod Alexandre Courbot
2026-06-22 7:10 ` [PATCH v2 11/13] gpu: nova-core: avoid repeated calls to pci::Device::as_ref Alexandre Courbot
2026-06-22 7:10 ` [PATCH v2 12/13] gpu: nova-core: gsp: pass GspBootContext mutably Alexandre Courbot
2026-06-22 7:10 ` [PATCH v2 13/13] gpu: nova-core: store Fsp instance in Gpu Alexandre Courbot
2026-06-22 22:28 ` John Hubbard
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=20260623211111.32ACD1F000E9@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=acourbot@nvidia.com \
--cc=dakr@kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=ojeda@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/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.