Skip to contentSkip to conversation

net: ipa: add an interconnect dependency

PATCH Superseded Alex Elder 2 participants 2 messages Feb 26, 2022 – Mar 1, 2022

Subsystems (4)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Alex Elder

author
#0 lore raw

PATCH 1/1 net: ipa: add an interconnect dependency

In order to function, the IPA driver very clearly requires the interconnect framework to be enabled in the kernel configuration. State that dependency in the Kconfig file.

This became a problem when CONFIG_COMPILE_TEST support was added. Non-Qualcomm platforms won't necessarily enable CONFIG_INTERCONNECT.

Fixes 38a4066f593c5 ("net: ipa: support COMPILE_TEST")
---
 drivers/net/ipa/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/net/ipa/Kconfig +1 -0
index d037682fb7adb..3e0da1e764718 100644
@@ -2,6 +2,7 @@ config QCOM_IPA
 	tristate "Qualcomm IPA support"
 	depends on NET && QCOM_SMEM
 	depends on ARCH_QCOM || COMPILE_TEST
+	depends on INTERCONNECT
 	depends on QCOM_RPROC_COMMON || (QCOM_RPROC_COMMON=n && COMPILE_TEST)
 	select QCOM_MDT_LOADER if ARCH_QCOM
 	select QCOM_SCM
Signature · 1 line
2.32.0
maintainer
#1 lore raw
Quoted 19 lines · On Sat, 26 Feb 2022 13:57:47 -0600 Alex Elder wrote:

In order to function, the IPA driver very clearly requires the interconnect framework to be enabled in the kernel configuration. State that dependency in the Kconfig file.

This became a problem when CONFIG_COMPILE_TEST support was added. Non-Qualcomm platforms won't necessarily enable CONFIG_INTERCONNECT.

Fixes 38a4066f593c5 ("net: ipa: support COMPILE_TEST")
---
 drivers/net/ipa/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/net/ipa/Kconfig +0 -0
index d037682fb7adb..3e0da1e764718 100644

drivers/net/ipa/Kconfig config QCOM_IPA · line 8

Quoted 7 lines
drivers/net/ipa/Kconfig +1 -0
@@ -2,6 +2,7 @@ config QCOM_IPA
 	tristate "Qualcomm IPA support"
 	depends on NET && QCOM_SMEM
 	depends on ARCH_QCOM || COMPILE_TEST
+	depends on INTERCONNECT
 	depends on QCOM_RPROC_COMMON || (QCOM_RPROC_COMMON=n && COMPILE_TEST)
 	select QCOM_MDT_LOADER if ARCH_QCOM
 	select QCOM_SCM

Looks like this patch was based on a tree without the QCOM_AOSS_QMP dependency patch, please rebase and repost.