]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite6b18d479245b656907bd5f260b1afa97586e93e
tree0add737cbcf29857402ec1dc3e75cad951efb078
parent1ddaa025403cbee82087b2363edac1e6ce1c30b1
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