Skip to contentSkip to conversation

arm64: defconfig: Build the Qualcomm CPUCP mailbox driver in

PATCH In review Jesse Casco 2 participants 2 messages Dec 4 – Dec 5 Arm Qualcomm mailing list

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: defconfig: Build the Qualcomm CPUCP mailbox driver in

On the ASUS Zenbook A16 (UX3607OA), scmi-cpufreq and scmi-perf-domain time out when QCOM_CPUCP_MBOX=m. The first SCMI Performance request is then sent after PSCI cpuidle has started, and no Performance reply raises a completion interrupt after that. BASE replies still interrupt, and cpuidle.off=1 avoids the failure.

Built in, the first request goes out before cpuidle starts and cpufreq works with cpuidle enabled. Build the driver in to work around this timing dependency.

---
Boot-tested only on the Zenbook A16 (7.4-rc1 based). Build-tested arm64 defconfig on qcom/for-next, where .config differs only in this symbol.

 arch/arm64/configs/defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/configs/defconfig +1 -1
index 5e14fad..374f7a7 100644
@@ -1516,7 +1516,7 @@ CONFIG_BCM2835_MBOX=y
 CONFIG_QCOM_APCS_IPC=y
 CONFIG_TEGRA_HSP_MBOX=y
 CONFIG_MTK_ADSP_MBOX=m
-CONFIG_QCOM_CPUCP_MBOX=m
+CONFIG_QCOM_CPUCP_MBOX=y
 CONFIG_QCOM_IPCC=y
 CONFIG_CIX_MBOX=y
 CONFIG_ARM_SMMU=y

base-commit: 57b1238da520b03793b7705b79a8eb233b7f1ad2

Signature · 1 line
2.56.0
#1 lore raw
Quoted 10 lines · Jesse Casco

On the ASUS Zenbook A16 (UX3607OA), scmi-cpufreq and scmi-perf-domain time out when QCOM_CPUCP_MBOX=m. The first SCMI Performance request is then sent after PSCI cpuidle has started, and no Performance reply raises a completion interrupt after that. BASE replies still interrupt, and cpuidle.off=1 avoids the failure.

Built in, the first request goes out before cpuidle starts and cpufreq works with cpuidle enabled. Build the driver in to work around this timing dependency.

Quoted 9 lines

---
Boot-tested only on the Zenbook A16 (7.4-rc1 based). Build-tested arm64 defconfig on qcom/for-next, where .config differs only in this symbol.

 arch/arm64/configs/defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

defconfig does not fix the issue, because any user or any distro will set it to module and experience the same. The drivers should be simply fixed or made non-modules.

Best regards,
Krzysztof