drm/amdkfd: CRIU Save Shared Virtual Memory ranges
authorRajneesh Bhardwaj <rajneesh.bhardwaj@amd.com>
Wed, 3 Nov 2021 06:40:27 +0000 (02:40 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Feb 2022 22:59:53 +0000 (17:59 -0500)
commit9d5dabfeff3ca63925cfc9c427f2d1fe8929402b
treefa1c223b4742389bf24c595dd54f2f722fd5b918
parent08a987a8a02b073c620b5f3f363714ccd98c0bc0
drm/amdkfd: CRIU Save Shared Virtual Memory ranges

During checkpoint stage, save the shared virtual memory ranges and
attributes for the target process. A process may contain a number of svm
ranges and each range might contain a number of attributes. While not
all attributes may be applicable for a given prange but during
checkpoint we store all possible values for the max possible attribute
types.

Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
drivers/gpu/drm/amd/amdkfd/kfd_svm.c
drivers/gpu/drm/amd/amdkfd/kfd_svm.h