android_kernel_samsung_sm8650/drivers/ufs
Manish Pandey ca9f225026 ufs: ufs-qcom: Configure MCQ ESI mask dynamically
Different targets will have different ESI affinity For CQ
due to difference in CPU cluster configurations. Hence same
affinity won't give max performance for all targets. Also
currently UFS MCQ ESI cpu mask are populated from device
tree nodes for assigning the cpu mask.

Add provision to populate and configure ESI affinity for
completion queue for UFS MCQ. We affine ESI for completion
queue among top 2 clusters and focus for assigning gold
clusters request to Prime cluster limited to 3 queues.

This helps to affine ESI for CQ queue as below
- assigning ESI affinity for request on gold core to prime core
- assigning ESI affinity for request on other core to gold core.

This helps in UFS random IO KPI improvement of around ~15%
for cliffs.

Change-Id: I582babff928292e3c9d6b44431a1a6c1a7020027
Co-developed-by: Nitin Rawat <quic_nitirawa@quicinc.com>
Signed-off-by: Nitin Rawat <quic_nitirawa@quicinc.com>
Signed-off-by: Manish Pandey <quic_mapa@quicinc.com>
2024-03-12 14:09:22 +05:30
..
core Merge tag 'android14-6.1.57_r00' into branch 'android14-6.1' 2023-11-27 16:18:59 +00:00
host ufs: ufs-qcom: Configure MCQ ESI mask dynamically 2024-03-12 14:09:22 +05:30
Kconfig
Makefile