mbox series

[RFC,0/7] Add GuC Error Capture Support

Message ID 20211122230402.2023576-1-alan.previn.teres.alexis@intel.com (mailing list archive)
Headers show
Series Add GuC Error Capture Support | expand

Message

Alan Previn Nov. 22, 2021, 11:03 p.m. UTC
This series:
  1. Supports the roll out of an upcoming GuC feature to
     enable error-state-capture that allows the driver to
     register lists of MMIO registers that GuC will report
     during a GuC triggered engine-reset event.
  2. Updates the ADS blob creation to register lists
     of global and engine registers with GuC.
  3. Defines tables of register lists that are global or
     engine class or engine instance in scope.
  4. Separates GuC log-buffer access locks for relay logging
     vs the new region for the error state capture data.
  5. Allocates an additional interim circular buffer store
     to copy snapshots of new GuC reported error-state-capture
     dumps in response to the G2H notification.
  6. Connects the i915_gpu_coredump reporting function
     to the GuC error capture module to print all GuC
     error state capture dumps that is reported.

Alan Previn (6):
  drm/i915/guc: Update GuC ADS size for error capture lists
  drm/i915/guc: Populate XE_LP register lists for GuC error state
    capture.
  drm/i915/guc: Add GuC's error state capture output structures.
  drm/i915/guc: Update GuC's log-buffer-state access for error capture.
  drm/i915/guc: Copy new GuC error capture logs upon G2H notification.
  drm/i915/guc: Print the GuC error capture output register list.

John Harrison (1):
  drm/i915/guc: Add basic support for error capture lists

 drivers/gpu/drm/i915/Makefile                 |   1 +
 drivers/gpu/drm/i915/gt/intel_engine_cs.c     |   4 +-
 .../gpu/drm/i915/gt/uc/abi/guc_actions_abi.h  |   8 +
 drivers/gpu/drm/i915/gt/uc/intel_guc.c        |  52 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc.h        |   9 +
 drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c    | 197 +++-
 .../gpu/drm/i915/gt/uc/intel_guc_capture.c    | 999 ++++++++++++++++++
 .../gpu/drm/i915/gt/uc/intel_guc_capture.h    | 107 ++
 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c     |   3 +
 drivers/gpu/drm/i915/gt/uc/intel_guc_fwif.h   |  40 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_log.c    | 141 ++-
 drivers/gpu/drm/i915/gt/uc/intel_guc_log.h    |  21 +-
 .../gpu/drm/i915/gt/uc/intel_guc_submission.c |  22 +
 drivers/gpu/drm/i915/i915_gpu_error.c         |  53 +-
 drivers/gpu/drm/i915/i915_gpu_error.h         |   5 +
 15 files changed, 1581 insertions(+), 81 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/gt/uc/intel_guc_capture.c
 create mode 100644 drivers/gpu/drm/i915/gt/uc/intel_guc_capture.h