RE: [PATCH v21 2/4] scsi: ufs: L2P map management for HPB read

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> +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?

Thanks,
Avri




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux