[PATCH 0/2] drm/xe: Add devcoredump locking and reason string

John.C.Harrison at Intel.com John.C.Harrison at Intel.com
Wed Nov 20 23:22:55 UTC 2024


From: John Harrison <John.C.Harrison at 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 race causing two core dump captures to
run in parallel.

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


John Harrison (2):
  drm/xe: Add a reason string to the devcoredump
  drm/xe: Add lock around devcoredump capture status

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

-- 
2.47.0



More information about the Intel-xe mailing list