Re: [PATCH v1] scsi: ufs: ufs-mediatek: Change dbg select by check hw version

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

 



Hi Bart,

Really appreciate your reminder.
We will upload new patch to bypss KCSAN.
Thank you very much.

Peter 


On Tue, 2021-08-31 at 19:55 -0700, Bart Van Assche wrote:
> On 8/31/21 19:29, Peter Wang wrote:
> > REG_UFS_MTK_HW_VER is a read only mediatek dedicated register.
> > So, hw_ver will get a const value for mediatek to decide how to use
> > debug select. It only need read once, no need multi-threads
> > protected.
> 
> Hi Peter,
> 
> The above can be concluded easily by a human but not by software. If 
> this code is analyzed with KCSAN then KCSAN will probably complain.
> See 
> also Documentation/dev-tools/kcsan.rst.
> 
> Anyway, I'm fine with this patch.
> 
> 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