RE: [PATCH 7/8] scsi: ufshpb: Add "Cold" regions timer

Avri Altman
2021-01-31T07:36:22Z

> > + /* region "cold" timer - for host mode */
> > + ktime_t read_timeout;
> > + atomic_t read_timeout_expiries;
>
> Why does this have to be an atomic when you have a lock to protect this
> structure already taken?
Done.

You are right, it is protected by the hpb state lock. Will fix it.

Thanks,
Avri