[RFC PATCH 00/17] CRIU support for ROCm
Felix Kuehling
Felix.Kuehling at amd.com
Sat May 1 01:57:35 UTC 2021
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 criu at openvz.org 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(-)
--
2.17.1
More information about the amd-gfx
mailing list