From: Timur Tabi <ttabi@nvidia.com>
To: Danilo Krummrich <dakr@kernel.org>,
Eliot Courtney <ecourtney@nvidia.com>,
John Hubbard <jhubbard@nvidia.com>,
Alexandre Courbot <acourbot@nvidia.com>,
<nova-gpu@lists.linux.dev>
Subject: [PATCH v4 0/7] Transition nova-core to use TLV variables for heap sizes
Date: Wed, 25 Nov 2026 15:24:38 -0600 [thread overview]
Message-ID: <20261125212445.620391-1-ttabi@nvidia.com> (raw)
Starting with r615, the GSP-RM firmware TLVs (i.e. gsp.tlv) contain an
an additional six variables that that should be used to calculate the
various heap sizes that GSP-RM needs in order to boot.
These values are specific to each GPU and RM version, and are obtained
by scraping them from the OpenRM source tree.
Note that although this patch set is necessary to support r620 and later,
there are other, unrelated changes necessary to complete that support.
This patch set is based on Alex's r000_rebase_all branch:
https://github.com/Gnurou/linux/tree/r000_rebase_all
v4:
- renamed fields of GspFwHeapParams
- removed stray comment in vgpu_wpr_heap_size
- used checked_add in vgpu_wpr_heap_size
Timur Tabi (7):
gpu: nova-core: add Tlv.get_u64
gpu: nova-core: read GSP heap variables from TLV
gpu: nova-core: use the TLV heap sizes for pmu and non-wpr
gpu: nova-core: remove heap size related HAL functions
gpu: nova-core: add TLV versions of WPR heap size functions
gpu: nova-core: change wpr2_heap_params to use TLV values
gpu: nova-core: remove LibosParams
drivers/gpu/nova-core/fb.rs | 40 +++++---
drivers/gpu/nova-core/fb/hal.rs | 6 --
drivers/gpu/nova-core/fb/hal/ga100.rs | 8 --
drivers/gpu/nova-core/fb/hal/ga102.rs | 8 --
drivers/gpu/nova-core/fb/hal/gb100.rs | 41 +-------
drivers/gpu/nova-core/fb/hal/gb202.rs | 13 +--
drivers/gpu/nova-core/fb/hal/gh100.rs | 12 +--
drivers/gpu/nova-core/fb/hal/tu102.rs | 16 ---
drivers/gpu/nova-core/firmware/gsp.rs | 8 +-
drivers/gpu/nova-core/firmware/tlv.rs | 13 +++
drivers/gpu/nova-core/gsp.rs | 4 +-
drivers/gpu/nova-core/gsp/fw.rs | 130 ++++++++-----------------
drivers/gpu/nova-core/gsp/hal/gh100.rs | 2 +-
13 files changed, 93 insertions(+), 208 deletions(-)
--
2.56.1
next reply other threads:[~2026-11-25 21:25 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 21:24 Timur Tabi [this message]
2026-11-25 21:24 ` [PATCH v4 1/7] gpu: nova-core: add Tlv.get_u64 Timur Tabi
2026-11-25 21:24 ` [PATCH v4 2/7] gpu: nova-core: read GSP heap variables from TLV Timur Tabi
2026-11-25 21:24 ` [PATCH v4 3/7] gpu: nova-core: use the TLV heap sizes for pmu and non-wpr Timur Tabi
2026-11-25 21:24 ` [PATCH v4 4/7] gpu: nova-core: remove heap size related HAL functions Timur Tabi
2026-11-25 21:24 ` [PATCH v4 5/7] gpu: nova-core: add TLV versions of WPR heap size functions Timur Tabi
2026-11-25 21:24 ` [PATCH v4 6/7] gpu: nova-core: change wpr2_heap_params to use TLV values Timur Tabi
2026-11-25 21:24 ` [PATCH v4 7/7] gpu: nova-core: remove LibosParams Timur Tabi
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=20261125212445.620391-1-ttabi@nvidia.com \
--to=ttabi@nvidia.com \
--cc=acourbot@nvidia.com \
--cc=dakr@kernel.org \
--cc=ecourtney@nvidia.com \
--cc=jhubbard@nvidia.com \
--cc=nova-gpu@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox