All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] drm/amdgpu: devcoredump and reset fixes
@ 2026-12-02 22:34 Matt Turner
  2026-12-02 22:34 ` [PATCH 1/3] drm/amdgpu: fix IB content read in the devcoredump Matt Turner
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Matt Turner @ 2026-12-02 22:34 UTC (permalink / raw)
  To: Alex Deucher, Christian König, David Airlie, Simona Vetter,
	Pierre-Eric Pelloux-Prayer, Le Ma, Lijo Lazar
  Cc: amd-gfx, dri-devel, linux-kernel, Matt Turner, Gregoire Pean,
	Jatin Kataria

Three small fixes found while working on the amdgpu devcoredump.

Patch 1 fixes reading the IB contents into the devcoredump: a NULL
dereference for PRT mappings and purged BOs, a wrong offset for
mappings that don't start at the beginning of their BO, no bounds
check of the IB against its mapping, and clobbering abo->kmap.

Patch 2 clears the JPEG and VCN1 IP dump pointers after freeing them,
as the other VCN versions already do.

Patch 3 skips the MES legacy queue unmap during a GPU reset, as the
KIQ path already does, so a hung MES doesn't add about 2.1 seconds per
queue to recovery.

Signed-off-by: Matt Turner <mattst88@gmail.com>
---
Matt Turner (3):
      drm/amdgpu: fix IB content read in the devcoredump
      drm/amdgpu: clear stale JPEG and VCN1 IP dump pointers
      drm/amdgpu: don't unmap legacy queues through MES during reset

 drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c | 67 ++++++++++++++++--------
 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c          |  8 +++
 drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c         |  1 +
 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c            |  1 +
 4 files changed, 56 insertions(+), 21 deletions(-)
---
base-commit: a69db917063c539fa09325ea22f3ff7b0626b478
change-id: 20261118-amdgpu-devcoredump-fixes-03f0342dc0a2

Best regards,
--  
Matt Turner <mattst88@gmail.com>


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

end of thread, other threads:[~2026-12-02 22:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-02 22:34 [PATCH 0/3] drm/amdgpu: devcoredump and reset fixes Matt Turner
2026-12-02 22:34 ` [PATCH 1/3] drm/amdgpu: fix IB content read in the devcoredump Matt Turner
2026-12-02 22:53   ` sashiko-bot
2026-12-02 22:34 ` [PATCH 2/3] drm/amdgpu: clear stale JPEG and VCN1 IP dump pointers Matt Turner
2026-12-02 22:34 ` [PATCH 3/3] drm/amdgpu: don't unmap legacy queues through MES during reset Matt Turner
2026-12-02 22:48   ` sashiko-bot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.