mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Eliot Courtney" <ecourtney@nvidia.com>
To: "Alexandre Courbot" <acourbot@nvidia.com>,
	"Danilo Krummrich" <dakr@kernel.org>,
	"Alice Ryhl" <aliceryhl@google.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>,
	"Eliot Courtney" <ecourtney@nvidia.com>,
	"Zhi Wang" <zhiw@nvidia.com>, <nova-gpu@lists.linux.dev>,
	<dri-devel@lists.freedesktop.org>, <linux-kernel@vger.kernel.org>,
	"dri-devel" <dri-devel-bounces@lists.freedesktop.org>
Subject: Re: [PATCH v4 6/6] gpu: nova-core: gsp: logbuffer: add LIBOS3 log buffers and state monitor buffer
Date: Tue, 01 Dec 2026 17:48:52 +0900	[thread overview]
Message-ID: <DN99LSZ9ZKF8.2HEL7D1UU7LVQ@nvidia.com> (raw)
In-Reply-To: <20261201-nova-r000-staging-v4-6-de45770a47a1@nvidia.com>

On Tue Dec 1, 2026 at 5:15 PM JST, Alexandre Courbot wrote:
> From: John Hubbard <jhubbard@nvidia.com>
>
> GSP-RM runs on LibOS, and each LibOS task logs into a buffer that the
> driver provides and names in the init argument array. On GA102 and
> later, the r000 firmware runs LIBOS3, version 3 of LibOS, which has six
> logging tasks. LIBOS3 also expects one more page, the state monitor
> buffer, in which GSP-RM reports its own state. On Turing and GA100 the
> r000 firmware runs LIBOS2, which maps only the init and RM log buffers
> and skips the names that it does not have.
>
> Nova-core allocates log buffers for three of the six tasks, and no state
> monitor buffer.
>
> Allocate the three missing log buffers and the state monitor buffer, and
> name every log buffer in the init argument array. Give each new log a
> debugfs file next to the existing ones, and retain it after unbind under
> the same module parameter as the existing ones.
>
> This is part of the r000 support. As it comes before the switch, the
> r570 firmware is passed the three new log buffers too, and nothing uses
> the state monitor buffer until the switch.
>
> Signed-off-by: John Hubbard <jhubbard@nvidia.com>
> Co-developed-by: Alexandre Courbot <acourbot@nvidia.com>
> Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
> ---

Reviewed-by: Eliot Courtney <ecourtney@nvidia.com>

  reply	other threads:[~2026-12-01  8:49 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-01  8:15 [PATCH v4 0/6] gpu: nova-core: gsp: preparatory patches for the r000 firmware Alexandre Courbot
2026-12-01  8:15 ` [PATCH v4 1/6] gpu: nova-core: gsp: add the r000 queue element header Alexandre Courbot
2026-12-01 14:12   ` Danilo Krummrich
2026-12-01  8:15 ` [PATCH v4 2/6] gpu: nova-core: firmware: tlv: add method to load the file referenced by a TLV Alexandre Courbot
2026-12-01  8:15 ` [PATCH v4 3/6] gpu: nova-core: gsp: logbuffer: add LogBuffers::init_arguments() Alexandre Courbot
2026-12-01 14:22   ` Danilo Krummrich
2026-12-01  8:15 ` [PATCH v4 4/6] gpu: nova-core: gsp: logbuffer: make LogBuffer generic over its size Alexandre Courbot
2026-12-01  8:15 ` [PATCH v4 5/6] gpu: nova-core: gsp: logbuffer: add RetainedLogBuffers::is_empty() Alexandre Courbot
2026-12-01  8:15 ` [PATCH v4 6/6] gpu: nova-core: gsp: logbuffer: add LIBOS3 log buffers and state monitor buffer Alexandre Courbot
2026-12-01  8:48   ` Eliot Courtney [this message]
2026-12-01 14:23 ` [PATCH v4 0/6] gpu: nova-core: gsp: preparatory patches for the r000 firmware 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=DN99LSZ9ZKF8.2HEL7D1UU7LVQ@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-bounces@lists.freedesktop.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 \
    --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®