From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alvin Sun Subject: [PATCH 0/2] drm/gpuvm: add debugfs utilities for GPU VA state dumping Date: Tue, 17 Mar 2026 20:03:39 +0800 Message-Id: <20260317-gpuvm-helpers-v1-0-00198fc6eeea@linux.dev> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIACFDuWkC/02OywrCMBBFf6XM2il5tGktIv6HuEjSsUb6MmmDI P67wbpweQbOPfOCQN5RgCZ7gafogpvGBHyXgb3psSN0bWIQTCgmeYXdvMYBb9TP5AOKujUkjGT SCEjO7Onqnt+982VjT481zS7bEYwOhHYaBrc0Waxyht4W8J9rshQrORf1L+bXsKCp+N5qKyrdq iZ+jYFC0D/lcNg+ZEowqYo651yqsiyQ432iXncj9dfTGF3rdJ7yxyNc3u8P4uenSf8AAAA= X-Change-ID: 20260317-gpuvm-helpers-28dbe2b303b2 To: Danilo Krummrich , Matthew Brost , =?utf-8?q?Thomas_Hellstr=C3=B6m?= , Alice Ryhl , David Airlie , Simona Vetter , Miguel Ojeda , Boqun Feng , Gary Guo , =?utf-8?q?Bj=C3=B6rn_Roy_Baron?= , Benno Lossin , Andreas Hindborg , Trevor Gross Cc: dri-devel@lists.freedesktop.org, rust-for-linux@vger.kernel.org, Alvin Sun X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1773749102; l=1764; i=alvin.sun@linux.dev; s=20260317; h=from:subject:message-id; bh=aS0AQ+DX9KeA6AMbU2CAybn1XXydzrY13XlyF6pIjOw=; b=Fqxw7Hamhyb2RexD2o4WMZ4spA4S1bQc2Z7iI/S/FQk9eIyMejQYQT+S4cMB365ongnsABhh+ Coje7864LlJAxMy7hYBCuACCxxLr0azNcI2odnc+Yow1+AT4oXILCku X-Developer-Key: i=alvin.sun@linux.dev; a=ed25519; pk=CHcwQp8GSoj25V/L1ZWNSQjWp9eSIb0s9LKr0Nm3WuE= X-Endpoint-Received: by B4 Relay for alvin.sun@linux.dev/20260317 with auth_id=684 List-Id: B4 Relay Submissions This patch series adds helper APIs to enable GPU drivers to implement debugfs interfaces [1] [2] that expose GPU VA mapping state for inspection and debugging purposes. Dependencies: - [PATCH v12 0/1] rust: interop: Add list module for C linked list interface https://lore.kernel.org/rust-for-linux/20260306203648.1136554-1-joelagnelf@nvidia.com/ - [PATCH v4 0/6] Rust GPUVM immediate mode https://lore.kernel.org/rust-for-linux/20260130-gpuvm-rust-v4-0-8364d104ff40@google.com/ Link: https://gitlab.freedesktop.org/panfrost/linux/-/issues/11 [1] Link: https://gitlab.freedesktop.org/panfrost/linux/-/merge_requests/59 [2] Signed-off-by: Alvin Sun --- Alvin Sun (2): drm/gpuvm: add name(), RawGpuVa and kernel_alloc_va() for debugfs drm/gpuvm: add GpuVaIter and va_mappings() for debugfs rust/kernel/drm/gpuvm/mod.rs | 20 ++++++++++ rust/kernel/drm/gpuvm/va.rs | 90 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 110 insertions(+) --- base-commit: 34cb4f916af10153c87fabaf6c34e4cafa170427 change-id: 20260317-gpuvm-helpers-28dbe2b303b2 prerequisite-change-id: 20251128-gpuvm-rust-b719cac27ad6:v4 prerequisite-patch-id: 94679c36e594a7d6fc9279dad5419f5558f2302b prerequisite-patch-id: 03b672e1e2c07d677326d64de7fccc6092ea6812 prerequisite-patch-id: 3c1a4c6eec5faaa1a70de53581bd7ae5ab7bc324 prerequisite-patch-id: 3712380c7bfdf784b6aca146864576cd76bc9a72 prerequisite-patch-id: 3149e1016beefce815c860d4b64e7c1bb7589f15 prerequisite-patch-id: 23467ae9a31746a6c44678e0054f1442c6a5ac06 prerequisite-message-id: <<20260306203648.1136554-1-joelagnelf@nvidia.com>> prerequisite-patch-id: 9bc17713af35e5f2744ac55157e2b5078eae77cc Best regards, -- Alvin Sun