Re: [PATCH] scsi: lpfc: use spin_lock_irqsave instead of spin_lock_irq in IRQ context

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fuqian,

> 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.

Applied to 5.4/scsi-queue, thanks.

-- 
Martin K. Petersen	Oracle Linux Engineering



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux