Skip to content

Commit 1a7b6b0

Browse files
qcs615: Configure RT CPU isolation on best-capacity core (CPU7) for iq-615-evk and qcs615-ride (#1657)
Configure RT-oriented CPU isolation defaults for QCS615 machine configs by selecting the best-capacity (highest-frequency) core as the dedicated RT CPU and steering system noise away from it. CPU7 is chosen as the RT CPU because it is the best-capacity / highest-frequency core, which helps meet RT latency/throughput needs. IRQ handling is kept on CPUs 0-6 to reduce interrupt noise on the isolated RT CPU. RCU settings are applied to further reduce latency effects on the RT CPU. QCOM_CPUIDLE_OFF=1 avoids latency from deep idle state transitions for RT use-cases.
2 parents 2444913 + 81ff77c commit 1a7b6b0

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

conf/machine/iq-615-evk.conf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,10 @@ MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += " \
2525
QCOM_BOOT_FILES_SUBDIR = "qcs615"
2626
QCOM_PARTITION_FILES_SUBDIR ?= "partitions/iq-615-evk/emmc"
2727
QCOM_BOOT_FIRMWARE = "firmware-qcom-boot-qcs615"
28+
29+
# Isolate rt cpu
30+
QCOM_RT_CPU = "7"
31+
QCOM_IRQAFF = "0-6"
32+
QCOM_RCU_NOCBS = "7"
33+
QCOM_RCU_EXPEDITED = "1"
34+
QCOM_CPUIDLE_OFF = "1"

conf/machine/qcs615-ride.conf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,10 @@ QCOM_BOOT_FILES_SUBDIR = "qcs615"
2323
QCOM_PARTITION_FILES_SUBDIR ?= "partitions/qcs615-ride/ufs"
2424

2525
QCOM_BOOT_FIRMWARE = "firmware-qcom-boot-qcs615"
26+
27+
# Isolate rt cpu
28+
QCOM_RT_CPU = "7"
29+
QCOM_IRQAFF = "0-6"
30+
QCOM_RCU_NOCBS = "7"
31+
QCOM_RCU_EXPEDITED = "1"
32+
QCOM_CPUIDLE_OFF = "1"

0 commit comments

Comments
 (0)