[PATCH V1 0/4] Add per-cpu PM QoS support for QCOM UFS

From: Maramaina Naresh
Date: Tue Oct 10 2023 - 11:50:19 EST


Add per-cpu PM QoS support for ufs. This improves random io performance
by 20% for ufs.

tiotest benchmark tool io performance results on sm8550 platform:

1. Without PM QoS support
Type (Speed in) | Average of 6 iterations
Random Write(IPOS) | 32201
Random Read(IPOS) | 32201

2. With PM QoS support
Type (Speed in) | Average of 6 iterations
Random Write(IPOS) | 40833.5
Random Read(IPOS) | 40833.5
(Improvement % with PM QoS = ~20%).

Maramaina Naresh (4):
dt-bindings: ufs: qcom: Add qos property
ufs: ufs-qcom: Add per-cpu PM QoS support for ufs
ufs: ufs-qcom: Add per-cpu PM QoS vote support for ufs
arm64: dts: qcom: sm8550: Add per-cpu PM QoS support for ufs

.../devicetree/bindings/ufs/qcom,ufs.yaml | 16 +
arch/arm64/boot/dts/qcom/sm8550.dtsi | 9 +
drivers/ufs/host/ufs-qcom.c | 340 ++++++++++++++++++++-
drivers/ufs/host/ufs-qcom.h | 37 +++
4 files changed, 401 insertions(+), 1 deletion(-)

--
2.7.4