[PATCH 0/4] gpu: nova-core: debug logging essentials for r000
From: John Hubbard
Date: Thu Sep 17 2026 - 22:27:31 EST
Following up on the r000 v3 patchset that I just posted, this provides
some key logging enhancements for dmesg output, as well as re-enabling
decoding of GSP logs with the new r000 firmware (which has a new log
system that needs a little bit more information; specifically, Build
IDs).
These are a reworked and refreshed version of the debug-logging patches
of the r000 v2 series [1], which Alex asked to be moved into their own
patchset.
* Each log dump carries the header that the log decoder expects, with
the firmware's build ID, so the decoder matches the dump to the right
firmware ELF instead of the user guessing.
* Each GMC debug line prints the command by name and labels a received
message as an event or a response, so that this line:
GSP GMC: receive: seq# 9223372036854775808, command_id=0x10002, length=0xb0
becomes this one:
GSP GMC: event: seq# 0, command=EXEC_GENERIC_BOOTLOADER (0x10002), length=0xb0
A small preparatory patch keeps the NV_PMC_BOOT_42 implementation
field in the GPU spec, so that the log header takes the GPU's
architecture and implementation from the register fields, as Open RM
does.
The series applies on top of v3 of the r000 series [2], which in turn
applies on top of drm-rust-next plus:
* the interrupt tree series for GIN, the GPU Interrupt and Notification
unit [3]
* Eliot Courtney's NVKV codec series [4]
* the three-patch radix3 cleanup [5]
* two lint fixes for the generated bindings, both already in mainline
A branch with everything applied:
https://github.com/johnhubbard/linux/tree/nova-core-r615-plus-log-decoding-v0/
[1] https://lore.kernel.org/all/20260822015448.238214-1-jhubbard@xxxxxxxxxx/
[2] https://github.com/johnhubbard/linux/tree/nova-core-run-on-r615-or-later-v3/
[3] https://lore.kernel.org/all/20260912044400.677097-1-jhubbard@xxxxxxxxxx/
[4] https://lore.kernel.org/all/20260827-b4-nvkv-v2-0-0de9d5c8658c@xxxxxxxxxx/
[5] https://lore.kernel.org/all/20260913195413.742143-1-jhubbard@xxxxxxxxxx/
John Hubbard (4):
gpu: nova-core: record the BOOT_42 implementation field in the GPU
spec
gpu: nova-core: enable decoding of the GSP firmware logs
gpu: nova-core: gsp: print GMC command names in debug logs
gpu: nova-core: gsp: distinguish GMC events from responses in debug
logs
drivers/gpu/nova-core/firmware/gsp.rs | 54 ++++++-
drivers/gpu/nova-core/gpu.rs | 9 +-
drivers/gpu/nova-core/gsp.rs | 212 ++++++++++++++++++++++----
drivers/gpu/nova-core/gsp/boot.rs | 11 +-
drivers/gpu/nova-core/gsp/cmdq.rs | 42 +++--
drivers/gpu/nova-core/gsp/fw.rs | 81 +++++++++-
6 files changed, 355 insertions(+), 54 deletions(-)
--
2.55.0