> @@ -342,13 +1208,14 @@ void ufshpb_suspend(struct ufs_hba *hba)
> > struct scsi_device *sdev;
> >
> > shost_for_each_device(sdev, hba->host) {
> > -hpb = sdev->hostdata;
> > +hpb = ufshpb_get_hpb_data(sdev);
> >
>>> @@ -342,13 +1208,14 @@ void ufshpb_suspend(struct ufs_hba *hba)
>>> > struct scsi_device *sdev;
>>> >
>>> > shost_for_each_device(sdev, hba->host) {
>>> > -hpb = sdev->hostdata;
>>> > +hpb = ufshpb_get_hpb_data(sdev);
>>> > if (
> @@ -342,13 +1208,14 @@ void ufshpb_suspend(struct ufs_hba *hba)
> > struct scsi_device *sdev;
> >
> > shost_for_each_device(sdev, hba->host) {
> > - hpb = sdev->hostdata;
> > + hpb = ufshpb_get_hpb_data(sdev);
> > if (!hpb)
> > continue
> +
> > +static void ufshpb_kick_map_work(struct ufshpb_lu *hpb)
> > +{
> > +bool ret = true;
>
> -> ret = false;
>
> > +unsigned long flags;
> > +
> > +spin_lock_irqsave(&hpb->rsp_list_lock, flags);
> > +if (!list_empty(&hpb->lh_inact_rgn) ||
> > !list_empty(&h
> > >"If the requested field of the HPB Region or HPB Sub-Region is out
> > > of
> > > range, then the device shall terminate the command by sending
> > > RESPONSE
> > > UPIU with CHECK CONDITION status, with the SENSE KEY set to ILLEGAL
> > > REQUEST, and the additional sense code set to INVALID F
5 matches
Mail list logo