summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorOlivier Kaloudoff <olivier.kaloudoff@gmail.com>2026-10-13 20:53:12 +0200
committerAlex Deucher <alexander.deucher@amd.com>2026-10-27 17:02:54 -0400
commit3254ed0b15f2fe656c9cb36ccb59b92422440bf8 (patch)
tree103f5b2d84327ba86750902ec1058a441f24f199 /include/linux/timerqueue.h
parent1233dd17f99c75787a31035656ecfeff80522421 (diff)
drm/amdkfd: stop restore retries on device unplug
amdgpu_amdkfd_restore_userptr_worker() and svm_range_restore_work() reschedule themselves when validation fails with evicted objects pending. After a surprise removal the restore paths fail with -ENODEV permanently, so rescheduling just spins the worker uselessly until cancel_delayed_work_sync() in fini finally stops it - which can take a while, since process teardown itself is delayed by the dead device. Treat -ENODEV as terminal in both workers. Cc: Xiaogang Chen <xiaogang.chen@amd.com> Signed-off-by: Olivier Kaloudoff <olivier.kaloudoff@gmail.com> Signed-off-by: Felix Kuehling <felix.kuehling@amd.com> Reviewed-by: Felix Kuehling <felix.kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit 266fab83139600e58db7e900e930c722e619b78c) Cc: stable@vger.kernel.org
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions