[PATCH ath-next v3 07/13] wifi: ath11k: depend on RPMSG instead of selecting it
From: Julius Bairaktaris
Date: Sat Nov 21 2026 - 18:08:11 EST
From: Florian Maurer <fmaurer@xxxxxxxxxxx>
Commit 32ec8488d75d ("wifi: ath11k: fix sporadic WLAN initialization
failures") made ATH11K_AHB select RPMSG, QRTR and QRTR_SMD. Selecting
RPMSG makes it impossible for ATH11K_AHB to depend on
QCOM_RPROC_COMMON, which is needed to use the remoteproc SSR notifier
when ath11k_ahb is built in. Adding that dependency gives a recursive
dependency error:
symbol RPMSG is selected by ATH11K_AHB
symbol ATH11K_AHB depends on QCOM_RPROC_COMMON
symbol QCOM_RPROC_COMMON is selected by QCOM_Q6V5_ADSP
symbol QCOM_Q6V5_ADSP depends on QCOM_SYSMON
symbol QCOM_SYSMON depends on RPMSG
RPMSG has no prompt and is selected by the rpmsg bus drivers (GLINK,
SMD, virtio). ath11k_ahb needs one of these transports anyway, so it
can depend on RPMSG like QRTR_SMD and QCOM_SYSMON do. QRTR and QRTR_SMD
are still selected.
Signed-off-by: Florian Maurer <fmaurer@xxxxxxxxxxx>
Signed-off-by: Julius Bairaktaris <julius@xxxxxxxxxxxxxx>
---
v3: new in this series, from Florian Maurer's series [1], unchanged.
[1] https://lore.kernel.org/r/cover.1793531790.git.fmaurer@xxxxxxxxxxx
drivers/net/wireless/ath/ath11k/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/ath/ath11k/Kconfig b/drivers/net/wireless/ath/ath11k/Kconfig
index 99f625b82fe1..2b608d4ed263 100644
--- a/drivers/net/wireless/ath/ath11k/Kconfig
+++ b/drivers/net/wireless/ath/ath11k/Kconfig
@@ -13,7 +13,7 @@ config ATH11K_AHB
tristate "Atheros ath11k AHB support"
depends on ATH11K
depends on REMOTEPROC
- select RPMSG
+ depends on RPMSG
select QRTR
select QRTR_SMD
help
--
2.53.0