RFC CRIU support for ROCm
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest17 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/17 | x86/configs: CRIU update release defconfigarch/ | +9 | 0 replies | |
| 2/17 | x86/configs: CRIU update debug rock defconfigarch/ | +34 | 0 replies | |
| 3/17 | drm/amdkfd: CRIU Introduce Checkpoint-Restore APIsdrivers/ drivers/ include/ | +196 | 0 replies | |
| 4/17 | drm/amdkfd: CRIU Implement KFD helper ioctldrivers/ drivers/ drivers/ | +56 | 0 replies | |
| 5/17 | drm/amdkfd: CRIU Implement KFD dumper ioctldrivers/ | +95 | 0 replies | |
| 6/17 | drm/amdkfd: CRIU Implement KFD restore ioctldrivers/ drivers/ | +325 | 0 replies | |
| 7/17 | drm/amdkfd: CRIU Implement KFD resume ioctldrivers/ drivers/ drivers/ +4 more | +159 | 0 replies | |
| 8/17 | drm/amdkfd: CRIU add queues supportdrivers/ | +231 | 0 replies | |
| 9/17 | drm/amdkfd: CRIU restore queue idsdrivers/ drivers/ drivers/ +1 more | +41 | 0 replies | |
| 10/17 | drm/amdkfd: CRIU restore sdma id for queuesdrivers/ drivers/ drivers/ +2 more | +42 | 0 replies | |
| 11/17 | drm/amdkfd: CRIU restore queue doorbell iddrivers/ drivers/ drivers/ | +41 | 0 replies | |
| 12/17 | drm/amdkfd: CRIU restore CU mask for queuesdrivers/ drivers/ | +154 | 0 replies | |
| 13/17 | drm/amdkfd: CRIU dump and restore queue mqdsdrivers/ drivers/ drivers/ +7 more | +422 | 0 replies | |
| 14/17 | drm/amdkfd: CRIU dump/restore queue control stackdrivers/ drivers/ drivers/ +7 more | +89 | 0 replies | |
| 15/17 | drm/amdkfd: CRIU dump and restore eventsdrivers/ drivers/ drivers/ | +279 | 0 replies | |
| 16/17 | drm/amdkfd: CRIU implement gpu_id remappingdrivers/ drivers/ drivers/ | +157 | 0 replies | |
| 17/17 | Revert "drm/amdgpu: Remove verify_access shortcut for KFD BOs"drivers/ | +7 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 00/17] CRIU support for ROCm
This patch series is a prototype for supporting CRIU for ROCm applications. More work is needed before this can be upstreamed and released, including a new ioctl API that is extensible without breaking the ABI.
The user mode code to go with this can be found at
https://github.com/RadeonOpenCompute/criu/tree/criu-dev/test/others/ext-kfd
It will be discussed with the CRIU community on [email protected] and evolve together with this patch series.
This patch series is also available on github:
https://github.com/RadeonOpenCompute/ROCK-Kernel-Driver/commits/fxkamd/criu-wip
David Yat Sin (9):
drm/amdkfd: CRIU add queues support drm/amdkfd: CRIU restore queue ids drm/amdkfd: CRIU restore sdma id for queues drm/amdkfd: CRIU restore queue doorbell id drm/amdkfd: CRIU restore CU mask for queues drm/amdkfd: CRIU dump and restore queue mqds drm/amdkfd: CRIU dump/restore queue control stack drm/amdkfd: CRIU dump and restore events drm/amdkfd: CRIU implement gpu_id remapping
Rajneesh Bhardwaj (8):
x86/configs: CRIU update release defconfig x86/configs: CRIU update debug rock defconfig drm/amdkfd: CRIU Introduce Checkpoint-Restore APIs drm/amdkfd: CRIU Implement KFD helper ioctl drm/amdkfd: CRIU Implement KFD dumper ioctl drm/amdkfd: CRIU Implement KFD restore ioctl drm/amdkfd: CRIU Implement KFD resume ioctl
Revert "drm/amdgpu: Remove verify_access shortcut for KFD BOs"
arch/x86/configs/rock-dbg_defconfig | 53 +- arch/x86/configs/rock-rel_defconfig | 13 +- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h | 5 +- .../gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 51 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 27 + drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h | 2 + drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 1445 ++++++++++++++--- drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c | 2 +- .../drm/amd/amdkfd/kfd_device_queue_manager.c | 178 +- .../drm/amd/amdkfd/kfd_device_queue_manager.h | 11 +- drivers/gpu/drm/amd/amdkfd/kfd_events.c | 163 +- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.h | 11 + .../gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c | 74 + .../gpu/drm/amd/amdkfd/kfd_mqd_manager_v10.c | 75 + .../gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c | 86 + .../gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c | 75 + drivers/gpu/drm/amd/amdkfd/kfd_priv.h | 72 +- drivers/gpu/drm/amd/amdkfd/kfd_process.c | 68 +- .../amd/amdkfd/kfd_process_queue_manager.c | 68 +- include/uapi/linux/kfd_ioctl.h | 110 +- 20 files changed, 2304 insertions(+), 285 deletions(-)
Signature · 6 lines
2.17.1 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel