Re: [PATCH 1/4] scsi: ufs: core: Introduce a new host register lock
From: Bart Van Assche
Date: Mon Oct 21 2024 - 14:35:57 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.
Thanks,
Bart.