Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] drm/xe: Add devcoredump locking and reason string
@ 2024-11-21 22:55 John.C.Harrison
  2024-11-21 22:55 ` [PATCH v2 1/2] drm/xe: Add a reason string to the devcoredump John.C.Harrison
                   ` (9 more replies)
  0 siblings, 10 replies; 16+ messages in thread
From: John.C.Harrison @ 2024-11-21 22:55 UTC (permalink / raw)
  To: Intel-Xe; +Cc: John Harrison

From: John Harrison <John.C.Harrison@Intel.com>

There are now many ways to trigger a devcoredump capture. So include a
reason message to say why it happened.

Also, add locking to avoid a races with double captures and free vs read.

v2: Change to spin_lock to mutex and a few other tweaks (review
feedback from Matthew Brost).

Signed-off-by: John Harrison <John.C.Harrison@Intel.com>


John Harrison (2):
  drm/xe: Add a reason string to the devcoredump
  drm/xe: Add mutex locking to devcoredump

 drivers/gpu/drm/xe/xe_devcoredump.c       | 47 ++++++++++++++++++++---
 drivers/gpu/drm/xe/xe_devcoredump.h       |  5 ++-
 drivers/gpu/drm/xe/xe_devcoredump_types.h |  8 +++-
 drivers/gpu/drm/xe/xe_guc_submit.c        | 14 +++++--
 4 files changed, 62 insertions(+), 12 deletions(-)

-- 
2.47.0


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

end of thread, other threads:[~2024-11-22 22:25 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-21 22:55 [PATCH v2 0/2] drm/xe: Add devcoredump locking and reason string John.C.Harrison
2024-11-21 22:55 ` [PATCH v2 1/2] drm/xe: Add a reason string to the devcoredump John.C.Harrison
2024-11-21 22:55 ` [PATCH v2 2/2] drm/xe: Add mutex locking to devcoredump John.C.Harrison
2024-11-21 23:44   ` Matthew Brost
2024-11-22  1:25     ` John Harrison
2024-11-22  2:01       ` Matthew Brost
2024-11-22 21:00         ` John Harrison
2024-11-22 22:25           ` Matthew Brost
2024-11-22  0:13 ` ✓ CI.Patch_applied: success for drm/xe: Add devcoredump locking and reason string (rev2) Patchwork
2024-11-22  0:14 ` ✓ CI.checkpatch: " Patchwork
2024-11-22  0:15 ` ✓ CI.KUnit: " Patchwork
2024-11-22  0:33 ` ✓ CI.Build: " Patchwork
2024-11-22  0:35 ` ✓ CI.Hooks: " Patchwork
2024-11-22  0:36 ` ✓ CI.checksparse: " Patchwork
2024-11-22  1:00 ` ✓ Xe.CI.BAT: " Patchwork
2024-11-22 18:53 ` ✗ Xe.CI.Full: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox