diff options
| author | 2019-10-18 14:18:22 -0700 | |
|---|---|---|
| committer | 2019-10-24 21:02:04 -0400 | |
| commit | 91a52b617cdb8bf6d298892101c061d438b84a19 (patch) | |
| tree | 4fed6bb37cacb133fe24c1109ae12e8622885e1f /tools/perf/scripts/python | |
| parent | scsi: lpfc: Fix bad ndlp ptr in xri aborted handling (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 <zhang.guanghui@h3c.com>
Link: https://lore.kernel.org/r/20191018211832.7917-7-jsmart2021@gmail.com
Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
