RE: [PATCH v2 6/9] scsi: ufshpb: Add hpb dev reset response

From: Avri Altman
Date: Mon Feb 08 2021 - 02:52:18 EST


> > + if (hpb->is_hcm) {
> > + struct ufshpb_lu *h;
> > + struct scsi_device *sdev;
> > +
> > + shost_for_each_device(sdev, hba->host) {
>
> I haven't test it yet, but this line shall cause recursive spin lock -
> in current code base, ufshpb_rsp_upiu() is called with host_lock held.
Yayks Ouch. Will fix.

Thanks,
Avri