arm64: dts: qcom: kaanapali: Describe the UFS MCQ registers
PATCH 1/1 arm64: dts: qcom: kaanapali: Describe the UFS MCQ registers
The UFS host on Kaanapali supports Multi-Circular Queue (MCQ) mode, but its node only describes the standard register space, so ufshcd falls back to the legacy single doorbell.
Describe the MCQ register region and the ITS MSI parent used for Event Specific Interrupts (ESI). The region has the same address and size as on Eliza, and the ITS device ID 0x60 is taken from the downstream device tree.
On a Lenovo Y700 Gen 5 (TB323FU, Kaanapali) this more than doubles 4k random read throughput (fio, 4 jobs, QD32): 186k to 431k IOPS on the first run after boot.
Signed-off-by Joonhoe Kim <[email protected]>
--- arch/arm64/boot/dts/qcom/kaanapali.dtsi | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/qcom/kaanapali.dtsi +6 -1
@@ -2536,10 +2536,15 @@ ufs_mem_hc: ufs@1d84000 { compatible = "qcom,kaanapali-ufshc", "qcom,ufshc", "jedec,ufs-2.0"; - reg = <0x0 0x01d84000 0x0 0x3000>; + reg = <0x0 0x01d84000 0x0 0x3000>, + <0x0 0x01da0000 0x0 0x15000>; + reg-names = "std", + "mcq"; interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>; + msi-parent = <&gic_its 0x60>; + clocks = <&gcc GCC_UFS_PHY_AXI_CLK>, <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>, <&gcc GCC_UFS_PHY_AHB_CLK>,
base-commit: 909ef7a9a30fa139e69e555e3606680f5cca7726
Signature · 1 line
2.53.0