RE: About reading UECxx in ufshcd_dump_regs

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

 



> Dear all
> 
> I want to discuss about reading UECxx of UFS SFRs in ufshcd_dump_regs.
> 
> There are five SFRs - UECPA, UECDL, UECN, UECT and UECDME which are all
> ROC type that means they are cleared when reading them.
> Originally, these SFRs are to let UFS driver know UIC error type which a UIC
> errors occurs.
> Thus, when UFS driver reads them after clearing IS.UE, they are cleared.
> 
> I think the read values would be zero in many cases because of the flow I
> mentioned And there might be some cases when ufshcd_dump_regs reads them
> before the ISR reads them.
> e.g. when a command is timed out and ufshcd_dump_regs is called in
> ufshcd_abort.
> 
> So I want to ask this: how about removing reading UECxx in ufshcd_dump_regs?
> I think reading them is meaningless and might be even a little bit risky.
Maybe send an RFC patch to make the discussion concrete.

Thanks,
Avri

> 
> Thanks.
> Kiwoong Kim
> 





[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