[PATCH ath-next 2/3] wifi: ath11k: depend on RPMSG instead of selecting it
From: Florian Maurer
Date: Sun Nov 01 2026 - 08:00:20 EST
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>
---
Build-tested on ath-next with [1] for arm64 and x86_64. No functional
change for configs that already have an RPMSG transport enabled, as
IPQ8074 and WCN6750 do (GLINK).
[1] https://lore.kernel.org/linux-wireless/20261018210153.1925962-1-julius@xxxxxxxxxxxxxx/
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 44b520d2e66e..84b7eb5df253 100644
--- a/drivers/net/wireless/ath/ath11k/Kconfig
+++ b/drivers/net/wireless/ath/ath11k/Kconfig
@@ -14,7 +14,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.47.3