diff options
author | Manish Chopra <manishc@marvell.com> | 2020-01-22 01:43:38 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-02-05 13:05:53 +0000 |
commit | e7066f3dd0533cd5d552a05892c923495f75f0bf (patch) | |
tree | 716ffe59dd76421617828395fc6367749d6ba0dc /arch/powerpc | |
parent | 85a89506bcd624a71b6766ba2791e7dfbb8dd7c6 (diff) |
qlcnic: Fix CPU soft lockup while collecting firmware dump
[ Upstream commit 22e984493a41bf8081f13d9ed84def3ca8cfd427 ]
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 <shshaikh@marvell.com>
Tested-by: Yonggen Xu <Yonggen.Xu@dell.com>
Signed-off-by: Manish Chopra <manishc@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/powerpc')
0 files changed, 0 insertions, 0 deletions