mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: John Hubbard <jhubbard@nvidia.com>
To: Timur Tabi <ttabi@nvidia.com>,
	Alexandre Courbot <acourbot@nvidia.com>,
	"dakr@kernel.org" <dakr@kernel.org>
Cc: "aliceryhl@google.com" <aliceryhl@google.com>,
	"lossin@kernel.org" <lossin@kernel.org>,
	"a.hindborg@kernel.org" <a.hindborg@kernel.org>,
	"boqun.feng@gmail.com" <boqun.feng@gmail.com>,
	Zhi Wang <zhiw@nvidia.com>, "simona@ffwll.ch" <simona@ffwll.ch>,
	"alex.gaynor@gmail.com" <alex.gaynor@gmail.com>,
	"ojeda@kernel.org" <ojeda@kernel.org>,
	"tmgross@umich.edu" <tmgross@umich.edu>,
	"nouveau@lists.freedesktop.org" <nouveau@lists.freedesktop.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"rust-for-linux@vger.kernel.org" <rust-for-linux@vger.kernel.org>,
	"bjorn3_gh@protonmail.com" <bjorn3_gh@protonmail.com>,
	Eliot Courtney <ecourtney@nvidia.com>,
	"airlied@gmail.com" <airlied@gmail.com>,
	Joel Fernandes <joelagnelf@nvidia.com>,
	"bhelgaas@google.com" <bhelgaas@google.com>,
	"gary@garyguo.net" <gary@garyguo.net>,
	Alistair Popple <apopple@nvidia.com>
Subject: Re: [PATCH v3 30/30] gpu: nova-core: clarify the GPU firmware boot steps
Date: Sun, 8 Feb 2026 18:22:40 -0800	[thread overview]
Message-ID: <81280b58-965f-475b-9d46-d03347617d64@nvidia.com> (raw)
In-Reply-To: <bbfaf5b0-6e10-469c-8a01-9575ccfcd8dd@nvidia.com>

On 2/8/26 6:14 PM, John Hubbard wrote:
> On 2/6/26 10:43 AM, Timur Tabi wrote:
>> On Thu, 2026-02-05 at 20:21 -0800, John Hubbard wrote:
>>> +        // Reset and boot GSP before SEC2
>>> +        gsp_falcon.reset(bar)?;
>>> +        let libos_handle = libos.dma_handle();
>>> +        let (mbox0, mbox1) = gsp_falcon.boot(
>>> +            bar,
>>> +            Some(libos_handle as u32),
>>> +            Some((libos_handle >> 32) as u32),
>>> +        )?;
>>> +        dev_dbg!(dev, "GSP MBOX0: {:#x}, MBOX1: {:#x}\n", mbox0, mbox1);
>>> +        dev_dbg!(
>>> +            dev,
>>> +            "Using SEC2 to load and run the booter_load firmware...\n"
>>> +        );
>>> +
>>
>> Looks like you accidentally deleted the "if mbox0 != 0" test.
>>
> 
> OK, I've added it back in for the next version:
> ...

ah, *correction*, I spoke too quickly. The reason I removed any
such checks at some point is that they are wrong. This mailbox
contains the libos address after boot, not an error code.

Open RM also does not check.

