netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ipa: fix compile-testing with qcom-mdt=m
@ 2025-07-31  8:00 Arnd Bergmann
  2025-08-05  0:30 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: Arnd Bergmann @ 2025-07-31  8:00 UTC (permalink / raw)
  To: Alex Elder, Andrew Lunn, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, Bjorn Andersson, P Praneesh,
	Vasanthakumar Thiagarajan, Raj Kumar Bhagat, Balamurugan S,
	Jeff Johnson
  Cc: Arnd Bergmann, netdev, linux-kernel

From: Arnd Bergmann <arnd@arndb.de>

There are multiple drivers that use the qualcomm mdt loader, but they
have conflicting ideas of how to deal with that dependency when compile-testing
for non-qualcomm targets:

IPA only enables the MDT loader when the kernel config includes ARCH_QCOM,
but the newly added ath12k support always enables it, which leads to a
link failure with the combination of IPA=y and ATH12K=m:

    aarch64-linux-ld: drivers/net/ipa/ipa_main.o: in function `ipa_firmware_load':
    ipa_main.c:(.text.unlikely+0x134): undefined reference to `qcom_mdt_load

The ATH12K method seems more reliable here, so change IPA over to do the same
thing.

Fixes: 38a4066f593c ("net: ipa: support COMPILE_TEST")
Fixes: c0dd3f4f7091 ("wifi: ath12k: enable ath12k AHB support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 drivers/net/ipa/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ipa/Kconfig b/drivers/net/ipa/Kconfig
index 6782c2cbf542..01d219d3760c 100644
--- a/drivers/net/ipa/Kconfig
+++ b/drivers/net/ipa/Kconfig
@@ -5,7 +5,7 @@ config QCOM_IPA
 	depends on INTERCONNECT
 	depends on QCOM_RPROC_COMMON || (QCOM_RPROC_COMMON=n && COMPILE_TEST)
 	depends on QCOM_AOSS_QMP || QCOM_AOSS_QMP=n
-	select QCOM_MDT_LOADER if ARCH_QCOM
+	select QCOM_MDT_LOADER
 	select QCOM_SCM
 	select QCOM_QMI_HELPERS
 	help
-- 
2.39.5


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ipa: fix compile-testing with qcom-mdt=m
  2025-07-31  8:00 [PATCH] ipa: fix compile-testing with qcom-mdt=m Arnd Bergmann
@ 2025-08-05  0:30 ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2025-08-05  0:30 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: elder, andrew+netdev, davem, edumazet, kuba, pabeni, andersson,
	quic_ppranees, vasanthakumar.thiagarajan, quic_rajkbhag,
	quic_bselvara, jeff.johnson, arnd, netdev, linux-kernel

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Thu, 31 Jul 2025 10:00:20 +0200 you wrote:
> From: Arnd Bergmann <arnd@arndb.de>
> 
> There are multiple drivers that use the qualcomm mdt loader, but they
> have conflicting ideas of how to deal with that dependency when compile-testing
> for non-qualcomm targets:
> 
> IPA only enables the MDT loader when the kernel config includes ARCH_QCOM,
> but the newly added ath12k support always enables it, which leads to a
> link failure with the combination of IPA=y and ATH12K=m:
> 
> [...]

Here is the summary with links:
  - ipa: fix compile-testing with qcom-mdt=m
    https://git.kernel.org/netdev/net/c/2df158047d53

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-08-05  0:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-31  8:00 [PATCH] ipa: fix compile-testing with qcom-mdt=m Arnd Bergmann
2025-08-05  0:30 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).