RE: [PATCH 1/4] scsi: ufs: core: Introduce a new host register lock

From: Avri Altman
Date: Tue Oct 22 2024 - 02:02:39 EST


> On 10/21/24 5:03 AM, Avri Altman wrote:
> > Introduce a new host register read/write lock. Use it to protect
> > access to the task management doorbell register: UTMRLDBR. This is
> > not the UTRLDBR which is already protected by its own outstanding_lock.
>
> Why is this necessary? I think it is allowed to submit host controller reads
> and writes simultaneously from different threads. Only read/modify/writes
> have to be serialized.
Done.

>
> Thanks,
>
> Bart.