Thread (13 messages) 13 messages, 2 authors, 2021-02-22

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

From: Avri Altman <Avri.Altman@wdc.com>
Date: 2021-02-21 12:07:59
Also in: lkml

+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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help