> > On 10/21/24 5:03 AM, Avri Altman wrote: > > if (!test_bit(tag, &hba->outstanding_tasks)) > > goto out; > > > > - spin_lock_irqsave(hba->host->host_lock, flags); > > + spin_lock_irqsave(&hba->reg_lock, flags); > > ufshcd_utmrl_clear(hba, tag); > > - spin_unlock_irqrestore(hba->host->host_lock, flags); > > + spin_unlock_irqrestore(&hba->reg_lock, flags); > > > > /* poll for max. 1 sec to clear door bell register by h/w */ > > err = ufshcd_wait_for_register(hba, > > Hi Avri, > > ufshcd_utmrl_clear() performs a single write so I assume that calls of that > function do not have to be serialized? Done. Thanks, Avri > > Thanks, > > Bart.