Skip to content

BAD GPU retirement policy by total bad pages

Guchun Chen amd-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5drm/amdgpu: add bad page count threshold in module parameterdrivers/gpu/drm/amd/amdgpu/amdgpu.h drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c+12 -04 replies
2/5drm/amdgpu: validate bad page threshold in rasdrivers/gpu/drm/amd/amdgpu/amdgpu_ras.c drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c +1 more+53 -02 replies
3/5drm/amdgpu: conduct bad gpu check during bootup/resetdrivers/gpu/drm/amd/amdgpu/amdgpu_device.c drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h +2 more+142 -133 replies
4/5drm/amdgpu: restore ras flags when user resets eepromdrivers/gpu/drm/amd/amdgpu/amdgpu_ras.c+2 -00 replies
5/5drm/amdgpu: calculate actual size instead of hardcode sizedrivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c+2 -42 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/5] BAD GPU retirement policy by total bad pages

The series is to enable the feature of GPU RMA(Return Merchandise Authorization) which is trigged when bad pages detected by RAS ECC exceed the threshold value.

When the saved bad pages written to eeprom reach the threshold, one ras recovery will be issued immediately and the recovery will fail to tell user that the GPU is BAD and needs to be retired for further check.

During bootup, similar BAD GPU check is conducted as well when eeprom get initialized, and it will break boot up for user's awareness.

User could set bad_page_threshold=0 when probing amdgpu driver to disable this feature to bring up GPU, and reset eeprom later.

Guchun Chen (5):
drm/amdgpu: add bad page count threshold in module parameter drm/amdgpu: validate bad page threshold in ras drm/amdgpu: conduct bad gpu check during bootup/reset drm/amdgpu: restore ras flags when user resets eeprom drm/amdgpu: calculate actual size instead of hardcode size

 drivers/gpu/drm/amd/amdgpu/amdgpu.h           |  1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c    | 21 +++-
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c       | 11 +++
 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c       | 70 ++++++++++++-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h       | 19 +++-
 .../gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c    | 98 ++++++++++++++++++-
 .../gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.h    |  8 +-
 7 files changed, 211 insertions(+), 17 deletions(-)
Signature · 6 lines
2.17.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx