diff options
| author | Fuqian Huang <[email protected]> | 2019-08-12 16:31:34 +0800 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2019-08-19 22:10:03 -0400 |
| commit | 78d4b1327d8bd60b58f422f6df02853c33558b11 (patch) | |
| tree | ed0722e65cfafef2bbdf440036b2fd65f9c97818 /tools/perf/scripts/python | |
| parent | ee9a256cd8d0f7d23d7dd310d7fdc23f28cada0d (diff) | |
scsi: lpfc: use spin_lock_irqsave in IRQ context
As spin_unlock_irq will enable interrupts.
Function lpfc_findnode_rpi is called from
lpfc_sli_abts_err_handler (./drivers/scsi/lpfc/lpfc_sli.c)
<- lpfc_sli_async_event_handler
<- lpfc_sli_process_unsol_iocb
<- lpfc_sli_handle_fast_ring_event
<- lpfc_sli_fp_intr_handler
<- lpfc_sli_intr_handler
and lpfc_sli_intr_handler is an interrupt handler.
Interrupts are enabled in interrupt handler. Use
spin_lock_irqsave/spin_unlock_irqrestore instead of spin_(un)lock_irq in
IRQ context to avoid this.
Signed-off-by: Fuqian Huang <[email protected]>
Reviewed-by: James Smart <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions