[Intel-xe] [PATCH 00/11] Introduce xe_devcoredump - v2

Rodrigo Vivi rodrigo.vivi at intel.com
Mon May 8 17:06:05 UTC 2023


v2 of: https://lore.kernel.org/all/20230426205713.512695-1-rodrigo.vivi@intel.com/

Addressing comments and requests, specially around atomic memory
and memory allocation failure.

Also, leaving VM stuff out for now since that might conflict with GPU
Space from Matthew.

Cc: Matthew Brost <matthew.brost at intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>

Rodrigo Vivi (11):
  drm/xe: Introduce the dev_coredump infrastructure.
  drm/xe: Do not take any action if our device was removed.
  drm/xe: Extract non mapped regions out of GuC CTB into its own struct.
  drm/xe: Convert GuC CT print to snapshot capture and print.
  drm/xe: Add GuC CT snapshot to xe_devcoredump.
  drm/xe: Introduce guc_submit_types.h with relevant structs.
  drm/xe: Convert GuC Engine print to snapshot capture and print.
  drm/xe: Add GuC Submit Engine snapshot to xe_devcoredump.
  drm/xe: Convert Xe HW Engine print to snapshot capture and print.
  drm/xe: Add HW Engine snapshot to xe_devcoredump.
  drm/xe: Limit CONFIG_DRM_XE_SIMPLE_ERROR_CAPTURE to itself.

 drivers/gpu/drm/xe/Kconfig                |   1 +
 drivers/gpu/drm/xe/Makefile               |   1 +
 drivers/gpu/drm/xe/xe_devcoredump.c       | 225 ++++++++++++++++
 drivers/gpu/drm/xe/xe_devcoredump.h       |  22 ++
 drivers/gpu/drm/xe/xe_devcoredump_types.h |  57 ++++
 drivers/gpu/drm/xe/xe_device_types.h      |   4 +
 drivers/gpu/drm/xe/xe_gt_debugfs.c        |   2 +-
 drivers/gpu/drm/xe/xe_guc.c               |   4 +-
 drivers/gpu/drm/xe/xe_guc_ct.c            | 310 +++++++++++++++-------
 drivers/gpu/drm/xe/xe_guc_ct.h            |   8 +-
 drivers/gpu/drm/xe/xe_guc_ct_types.h      |  46 +++-
 drivers/gpu/drm/xe/xe_guc_fwif.h          |  29 --
 drivers/gpu/drm/xe/xe_guc_submit.c        | 301 +++++++++++++++------
 drivers/gpu/drm/xe/xe_guc_submit.h        |  11 +-
 drivers/gpu/drm/xe/xe_guc_submit_types.h  | 155 +++++++++++
 drivers/gpu/drm/xe/xe_hw_engine.c         | 225 ++++++++++++----
 drivers/gpu/drm/xe/xe_hw_engine.h         |   9 +-
 drivers/gpu/drm/xe/xe_hw_engine_types.h   |  78 ++++++
 drivers/gpu/drm/xe/xe_pci.c               |   2 +
 drivers/gpu/drm/xe/xe_vm.c                |   7 -
 20 files changed, 1228 insertions(+), 269 deletions(-)
 create mode 100644 drivers/gpu/drm/xe/xe_devcoredump.c
 create mode 100644 drivers/gpu/drm/xe/xe_devcoredump.h
 create mode 100644 drivers/gpu/drm/xe/xe_devcoredump_types.h
 create mode 100644 drivers/gpu/drm/xe/xe_guc_submit_types.h

-- 
2.39.2



More information about the Intel-xe mailing list