Commit 8ee99807 authored by Eddie Huang's avatar Eddie Huang Committed by Carlos Llamas
Browse files

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: default avatarEddie Huang <eddie.huang@mediatek.com>
Signed-off-by: default avatarCC Chou <cc.chou@mediatek.com>
Signed-off-by: default avatarPeter Wang <peter.wang@mediatek.com>
Signed-off-by: default avatarPowen Kao <powen.kao@medaitek.com>
Signed-off-by: default avatarStanley Chu <stanley.chu@mediatek.com>
Change-Id: I8541626b01c3d2426bdd51d62f15b37bc7728c44
parent b528c788
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment