From: Joel Fernandes <joelagnelf@nvidia.com>
To: John Hubbard <jhubbard@nvidia.com>
Cc: "Danilo Krummrich" <dakr@kernel.org>,
"Alexandre Courbot" <acourbot@nvidia.com>,
"Timur Tabi" <ttabi@nvidia.com>,
"Alistair Popple" <apopple@nvidia.com>,
"Edwin Peer" <epeer@nvidia.com>, "Zhi Wang" <zhiw@nvidia.com>,
"David Airlie" <airlied@gmail.com>,
"Simona Vetter" <simona@ffwll.ch>,
"Bjorn Helgaas" <bhelgaas@google.com>,
"Miguel Ojeda" <ojeda@kernel.org>,
"Alex Gaynor" <alex.gaynor@gmail.com>,
"Boqun Feng" <boqun.feng@gmail.com>,
"Gary Guo" <gary@garyguo.net>,
"Björn Roy Baron" <bjorn3_gh@protonmail.com>,
"Benno Lossin" <lossin@kernel.org>,
"Andreas Hindborg" <a.hindborg@kernel.org>,
"Alice Ryhl" <aliceryhl@google.com>,
"Trevor Gross" <tmgross@umich.edu>,
"nouveau@lists.freedesktop.org" <nouveau@lists.freedesktop.org>,
"rust-for-linux@vger.kernel.org" <rust-for-linux@vger.kernel.org>,
LKML <linux-kernel@vger.kernel.org>,
"John Hubbard" <jhubbard@nvidia.com>
Subject: Re: [PATCH 2/2] gpu: nova-core: don't print raw PMU table entries
Date: Thu, 8 Jan 2026 01:52:36 +0000 [thread overview]
Message-ID: <6342AE4E-DB30-4367-8C3A-53EDD02C3D19@nvidia.com> (raw)
In-Reply-To: <20260108005811.86014-3-jhubbard@nvidia.com>
> On Jan 7, 2026, at 7:58 PM, John Hubbard <jhubbard@nvidia.com> wrote:
>
> Remove the (large) raw form of the PMU table entries. The resulting
> PMULookupTable is still getting printed (in more useful form) later,
> anyway, so this was redundant, even for debugging. This output (the
> example is from an Ampere GPU) is what is being removed:
>
> NovaCore 0000:e1:00.0: PMU entry: [01, 01, 54, 54, 01, 00]
> NovaCore 0000:e1:00.0: PMU entry: [00, 00, 00, 00, 00, 00]
> NovaCore 0000:e1:00.0: PMU entry: [00, 00, 00, 00, 00, 00]
> NovaCore 0000:e1:00.0: PMU entry: [00, 00, 00, 00, 00, 00]
> NovaCore 0000:e1:00.0: PMU entry: [00, 00, 00, 00, 00, 00]
> NovaCore 0000:e1:00.0: PMU entry: [07, 06, e0, b7, 03, 00]
> NovaCore 0000:e1:00.0: PMU entry: [08, 01, bc, 56, 05, 00]
> NovaCore 0000:e1:00.0: PMU entry: [00, 00, 00, 00, 00, 00]
> NovaCore 0000:e1:00.0: PMU entry: [45, 07, 88, da, 01, 00]
> NovaCore 0000:e1:00.0: PMU entry: [85, 07, 34, c9, 02, 00]
> NovaCore 0000:e1:00.0: PMU entry: [49, 05, 7c, b3, 04, 00]
> NovaCore 0000:e1:00.0: PMU entry: [89, 05, 1c, 05, 05, 00]
> NovaCore 0000:e1:00.0: PMU entry: [00, 00, 00, 00, 00, 00]
> NovaCore 0000:e1:00.0: PMU entry: [00, 00, 00, 00, 00, 00]
> NovaCore 0000:e1:00.0: PMU entry: [00, 00, 00, 00, 00, 00]
> NovaCore 0000:e1:00.0: PMU entry: [00, 00, 00, 00, 00, 00]
>
> And it is immediately followed by a more useful, interpreted list of
> selected PMU table data, which is *not* being removed as part of this
> commit. That looks like this:
>
> NovaCore 0000:e1:00.0: PmuLookupTableEntry desc: FalconUCodeDescV3 {
> hdr: 78381825,
> stored_size: 59904,
> pkc_data_offset: 1444,
> interface_offset: 28,
> imem_phys_base: 0,
> imem_load_size: 57856,
> imem_virt_base: 0,
> dmem_phys_base: 0,
> dmem_load_size: 2048,
> engine_id_mask: 1024,
> ucode_id: 9,
> signature_count: 3,
> signature_versions: 7,
> _reserved: 37449,
> }
>
> Signed-off-by: John Hubbard <jhubbard@nvidia.com>
Acked-by: Joel Fernandes <joelagnelf@nvidia.com>
thanks,
- Joel
> ---
> drivers/gpu/nova-core/vbios.rs | 5 -----
> 1 file changed, 5 deletions(-)
>
> diff --git a/drivers/gpu/nova-core/vbios.rs b/drivers/gpu/nova-core/vbios.rs
> index 7c26e4a2d61c..ac01eb195fb2 100644
> --- a/drivers/gpu/nova-core/vbios.rs
> +++ b/drivers/gpu/nova-core/vbios.rs
> @@ -887,11 +887,6 @@ fn new(dev: &device::Device, data: &[u8]) -> Result<Self> {
> ret
> };
>
> - // Debug logging of entries (dumps the table data to dmesg)
> - for i in (header_len..required_bytes).step_by(entry_len) {
> - dev_dbg!(dev, "PMU entry: {:02x?}\n", &data[i..][..entry_len]);
> - }
> -
> Ok(PmuLookupTable { header, table_data })
> }
>
> --
> 2.52.0
>
next prev parent reply other threads:[~2026-01-08 1:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-08 0:58 [PATCH 0/2] gpu: nova-core: gpu_name cleanup, PMU debug output cleanup John Hubbard
2026-01-08 0:58 ` [PATCH 1/2] gpu: nova-core: preserve error information in gpu_name() John Hubbard
2026-01-08 0:58 ` [PATCH 2/2] gpu: nova-core: don't print raw PMU table entries John Hubbard
2026-01-08 1:52 ` Joel Fernandes [this message]
2026-01-12 13:33 ` [PATCH 0/2] gpu: nova-core: gpu_name cleanup, PMU debug output cleanup 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=6342AE4E-DB30-4367-8C3A-53EDD02C3D19@nvidia.com \
--to=joelagnelf@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=epeer@nvidia.com \
--cc=gary@garyguo.net \
--cc=jhubbard@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®