lkml.org 
[lkml]   [2021]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRE: RE: [PATCH v21 2/4] scsi: ufs: L2P map management for HPB read
From
Date
> +void ufshpb_rsp_upiu(struct ufs_hba *hba, struct ufshcd_lrb *lrbp)
> > +{
> > + struct ufshpb_lu *hpb = ufshpb_get_hpb_data(lrbp->cmd->device);
> > + struct utp_hpb_rsp *rsp_field;
> > + int data_seg_len;
> > +
> > + if (!hpb)
> > + return;
> > +
> > + if (ufshpb_get_state(hpb) != HPB_PRESENT) {
> > + dev_notice(&hpb->sdev_ufs_lu->sdev_dev,
> > + "%s: ufshpb state is not PRESENT\n", __func__);
> > + return;
> > + }
> Theoretically, SSU response upiu may carry hpb sense data, isn't it?
>
I fixed code to add HPB hint with suspend state.

Thanks,
Daejun

\
 
 \ /
  Last update: 2021-02-22 09:19    [W:0.107 / U:0.488 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site