dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/5] drm/panthor: Implement fault information propagation
@ 2025-12-15 11:54 Lukas Zapolskas
  2025-12-15 11:54 ` [PATCH v1 1/5] drm/panthor: Implement CS_FAULT propagation to userspace Lukas Zapolskas
                   ` (4 more replies)
  0 siblings, 5 replies; 16+ messages in thread
From: Lukas Zapolskas @ 2025-12-15 11:54 UTC (permalink / raw)
  To: Boris Brezillon, Liviu Dudau, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter
  Cc: nd, dri-devel, linux-kernel, Lukas Zapolskas

The Panthor CSF firmware and hardware interfaces provide additional
metadata when faults occur. In particular, there are three relevant
categories of faults here:
* faults raised at the address space level. These are fatal and each
  group bound to that AS is affected.
* fatal faults raised on one of the queues in that group, preventing
  further submissions on the group.
* recoverable faults raised on one of the queues in that group.
  The queue may progress further after this point, so multiple such
  faults may be generated.
Each of these categories provides fault information containing
sources of the error, read/write/execute bits and potentially virtual
addresses at which these faults occurred.

This series extends the GROUP_GET_STATE ioctl to propagate the fault
metadata to enable the VK_EXT_device_fault(3) extension.

Lukas Zapolskas (4):
  drm/panthor: Store queue fault and fatal information
  drm/panthor: Track VM faults
  drm/panthor: Propagate VM-level faults to groups
  drm/panthor: Use GROUP_GET_STATE to provide group and queue errors

Paul Toadere (1):
  drm/panthor: Implement CS_FAULT propagation to userspace

 drivers/gpu/drm/panthor/panthor_drv.c   |  85 ++++++++-
 drivers/gpu/drm/panthor/panthor_mmu.c   |  24 ++-
 drivers/gpu/drm/panthor/panthor_mmu.h   |  22 +++
 drivers/gpu/drm/panthor/panthor_regs.h  |   3 +
 drivers/gpu/drm/panthor/panthor_sched.c | 237 ++++++++++++++++++++----
 drivers/gpu/drm/panthor/panthor_sched.h |   4 +-
 include/uapi/drm/panthor_drm.h          |  52 +++++-
 7 files changed, 378 insertions(+), 49 deletions(-)

--
2.33.0.dirty


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2025-12-17 11:38 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-15 11:54 [PATCH v1 0/5] drm/panthor: Implement fault information propagation Lukas Zapolskas
2025-12-15 11:54 ` [PATCH v1 1/5] drm/panthor: Implement CS_FAULT propagation to userspace Lukas Zapolskas
2025-12-15 12:03   ` Boris Brezillon
2025-12-15 11:54 ` [PATCH v1 2/5] drm/panthor: Store queue fault and fatal information Lukas Zapolskas
2025-12-15 12:11   ` Boris Brezillon
2025-12-17 11:37   ` Steven Price
2025-12-15 11:54 ` [PATCH v1 3/5] drm/panthor: Track VM faults Lukas Zapolskas
2025-12-15 12:37   ` Boris Brezillon
2025-12-15 11:54 ` [PATCH v1 4/5] drm/panthor: Propagate VM-level faults to groups Lukas Zapolskas
2025-12-15 12:41   ` Boris Brezillon
2025-12-15 12:46   ` Boris Brezillon
2025-12-15 11:54 ` [PATCH v1 5/5] drm/panthor: Use GROUP_GET_STATE to provide group and queue errors Lukas Zapolskas
2025-12-15 17:31   ` Boris Brezillon
2025-12-16  5:45   ` kernel test robot
2025-12-16  7:52   ` Marcin Ślusarz
2025-12-16  9:29   ` kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).