diff options
author | Rajneesh Bhardwaj <rajneesh.bhardwaj@amd.com> | 2021-11-08 17:33:42 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-02-07 17:59:53 -0500 |
commit | 2a909ae718715b3bac75d945e38dc0a5e4a0f1ba (patch) | |
tree | e77afa020860e9ee9ff59517e8234fa9cac599a8 /crypto/wp512.c | |
parent | c2db32ce77adf82dd2a4193abc709ec51474f84e (diff) | |
download | lwn-2a909ae718715b3bac75d945e38dc0a5e4a0f1ba.tar.gz lwn-2a909ae718715b3bac75d945e38dc0a5e4a0f1ba.zip |
drm/amdkfd: CRIU resume shared virtual memory ranges
In CRIU resume stage, resume all the shared virtual memory ranges from
the data stored inside the resuming kfd process during CRIU restore
phase. Also setup xnack mode and free up the resources.
KFD_IOCTL_SVM_ATTR_CLR_FLAGS is not available for querying via get_attr
interface but we must clear the flags during restore as there might be
some default flags set when the prange is created. Also handle the
invalid PREFETCH atribute values saved during checkpoint by replacing
them with another dummy KFD_IOCTL_SVM_ATTR_SET_FLAGS attribute.
(rajneesh: Fixed the checkpatch reported problems)
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>
Diffstat (limited to 'crypto/wp512.c')
0 files changed, 0 insertions, 0 deletions