Skip to content

Commit 8a47704

Browse files
bpothuno-quicandersson
authored andcommitted
remoteproc: qcom_q6v5_pas: disable auto boot for wpss
Currently, the rproc "atomic_t power" variable is incremented during: a. WPSS rproc auto boot. b. AHB power on for ath11k. During AHB power off (rmmod ath11k_ahb.ko), rproc_shutdown fails to unload the WPSS firmware because the rproc->power value is '2', causing the atomic_dec_and_test(&rproc->power) condition to fail. Consequently, during AHB power on (insmod ath11k_ahb.ko), QMI_WLANFW_HOST_CAP_REQ_V01 fails due to the host and firmware QMI states being out of sync. Fixes: 300ed42 ("remoteproc: qcom_q6v5_pas: Add SC7280 ADSP, CDSP & WPSS") Cc: stable@vger.kernel.org Signed-off-by: Balaji Pothunoori <quic_bpothuno@quicinc.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://lore.kernel.org/r/20241018105911.165415-1-quic_bpothuno@quicinc.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent b64b126 commit 8a47704

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/remoteproc/qcom_q6v5_pas.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1356,7 +1356,7 @@ static const struct adsp_data sc7280_wpss_resource = {
13561356
.crash_reason_smem = 626,
13571357
.firmware_name = "wpss.mdt",
13581358
.pas_id = 6,
1359-
.auto_boot = true,
1359+
.auto_boot = false,
13601360
.proxy_pd_names = (char*[]){
13611361
"cx",
13621362
"mx",

0 commit comments

Comments
 (0)