drm/amdkfd: handle VMA remove race
authorPhilip Yang <Philip.Yang@amd.com>
Fri, 19 Nov 2021 21:16:39 +0000 (16:16 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Nov 2021 20:11:20 +0000 (15:11 -0500)
commit0cc53cb450669cf1def4ff89e8cbcd8ec3c62380
tree0add737cbcf29857402ec1dc3e75cad951efb078
parentcda0817b41bdd509c37036c482a60230a5063772
drm/amdkfd: handle VMA remove race

VMA may be removed before unmap notifier callback, and deferred list
work remove range, return success for this special case as we are
handling stale retry fault.

Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_svm.c