RE: [PATCH v3 2/2] scsi: ufs: wb: Add Manual Flush sysfs

From: Avri Altman
Date: Sun Jul 03 2022 - 09:09:02 EST


> There is the following quirk to bypass "WB Manual Flush" in Write Booster.
>
> - UFSHCI_QUIRK_SKIP_MANUAL_WB_FLUSH_CTRL
>
> If this quirk is not set, there is no knob that can control "WB Manual Flush".
>
> There are three flags that control Write Booster Feature.
> 1. WB ON/OFF
> 2. WB Hibern Flush ON/OFF
> 3. WB Flush ON/OFF
>
> The sysfs that controls the WB was implemented. (1)
>
> In the case of "Hibern Flush", it is always good to turn on.
> Control may not be required. (2)
>
> Finally, "Manual flush" may be necessary because the Auto-Hibern8 is not
> supported in a specific environment.
> So the sysfs that controls this is necessary. (3)
>
> Signed-off-by: Jinyoung Choi <j-young.choi@xxxxxxxxxxx>
Reviewed-by: Avri Altman <avri.altman@xxxxxxx>