Messages in this thread | | | Subject | RE: [PATCH v2 1/5] scsi: ufs: allow legacy UFS devices to enable WriteBooster | From | Stanley Chu <> | Date | Thu, 30 Apr 2020 16:34:37 +0800 |
| |
Hi Avri,
On Thu, 2020-04-30 at 07:44 +0000, Avri Altman wrote: > Hi Stanley, > > > > > WriteBooster feature may be supported by some legacy UFS devices > > (i.e., < 3.1) by upgrading firmware. > > > > To enable WriteBooster feature in such devices, 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 both conditions are > > satisfied, > > > > 1. Device descriptor has dExtendedUFSFeaturesSupport field. > > 2. WriteBooster support is specified in above field. > > > > Signed-off-by: Stanley Chu <stanley.chu@mediatek.com> > > Reviewed-by: Bean Huo <beanhuo@micron.com> > WB was first introduced as part of UFS3.1, and lately as part of UFS2.2. > Any non-standard behavior should be classified as a quirk.
OK! I will try to revise this patch to allow only standard devices handled by normal path and non-standard devices handled by device quirks.
Thanks, Stanley Chu
| |