summaryrefslogtreecommitdiff
path: root/drivers/atm/he.c
diff options
context:
space:
mode:
authorPhilip Yang <Philip.Yang@amd.com>2020-05-21 16:56:58 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-10-01 14:18:03 +0300
commit62962e08b9c33adec71340bf1eb3429702e20457 (patch)
treeaba8bc63fb3184b087e1f25a94db78ea95b5201f /drivers/atm/he.c
parent180e60f154a3b45e0c11b7ed9f1fa0edc9e345ce (diff)
downloadlinux-62962e08b9c33adec71340bf1eb3429702e20457.tar.xz
drm/amdkfd: fix restore worker race condition
[ Upstream commit f7646585a30ed8ef5ab300d4dc3b0c1d6afbe71d ] In free memory of gpu path, remove bo from validate_list to make sure restore worker don't access the BO any more, then unregister bo MMU interval notifier. Otherwise, the restore worker will crash in the middle of validating BO user pages if MMU interval notifer is gone. 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/atm/he.c')
0 files changed, 0 insertions, 0 deletions