diff options
author | Avri Altman <avri.altman@wdc.com> | 2021-07-12 11:50:38 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-08-01 22:05:15 +0200 |
commit | 5dea655a09e6395f461ba0f9d38914c2c0d772e4 (patch) | |
tree | 4bf641c015fc95b8e6d66ff3452fa547218dfd2c /drivers/scsi/ufs | |
parent | scsi: ufs: ufshpb: Do not send umap_all in host control mode (diff) | |
download | linux-5dea655a09e6395f461ba0f9d38914c2c0d772e4.tar.xz linux-5dea655a09e6395f461ba0f9d38914c2c0d772e4.zip |
scsi: ufs: ufshpb: Add support for host control mode
Support devices that report they are using host control mode.
Link: https://lore.kernel.org/r/20210712095039.8093-12-avri.altman@wdc.com
Reviewed-by: Daejun Park <daejun7.park@samsung.com>
Signed-off-by: Avri Altman <avri.altman@wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/ufs')
-rw-r--r-- | drivers/scsi/ufs/ufshpb.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/scsi/ufs/ufshpb.c b/drivers/scsi/ufs/ufshpb.c index cb55a0864073..49f58598dba7 100644 --- a/drivers/scsi/ufs/ufshpb.c +++ b/drivers/scsi/ufs/ufshpb.c @@ -2582,12 +2582,6 @@ void ufshpb_get_dev_info(struct ufs_hba *hba, u8 *desc_buf) u32 max_hpb_single_cmd = HPB_MULTI_CHUNK_LOW; hpb_dev_info->control_mode = desc_buf[DEVICE_DESC_PARAM_HPB_CONTROL]; - if (hpb_dev_info->control_mode == HPB_HOST_CONTROL) { - dev_err(hba->dev, "%s: host control mode is not supported.\n", - __func__); - hpb_dev_info->hpb_disabled = true; - return; - } version = get_unaligned_be16(desc_buf + DEVICE_DESC_PARAM_HPB_VER); if ((version != HPB_SUPPORT_VERSION) && |