diff options
| author | James Smart <[email protected]> | 2019-10-18 14:18:22 -0700 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2019-10-24 21:02:04 -0400 |
| commit | 91a52b617cdb8bf6d298892101c061d438b84a19 (patch) | |
| tree | 4fed6bb37cacb133fe24c1109ae12e8622885e1f /tools/perf/scripts/python/stackcollapse.py | |
| parent | 324e1c402069e8d277d2a2b18ce40bde1265b96a (diff) | |
scsi: lpfc: Fix hardlockup in lpfc_abort_handler
In lpfc_abort_handler, the lock acquire order is hbalock (irqsave),
buf_lock (irq) and ring_lock (irq). The issue is that in two places the
locks are released out of order - the buf_lock and the hbalock - resulting
in the cpu preemption/lock flags getting restored out of order and
deadlocking the cpu.
Fix the unlock order by fully releasing the hbalocks as well.
CC: Zhangguanghui <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dick Kennedy <[email protected]>
Signed-off-by: James Smart <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions