RE: [PATCH v7 1/8] scsi: ufs: enable WriteBooster on some pre-3.1 UFS devices

From: Avri Altman
Date: Fri May 08 2020 - 03:35:50 EST


>
> WriteBooster feature can be supported by some pre-3.1 UFS devices
> by upgrading firmware.
>
> To enable WriteBooster feature in such devices, introduce a device
> quirk to relax the entrance condition of ufshcd_wb_probe() to allow
> host driver to check those devices' WriteBooster capability.
>
> WriteBooster feature can be available if below all conditions are
> satisfied,
>
> 1. Host enables WriteBooster capability
> 2. UFS 3.1 device or UFS pre-3.1 device with quirk
> UFS_DEVICE_QUIRK_SUPPORT_EXTENDED_FEATURES enabled
> 3. The device descriptor shall have
> DEVICE_DESC_PARAM_EXT_UFS_FEATURE_SUP field
> 4. WriteBooster support is specified in above field
>
> Signed-off-by: Stanley Chu <stanley.chu@xxxxxxxxxxxx>
Reviewed-by: Avri Altman <avri.altman@xxxxxxx>