linux/drivers/net/ipa
Arnd Bergmann 2df158047d ipa: fix compile-testing with qcom-mdt=m
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: 38a4066f59 ("net: ipa: support COMPILE_TEST")
Fixes: c0dd3f4f70 ("wifi: ath12k: enable ath12k AHB support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://patch.msgid.link/20250731080024.2054904-1-arnd@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-08-04 17:15:15 -07:00
..
data net: ipa: Make the SMEM item ID constant 2025-05-13 15:42:50 -07:00
reg
gsi_private.h
gsi_reg.c
gsi_reg.h
gsi_trans.c
gsi_trans.h
gsi.c
gsi.h
ipa_cmd.c
ipa_cmd.h
ipa_data.h net: ipa: Make the SMEM item ID constant 2025-05-13 15:42:50 -07:00
ipa_endpoint.c
ipa_endpoint.h
ipa_gsi.c
ipa_gsi.h
ipa_interrupt.c
ipa_interrupt.h
ipa_main.c net: Use of_reserved_mem_region_to_resource{_byname}() for "memory-region" 2025-07-08 08:29:46 -07:00
ipa_mem.c net: ipa: Make the SMEM item ID constant 2025-05-13 15:42:50 -07:00
ipa_mem.h
ipa_modem.c
ipa_modem.h
ipa_power.c
ipa_power.h
ipa_qmi_msg.c
ipa_qmi_msg.h
ipa_qmi.c
ipa_qmi.h
ipa_reg.c
ipa_reg.h
ipa_resource.c
ipa_resource.h
ipa_smp2p.c
ipa_smp2p.h
ipa_sysfs.c net: ipa: add IPA v5.1 and v5.5 to ipa_version_string() 2025-07-30 18:08:10 -07:00
ipa_sysfs.h
ipa_table.c
ipa_table.h
ipa_uc.c
ipa_uc.h
ipa_version.h
ipa.h
Kconfig ipa: fix compile-testing with qcom-mdt=m 2025-08-04 17:15:15 -07:00
Makefile
reg.h