Thread (5 messages) 5 messages, 2 authors, 2021-09-01

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

From: Bart Van Assche <bvanassche@acm.org>
Date: 2021-09-01 02:56:01
Also in: linux-mediatek

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help