RE: [PATCH] scsi: ufs: core: Do not hold any lock in ufshcd_hba_stop

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

 



> Shouldn't the ufshcd_enable_irq() call be moved below the
> ufshcd_wait_for_register() call? Otherwise a race condition could cause the
> interrupt handler to be triggered while the controller is being disabled.
Correct.
if ufshcd_enable_irq() is called before the controller is fully disabled, it could allow interrupts to occur prematurely.
Will move it.

Thanks,
Avri
> 
> Thanks,
> 
> Bart.




[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