thanks,
-- 
John Hubbard


  reply	other threads:[~2026-02-09  2:22 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-06  4:20 [PATCH v3 00/30] gpu: nova-core: firmware: Hopper/Blackwell support John Hubbard
2026-02-06  4:20 ` [PATCH v3 01/30] gpu: nova-core: print FB sizes, along with ranges John Hubbard
2026-02-06  4:20 ` [PATCH v3 02/30] gpu: nova-core: add FbRange.len() and use it in boot.rs John Hubbard
2026-02-06  4:20 ` [PATCH v3 03/30] gpu: nova-core: Hopper/Blackwell: basic GPU identification John Hubbard
2026-02-06  4:20 ` [PATCH v3 04/30] gpu: nova-core: factor .fwsignature* selection into a new get_gsp_sigs_section() John Hubbard
2026-02-06  4:20 ` [PATCH v3 05/30] gpu: nova-core: use GPU Architecture to simplify HAL selections John Hubbard
2026-02-06 18:02   ` Timur Tabi
2026-02-09  1:47     ` John Hubbard
2026-02-06  4:20 ` [PATCH v3 06/30] gpu: nova-core: apply the one "use" item per line policy to commands.rs John Hubbard
2026-02-06  4:21 ` [PATCH v3 07/30] gpu: nova-core: set DMA mask width based on GPU architecture John Hubbard
2026-02-06  4:21 ` [PATCH v3 08/30] gpu: nova-core: Hopper/Blackwell: skip GFW boot waiting John Hubbard
2026-02-06  4:21 ` [PATCH v3 09/30] gpu: nova-core: move firmware image parsing code to firmware.rs John Hubbard
2026-02-06  4:21 ` [PATCH v3 10/30] gpu: nova-core: factor out a section_name_eq() function John Hubbard
2026-02-06  4:21 ` [PATCH v3 11/30] gpu: nova-core: don't assume 64-bit firmware images John Hubbard
2026-02-06  4:21 ` [PATCH v3 12/30] gpu: nova-core: add support for 32-bit " John Hubbard
2026-02-06  4:21 ` [PATCH v3 13/30] gpu: nova-core: add auto-detection of 32-bit, 64-bit " John Hubbard
2026-02-06  4:21 ` [PATCH v3 14/30] gpu: nova-core: Hopper/Blackwell: add FMC firmware image, in support of FSP John Hubbard
2026-02-06  4:21 ` [PATCH v3 15/30] gpu: nova-core: Hopper/Blackwell: add FSP falcon engine stub John Hubbard
2026-02-06  4:21 ` [PATCH v3 16/30] gpu: nova-core: Hopper/Blackwell: add FSP falcon EMEM operations John Hubbard
2026-02-06 18:07   ` Timur Tabi
2026-02-09  1:56     ` John Hubbard
2026-02-06  4:21 ` [PATCH v3 17/30] gpu: nova-core: Hopper/Blackwell: add FSP message infrastructure John Hubbard
2026-02-06  4:21 ` [PATCH v3 18/30] gpu: nova-core: Hopper/Blackwell: calculate reserved FB heap size John Hubbard
2026-02-06  4:21 ` [PATCH v3 19/30] gpu: nova-core: Hopper/Blackwell: add FSP secure boot completion waiting John Hubbard
2026-02-06  4:21 ` [PATCH v3 20/30] gpu: nova-core: Hopper/Blackwell: add FSP message structures John Hubbard
2026-02-06 19:41   ` Timur Tabi
2026-02-09  1:59     ` John Hubbard
2026-02-06  4:21 ` [PATCH v3 21/30] gpu: nova-core: Hopper/Blackwell: add FMC signature extraction John Hubbard
2026-02-06  4:21 ` [PATCH v3 22/30] gpu: nova-core: Hopper/Blackwell: add FSP send/receive messaging John Hubbard
2026-02-06  4:21 ` [PATCH v3 23/30] gpu: nova-core: Hopper/Blackwell: add FSP Chain of Trust boot John Hubbard
2026-02-06  4:21 ` [PATCH v3 24/30] gpu: nova-core: Hopper/Blackwell: larger non-WPR heap John Hubbard
2026-02-06  4:21 ` [PATCH v3 25/30] gpu: nova-core: Hopper/Blackwell: larger WPR2 (GSP) heap John Hubbard
2026-02-06 19:03   ` Timur Tabi
2026-02-09  2:05     ` John Hubbard
2026-02-06  4:21 ` [PATCH v3 26/30] gpu: nova-core: refactor SEC2 booter loading into run_booter() helper John Hubbard
2026-02-06  4:21 ` [PATCH v3 27/30] gpu: nova-core: Hopper/Blackwell: add GSP lockdown release polling John Hubbard
2026-02-06  4:21 ` [PATCH v3 28/30] gpu: nova-core: Hopper/Blackwell: add FSP Chain of Trust boot path John Hubbard
2026-02-06  4:21 ` [PATCH v3 29/30] gpu: nova-core: Hopper/Blackwell: new location for PCI config mirror John Hubbard
2026-02-06  4:21 ` [PATCH v3 30/30] gpu: nova-core: clarify the GPU firmware boot steps John Hubbard
2026-02-06 18:43   ` Timur Tabi
2026-02-09  2:14     ` John Hubbard
2026-02-09  2:22       ` John Hubbard [this message]
2026-02-09  4:24         ` Timur Tabi
2026-02-09  8:05           ` 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=81280b58-965f-475b-9d46-d03347617d64@nvidia.com \
    --to=jhubbard@nvidia.com \
    --cc=a.hindborg@kernel.org \
    --cc=acourbot@nvidia.com \
    --cc=airlied@gmail.com \
    --cc=alex.gaynor@gmail.com \
    --cc=aliceryhl@google.com \
    --cc=apopple@nvidia.com \
    --cc=bhelgaas@google.com \
    --cc=bjorn3_gh@protonmail.com \
    --cc=boqun.feng@gmail.com \
    --cc=dakr@kernel.org \
    --cc=ecourtney@nvidia.com \
    --cc=gary@garyguo.net \
    --cc=joelagnelf@nvidia.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lossin@kernel.org \
    --cc=nouveau@lists.freedesktop.org \
    --cc=ojeda@kernel.org \
    --cc=rust-for-linux@vger.kernel.org \
    --cc=simona@ffwll.ch \
    --cc=tmgross@umich.edu \
    --cc=ttabi@nvidia.com \
    --cc=zhiw@nvidia.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®