Skip to content

*** SRIOV GPU RESET PATCHES ***

Monk Liu amd-gfx 1 version NAK

Status from this message: NAK, we must always recover the page tables or otherwise no process would be able to proceed.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 36 repliesNAK

Patches in v1

#Subject and filesSizeRepliesApplied
1/12drm/amdgpu/sriov:now must reinit pspdrivers/gpu/drm/amd/amdgpu/amdgpu_device.c+1 -00 replies
2/12drm/amdgpu/sriov:fix memory leak in psp_load_fwdrivers/gpu/drm/amd/amdgpu/amdgpu_psp.c+12 -80 replies
3/12drm/amdgpu/sriov:use atomic type for sriov_resetdrivers/gpu/drm/amd/amdgpu/amdgpu.h drivers/gpu/drm/amd/amdgpu/amdgpu_device.c drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c +3 more+12 -120 replies
4/12drm/amdgpu/sriov:cleanup gpu rest mlockdrivers/gpu/drm/amd/amdgpu/amdgpu_device.c drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h+4 -60 replies
5/12drm/amdgpu/sriov:accurate description for sriov_gpu_resetdrivers/gpu/drm/amd/amdgpu/amdgpu_device.c+3 -00 replies
6/12drm/amdgpu/sriov:handle more jobs hang in different ring casedrivers/gpu/drm/amd/amdgpu/amdgpu_device.c drivers/gpu/drm/amd/amdgpu/amdgpu_job.c+14 -51 reply
7/12drm/amdgpu/sriov:implement strict gpu resetdrivers/gpu/drm/amd/amdgpu/amdgpu.h drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +7 more+188 -93 replies
8/12drm/amdgpu:explicitly call fence_processdrivers/gpu/drm/amd/amdgpu/amdgpu_fence.c+6 -16 replies
9/12drm/amdgpu/sriov:return -ENODEV if gpu reseteddrivers/gpu/drm/amd/amdgpu/amdgpu.h drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c+13 -014 replies
10/12drm/amdgpu/sriov:implement guilty ctx for loose resetdrivers/gpu/drm/amd/amdgpu/amdgpu.h drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c +2 more+34 -75 replies
11/12drm/amdgpu/sriov:show error if ib test faileddrivers/gpu/drm/amd/amdgpu/amdgpu_device.c+2 -11 reply
12/12drm/amdgpu/sriov:no shadow buffer recoverydrivers/gpu/drm/amd/amdgpu/amdgpu_device.c+0 -295 replies

Reviews trailers per patch

1 of 12 patches has a Reviewed-by or Acked-by.

PatchChristian König
1/12
2/12
3/12
4/12
5/12
6/12
7/12
8/12
9/12
10/12
11/12R-b
12/12

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 00/12] *** SRIOV GPU RESET PATCHES ***

implement strict mode gpu reset, and some changes for loose mode reset

Monk Liu (12):
drm/amdgpu/sriov:now must reinit psp drm/amdgpu/sriov:fix memory leak in psp_load_fw drm/amdgpu/sriov:use atomic type for sriov_reset drm/amdgpu/sriov:cleanup gpu rest mlock drm/amdgpu/sriov:accurate description for sriov_gpu_reset drm/amdgpu/sriov:handle more jobs hang in different ring case drm/amdgpu/sriov:implement strict gpu reset drm/amdgpu:explicitly call fence_process drm/amdgpu/sriov:return -ENODEV if gpu reseted drm/amdgpu/sriov:implement guilty ctx for loose reset drm/amdgpu/sriov:show error if ib test failed drm/amdgpu/sriov:no shadow buffer recovery

 drivers/gpu/drm/amd/amdgpu/amdgpu.h           |   5 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c        |  46 ++++++---
 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c       |   1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c    | 135 +++++++++++++++++++-------
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c       |   4 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c     |   7 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_job.c       |  19 +++-
 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c       |   7 ++
 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c       |  22 +++--
 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c     |   2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c      |   2 -
 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h      |   2 +-
 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c         |   6 +-
 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c         |   6 +-
 drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c         |   4 +-
 drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c         |   4 +-
 drivers/gpu/drm/amd/scheduler/gpu_scheduler.c |  82 ++++++++++++++++
 drivers/gpu/drm/amd/scheduler/gpu_scheduler.h |   3 +
 18 files changed, 284 insertions(+), 73 deletions(-)
Signature · 6 lines
2.7.4

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