ANDROID: scsi: ufs: Support Multi-Circular Queue
To improve performance, UFS4.0 HCI introduce the option to use Multi-Circular Queue. With the availability of this option, HCI can operate in legacy queue mode and be backward compatible with older UFS device. Or the HCI can enable MCQ for improve performance with UFS4.0 device or later. Since MCQ specification is just finalized recently, some vendors have non-standard design at this time due to following the earlier draft versions. This patch provides ways to support such non-standard MCQ implementation by vendors by using add-on hooks in existed UFS driver. Vendors can implement their own "draft design" in vendor drivers, and meanwhile not breaking the legacy non-MCQ path. Bug: 228783879 Signed-off-by:Eddie Huang <eddie.huang@mediatek.com> Signed-off-by:
CC Chou <cc.chou@mediatek.com> Signed-off-by:
Peter Wang <peter.wang@mediatek.com> Signed-off-by:
Powen Kao <powen.kao@medaitek.com> Signed-off-by:
Stanley Chu <stanley.chu@mediatek.com> Change-Id: I8541626b01c3d2426bdd51d62f15b37bc7728c44
Loading
Please sign in to comment