Skip to content

RFC drm/xe: Support capture and dump of devcoredump for general debug

[email protected] intel-xe 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5drm/xe/devcoredump: Support coredumps without jobsdrivers/gpu/drm/xe/xe_devcoredump.c drivers/gpu/drm/xe/xe_devcoredump.h drivers/gpu/drm/xe/xe_guc_submit.c+137 -250 replies
2/5drm/xe: Trigger a devcoredump capture on a GT resetdrivers/gpu/drm/xe/xe_gt.c+4 -00 replies
3/5drm/xe: Disconnect coredump structure from xe_device structuredrivers/gpu/drm/xe/xe_devcoredump.c drivers/gpu/drm/xe/xe_devcoredump_types.h+13 -140 replies
4/5drm/xe: Make coredump printing to in-memory cache optionaldrivers/gpu/drm/xe/xe_devcoredump.c drivers/gpu/drm/xe/xe_devcoredump.h+59 -410 replies
5/5drm/xe: Support devcoredump capture from dead CT handlerdrivers/gpu/drm/xe/xe_devcoredump.c drivers/gpu/drm/xe/xe_devcoredump.h drivers/gpu/drm/xe/xe_guc_ct.c +1 more+38 -350 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC 0/5] drm/xe: Support capture and dump of devcoredump for general debug

From: John Harrison <[email protected]>

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.

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(-)
Signature · 1 line
2.47.0