diff options
| author | Manish Chopra <[email protected]> | 2020-01-22 01:43:38 -0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2020-01-23 21:13:33 +0100 |
| commit | 22e984493a41bf8081f13d9ed84def3ca8cfd427 (patch) | |
| tree | 9df6a7cadc27bab72631514f4003be1e4786d009 /drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c | |
| parent | bb48eb9b12a95db9d679025927269d4adda6dbd1 (diff) | |
qlcnic: Fix CPU soft lockup while collecting firmware dump
Driver while collecting firmware dump takes longer time to
collect/process some of the firmware dump entries/memories.
Bigger capture masks makes it worse as it results in larger
amount of data being collected and results in CPU soft lockup.
Place cond_resched() in some of the driver flows that are
expectedly time consuming to relinquish the CPU to avoid CPU
soft lockup panic.
Signed-off-by: Shahed Shaikh <[email protected]>
Tested-by: Yonggen Xu <[email protected]>
Signed-off-by: Manish Chopra <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c')
0 files changed, 0 insertions, 0 deletions