Skip to content

Protect drm_ras against unplugged or wedged device

Raag Jadav intel-xe 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 2 repliesIn review
  2. v32 patches 0 repliesSuperseded
  3. v22 patches 1 replySuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v11 patch3 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/xe/drm_ras: Protect against unplugged or wedged devicedrivers/gpu/drm/xe/xe_drm_ras.c+69 -241 reply
2/2drm/xe/wedge: Introduce xe_wedge_mode_is_no_reset()drivers/gpu/drm/xe/xe_drm_ras.c drivers/gpu/drm/xe/xe_guc_ads.c drivers/gpu/drm/xe/xe_guc_capture.c +4 more+15 -91 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchStuart SummersRiana Tauro
1/2R-b R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/2] Protect drm_ras against unplugged or wedged device

This series fixes drm_ras counter access against unplugged or wedged device and while at it, introduces xe_wedge_mode_is_no_reset() helper. Detailed description in commit message.

v1: https://patchwork.freedesktop.org/series/178643/

v2: Allow counter access with XE_WEDGED_MODE_UPON_ANY_HANG_NO_RESET (Riana)
Introduce xe_wedge_mode_is_no_reset()

v3: Fix wedge_validate_mode() to check for local mode (Sashiko)

v4: Also use xe_wedge_mode_is_no_reset() in guc_submit_hint_wedged() (Sashiko)

Raag Jadav (2):
drm/xe/drm_ras: Protect against unplugged or wedged device drm/xe/wedge: Introduce xe_wedge_mode_is_no_reset()

 drivers/gpu/drm/xe/xe_drm_ras.c     | 93 +++++++++++++++++++++--------
 drivers/gpu/drm/xe/xe_guc_ads.c     |  3 +-
 drivers/gpu/drm/xe/xe_guc_capture.c |  3 +-
 drivers/gpu/drm/xe/xe_guc_submit.c  |  4 +-
 drivers/gpu/drm/xe/xe_pci_error.c   |  2 +-
 drivers/gpu/drm/xe/xe_wedge.c       |  5 +-
 drivers/gpu/drm/xe/xe_wedge.h       |  5 ++
 7 files changed, 83 insertions(+), 32 deletions(-)
Signature · 1 line
2.43.0