aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/lib/py/utils.py
diff options
context:
space:
mode:
authorYifan Zha <[email protected]>2025-03-05 05:14:55 +0000
committerAlex Deucher <[email protected]>2025-03-12 18:59:21 +0000
commit0882ca4eecfe8b0013f339144acf886a0a0de41f (patch)
treee0eb16167a9ec2c21c441ef803781465c80c16de /tools/testing/selftests/net/lib/py/utils.py
parentdrm/amdgpu/vce2: fix ip block reference (diff)
downloadkernel-0882ca4eecfe8b0013f339144acf886a0a0de41f.tar.gz
kernel-0882ca4eecfe8b0013f339144acf886a0a0de41f.zip
drm/amd/amdkfd: Evict all queues even HWS remove queue failed
[Why] If reset is detected and kfd need to evict working queues, HWS moving queue will be failed. Then remaining queues are not evicted and in active state. After reset done, kfd uses HWS to termination remaining activated queues but HWS is resetted. So remove queue will be failed again. [How] Keep removing all queues even if HWS returns failed. It will not affect cpsch as it checks reset_domain->sem. v2: If any queue failed, evict queue returns error. v3: Declare err inside the if-block. Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Yifan Zha <[email protected]> Signed-off-by: Alex Deucher <[email protected]> (cherry picked from commit 42c854b8fb0cce512534aa2b7141948e80c6ebb0) Cc: [email protected]
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions