milos-linux/drivers/gpu/nova-core
Timur Tabi dff8302ca1 gpu: nova-core: create GSP-RM logging buffers debugfs entries
Create read-only debugfs entries for LOGINIT, LOGRM, and LOGINTR, which
are the three primary printf logging buffers from GSP-RM.  LOGPMU will
be added at a later date, as it requires support for its RPC message
first.

This patch uses the `pin_init_scope` feature to create the entries.
`pin_init_scope` solves the lifetime issue over the `DEBUGFS_ROOT`
reference by delaying its acquisition until the time the entry is
actually initialized.

Co-developed-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Timur Tabi <ttabi@nvidia.com>
Tested-by: John Hubbard <jhubbard@nvidia.com>
Tested-by: Eliot Courtney <ecourtney@nvidia.com>
Link: https://patch.msgid.link/20260319212658.2541610-7-ttabi@nvidia.com
[ Rebase onto Coherent<T> changes. - Danilo ]
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
2026-03-25 01:24:26 +01:00
..
falcon gpu: nova-core: add PIO support for loading firmware images 2026-03-09 10:39:07 +09:00
fb gpu: nova-core: justify remaining uses of as 2025-11-08 08:22:51 +09:00
firmware gpu: nova-core: use the Generic Bootloader to boot FWSEC on Turing 2026-03-09 10:39:13 +09:00
gsp gpu: nova-core: gsp: move Cmdq's DMA handle to a struct member 2026-03-24 15:45:22 +09:00
regs rust: io: separate generic I/O helpers from MMIO implementation 2026-01-23 21:20:11 +01:00
bitfield.rs gpu: nova-core: bitfield: remove BitOr implementation 2025-10-25 13:16:31 +09:00
dma.rs gpu: nova-core: convert to new dma::Coherent API 2026-03-23 22:36:00 +01:00
driver.rs gpu: nova-core: fix aux device registration for multi-GPU systems 2026-02-24 15:44:51 +01:00
falcon.rs gpu: nova-core: convert to new dma::Coherent API 2026-03-23 22:36:00 +01:00
fb.rs gpu: nova-core: add FbRange.len() and use it in boot.rs 2026-03-10 20:13:46 +09:00
firmware.rs gpu: nova-core: firmware: fix and explain v2 header offsets computations 2026-03-09 14:29:21 +09:00
gfw.rs gpu: nova-core: apply the one "use" item per line policy 2025-11-07 23:10:44 +09:00
gpu.rs gpu: nova-core: add gen_bootloader firmware to ModInfoBuilder 2026-03-09 10:39:10 +09:00
gsp.rs gpu: nova-core: create GSP-RM logging buffers debugfs entries 2026-03-25 01:24:26 +01:00
Kconfig gpu: nova-core: Kconfig: Sort select statements alphabetically 2026-03-01 21:34:59 +09:00
Makefile
nova_core.rs gpu: nova-core: create debugfs root in module init 2026-03-25 01:24:26 +01:00
num.rs gpu: nova-core: num: add functions to safely convert a const value to a smaller type 2025-11-14 20:25:15 +09:00
regs.rs gpu: nova-core: add PIO support for loading firmware images 2026-03-09 10:39:07 +09:00
sbuffer.rs gpu: nova-core: remove imports available via prelude 2026-01-30 02:42:42 +01:00
vbios.rs Driver core changes for 7.0-rc1 2026-02-11 17:43:59 -08:00