RE: [EXT] Re: [PATCH v4 3/3] ufs: Simplify the clock scaling mechanism implementation

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

 



Hi, Bart

> >  		/* handle fatal errors only when link is functional */
> >  		if (hba->ufshcd_state == UFSHCD_STATE_OPERATIONAL) {
> > -			/* block commands from scsi mid-layer */
> > -			ufshcd_scsi_block_requests(hba);
> > +			/* block all commands, incl. SCSI commands */
> > +			ufshcd_block_requests(hba, ULONG_MAX);
> >
> 
> ufshcd_block_requests() may sleep, but ufshcd_check_errors is called from
> IRQ(atmic) context.
> 
> Regards,
> Can Guo.

[Bean Huo] 
Can Guo's comment is correct, I triggered an error manually, my UFS being killed.
And removing this patch, no problem. Please take this seriously.
Thanks,

//Bean






[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