WriteBooster Feature Support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v1 Latest posting 2/23 patches 1 replyIn review
- v1 posting 1/23 patches 4 repliesSuperseded
v1 -> v2 from the cover letter
- Addressed comments on v1
- Supports shared buffer mode only
- Didn't use exception event as suggested.
The reason being while testing I saw that the WriteBooster available buffer remains at 0x1 for a longer time if flush is enabled all the time as compared to an event-based enablement. This essentially means that writes go to the WriteBooster buffer more. Spec says that the if flush is enabled, the device would flush when it sees the command queue empty. So I guess that'd trigger flush more than an event based approach.
Anyway the Vcc would be turned-off during system suspend, so flush would stop anyway.
In this patchset, I never turn-off flush.
Hence the RFC.
Patches in v1 posting 2/2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | scsi: ufs: add write booster feature supportdrivers/ drivers/ drivers/ | +273 | 0 replies | |
| 2/3 | ufs-qcom: scsi: configure write booster typedrivers/ | +7 | 0 replies | |
| 3/3 | ufs: sysfs: add sysfs entries for write boosterdrivers/ drivers/ | +44 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [<RFC RESEND PATCH v2> 0/3] WriteBooster Feature Support
Still a RFC patch, because I'm still expecting some comments on the design.
v1 -> v2:
- Addressed comments on v1
- Supports shared buffer mode only
- Didn't use exception event as suggested.
The reason being while testing I saw that the WriteBooster available buffer remains at 0x1 for a longer time if flush is enabled all the time as compared to an event-based enablement. This essentially means that writes go to the WriteBooster buffer more. Spec says that the if flush is enabled, the device would flush when it sees the command queue empty. So I guess that'd trigger flush more than an event based approach.
Anyway the Vcc would be turned-off during system suspend, so flush would stop anyway.
In this patchset, I never turn-off flush.
Hence the RFC.
Asutosh Das (3):
scsi: ufs: add write booster feature support
ufs-qcom: scsi: configure write booster type
ufs: sysfs: add sysfs entries for write booster
drivers/scsi/ufs/ufs-qcom.c | 7 ++ drivers/scsi/ufs/ufs-sysfs.c | 39 ++++++- drivers/scsi/ufs/ufs.h | 37 ++++++- drivers/scsi/ufs/ufshcd.c | 238 ++++++++++++++++++++++++++++++++++++++++++- drivers/scsi/ufs/ufshcd.h | 9 ++ 5 files changed, 324 insertions(+), 6 deletions(-)
Signature · 1 line
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project.