Skip to content

Refine the codes about reseving bad pages.

Dennis Li amd-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/amdgpu: change to save bad pages in UMC error interrupt callbackdrivers/gpu/drm/amd/amdgpu/amdgpu_ras.c drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h drivers/gpu/drm/amd/amdgpu/amdgpu_umc.c+6 -70 replies
2/3drm/amdgpu: remove redundant GPU resetdrivers/gpu/drm/amd/amdgpu/amdgpu_ras.h drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c+1 -250 replies
3/3drm/amdgpu: fix the issue of reserving bad pages faileddrivers/gpu/drm/amd/amdgpu/amdgpu_ras.c drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h +1 more+158 -1191 reply

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchHawking Zhang
SeriesR-b
1/3
2/3
3/3

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

Read the v1 thread

Cover letter [PATCH 0/3] Refine the codes about reseving bad pages.

Beside umc, others' UE interrupt callback could enter into amdgpu_ras_reset_gpu, so the first patch change to save bad pages in UMC error interrupt callback.

When bad page error happens, the bad page mostly still be hold by some process, therefore driver will fail to reserve the bad page. The third patch will reserve the bad page when freeing it, make system has no chance to allocate it to other proccess.

Dennis Li (3):
drm/amdgpu: change to save bad pages in UMC error interrupt callback drm/amdgpu: remove redundant GPU reset
drm/amdgpu: fix the issue of reserving bad pages failed

 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c       | 155 +++++-------------
 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h       |  17 +-
 .../gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c    |  16 --
 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h       |   4 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_umc.c       |   7 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c  | 115 +++++++++++++
 6 files changed, 164 insertions(+), 150 deletions(-)
Signature · 6 lines
2.17.1

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