RE: [RFC PATCH 1/5] scsi: ufs: Add UFS feature related parameter

Avri Altman
2020-06-06T12:11:57Z

OMETRY_DESC_PARAM_ENM4_CAP_ADJ_FCTR = 0x42,
> GEOMETRY_DESC_PARAM_OPT_LOG_BLK_SIZE = 0x44,
> + GEOMETRY_DESC_HPB_REGION_SIZE = 0x48,
> + GEOMETRY_DESC_HPB_NUMBER_LU = 0x49,
> + GEOMETRY_DESC_HPB_SUBREGION_SIZE = 0x4A,
> + GEOMETRY_DESC_HPB_DEVICE_MAX_ACTIVE_REGIONS = 0x4B,
> GEOMETRY_DESC_PARAM_WB_MAX_ALLOC_UNITS = 0x4F,
> GEOMETRY_DESC_PARAM_WB_MAX_WB_LUNS = 0x53,
> GEOMETRY_DESC_PARAM_WB_BUFF_CAP_ADJ = 0x54,

Maybe also add bit7 to the enum of dExtendedUFSFeaturesSupport ?

> @@ -571,6 +581,7 @@ struct ufs_dev_info {
> u8 *model;
> u16 wspecversion;
> u32 clk_gating_wait_us;
> + u8 b_ufs_feature_sup;
> u32 d_ext_ufs_feature_sup;
> u8 b_wb_buffer_type;
> u32 d_wb_alloc_units;
> --
> 2.17.1