Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [RFC 0/5] drm/xe: Support capture and dump of devcoredump for general debug
@ 2024-11-09  1:59 John.C.Harrison
  2024-11-09  1:59 ` [RFC 1/5] drm/xe/devcoredump: Support coredumps without jobs John.C.Harrison
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: John.C.Harrison @ 2024-11-09  1:59 UTC (permalink / raw)
  To: Intel-Xe; +Cc: John Harrison

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

It is useful to be able to dump driver/hardware state when various
unexpected errors occur. E.g. on an internal error in the GuC
communication layer, there is a dump of the GuC state. Currently the
CT code rolls its own capture and print. However, the devcoredump
mechanism is basically doing exactly the same thing. So tweak that to
allow it to be called from arbitrary places and use it instead.

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


John Harrison (5):
  drm/xe/devcoredump: Support coredumps without jobs
  drm/xe: Trigger a devcoredump capture on a GT reset
  drm/xe: Disconnect coredump structure from xe_device structure
  drm/xe: Make coredump printing to in-memory cache optional
  drm/xe: Support devcoredump capture from dead CT handler

 drivers/gpu/drm/xe/xe_devcoredump.c       | 266 ++++++++++++++++------
 drivers/gpu/drm/xe/xe_devcoredump.h       |   9 +-
 drivers/gpu/drm/xe/xe_devcoredump_types.h |   2 +
 drivers/gpu/drm/xe/xe_gt.c                |   4 +
 drivers/gpu/drm/xe/xe_guc_ct.c            |  57 +++--
 drivers/gpu/drm/xe/xe_guc_ct_types.h      |   6 +-
 drivers/gpu/drm/xe/xe_guc_submit.c        |   2 +-
 7 files changed, 241 insertions(+), 105 deletions(-)

-- 
2.47.0


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

end of thread, other threads:[~2024-11-10  3:58 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-09  1:59 [RFC 0/5] drm/xe: Support capture and dump of devcoredump for general debug John.C.Harrison
2024-11-09  1:59 ` [RFC 1/5] drm/xe/devcoredump: Support coredumps without jobs John.C.Harrison
2024-11-09  1:59 ` [RFC 2/5] drm/xe: Trigger a devcoredump capture on a GT reset John.C.Harrison
2024-11-09  1:59 ` [RFC 3/5] drm/xe: Disconnect coredump structure from xe_device structure John.C.Harrison
2024-11-09  1:59 ` [RFC 4/5] drm/xe: Make coredump printing to in-memory cache optional John.C.Harrison
2024-11-09  1:59 ` [RFC 5/5] drm/xe: Support devcoredump capture from dead CT handler John.C.Harrison
2024-11-09  2:05 ` ✓ CI.Patch_applied: success for drm/xe: Support capture and dump of devcoredump for general debug Patchwork
2024-11-09  2:05 ` ✗ CI.checkpatch: warning " Patchwork
2024-11-09  2:06 ` ✓ CI.KUnit: success " Patchwork
2024-11-09  2:18 ` ✓ CI.Build: " Patchwork
2024-11-09  2:20 ` ✓ CI.Hooks: " Patchwork
2024-11-09  2:22 ` ✓ CI.checksparse: " Patchwork
2024-11-09  2:39 ` ✓ CI.BAT: " Patchwork
2024-11-10  3:58 ` ✗ 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