mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Eliot Courtney <ecourtney@nvidia.com>
To: Danilo Krummrich <dakr@kernel.org>,
	Alice Ryhl <aliceryhl@google.com>,
	 Alexandre Courbot <acourbot@nvidia.com>,
	David Airlie <airlied@gmail.com>,
	 Simona Vetter <simona@ffwll.ch>
Cc: John Hubbard <jhubbard@nvidia.com>,
	 Alistair Popple <apopple@nvidia.com>,
	Timur Tabi <ttabi@nvidia.com>,
	 nova-gpu@lists.linux.dev, dri-devel@lists.freedesktop.org,
	 linux-kernel@vger.kernel.org,
	Eliot Courtney <ecourtney@nvidia.com>
Subject: [PATCH v2 2/6] gpu: nova-core: use correct offset for imem in `BooterFirmware`
Date: Sun, 29 Nov 2026 11:55:46 +0900	[thread overview]
Message-ID: <20261129-boot-rework2-v2-2-622f3560e18a@nvidia.com> (raw)
In-Reply-To: <20261129-boot-rework2-v2-0-622f3560e18a@nvidia.com>

This is zero in all current firmwares but conceptually it should be
`os_code_offset` not zero.

Signed-off-by: Eliot Courtney <ecourtney@nvidia.com>
---
 drivers/gpu/nova-core/firmware/booter.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/nova-core/firmware/booter.rs b/drivers/gpu/nova-core/firmware/booter.rs
index a52c965093c9..7a0163a00285 100644
--- a/drivers/gpu/nova-core/firmware/booter.rs
+++ b/drivers/gpu/nova-core/firmware/booter.rs
@@ -152,7 +152,7 @@ pub(crate) fn new(
             (
                 app0_code_offset,
                 Some(FalconDmaLoadTarget {
-                    src_start: 0,
+                    src_start: os_code_offset,
                     dst_start: os_code_offset,
                     len: os_code_size,
                 }),

-- 
2.56.1


  parent reply	other threads:[~2026-11-29  2:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-29  2:55 [PATCH v2 0/6] gpu: nova-core: merge `load` and `boot` for falcons Eliot Courtney
2026-11-29  2:55 ` [PATCH v2 1/6] gpu: nova-core: falcon: program BROM and BOOTVEC in `boot` Eliot Courtney
2026-11-29  2:55 ` Eliot Courtney [this message]
2026-11-29  2:55 ` [PATCH v2 3/6] gpu: nova-core: remove some dependencies on FalconDmaLoadTarget Eliot Courtney
2026-11-29  2:55 ` [PATCH v2 4/6] gpu: nova-core: falcon: separate staging data for DMA from its location Eliot Courtney
2026-11-29  2:55 ` [PATCH v2 5/6] gpu: nova-core: falcon: add `FalconImage` for `FalconFirmware` trait Eliot Courtney
2026-11-29  2:55 ` [PATCH v2 6/6] gpu: nova-core: falcon: load the firmware image in Falcon::boot Eliot Courtney

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=20261129-boot-rework2-v2-2-622f3560e18a@nvidia.com \
    --to=ecourtney@nvidia.com \
    --cc=acourbot@nvidia.com \
    --cc=airlied@gmail.com \
    --cc=aliceryhl@google.com \
    --cc=apopple@nvidia.com \
    --cc=dakr@kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=jhubbard@nvidia.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nova-gpu@lists.linux.dev \
    --cc=simona@ffwll.ch \
    --cc=ttabi@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®