linux-loongson/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 net: ipa: remove unneeded FILT_ROUT_HASH_EN definitions 2024-04-23 13:08:08 +02:00
gsi_private.h net: ipa: add some needed struct declarations 2024-04-18 13:01:05 +02:00
gsi_reg.c net: ipa: sort all includes 2024-04-18 13:01:05 +02:00
gsi_reg.h
gsi_trans.c net: ipa: sort all includes 2024-04-18 13:01:05 +02:00
gsi_trans.h net: ipa: sort all includes 2024-04-18 13:01:05 +02:00
gsi.c net: ipa: allocate dummy net_device dynamically 2024-04-24 12:00:16 +01:00
gsi.h net: ipa: allocate dummy net_device dynamically 2024-04-24 12:00:16 +01:00
ipa_cmd.c net: ipa: sort all includes 2024-04-18 13:01:05 +02:00
ipa_cmd.h net: ipa: fix two minor ipa_cmd problems 2024-04-23 13:08:08 +02:00
ipa_data.h net: ipa: Make the SMEM item ID constant 2025-05-13 15:42:50 -07:00
ipa_endpoint.c net: ipa: sort all includes 2024-04-18 13:01:05 +02:00
ipa_endpoint.h net: ipa: fix two bogus argument names 2024-04-23 13:08:08 +02:00
ipa_gsi.c net: ipa: sort all includes 2024-04-18 13:01:05 +02:00
ipa_gsi.h
ipa_interrupt.c net: ipa: call device_init_wakeup() earlier 2024-04-23 13:08:08 +02:00
ipa_interrupt.h net: ipa: sort all includes 2024-04-18 13:01:05 +02:00
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 net: ipa: include some standard header files 2024-04-18 13:01:05 +02:00
ipa_modem.c net: ipa: sort all includes 2024-04-18 13:01:05 +02:00
ipa_modem.h net: ipa: sort all includes 2024-04-18 13:01:05 +02:00
ipa_power.c net: ipa: make use of dev_err_cast_probe() 2024-08-29 11:41:05 -07:00
ipa_power.h net: ipa: call device_init_wakeup() earlier 2024-04-23 13:08:08 +02:00
ipa_qmi_msg.c net: ipa: sort all includes 2024-04-18 13:01:05 +02:00
ipa_qmi_msg.h net: ipa: sort all includes 2024-04-18 13:01:05 +02:00
ipa_qmi.c net: ipa: sort all includes 2024-04-18 13:01:05 +02:00
ipa_qmi.h net: ipa: sort all includes 2024-04-18 13:01:05 +02:00
ipa_reg.c net: ipa: sort all includes 2024-04-18 13:01:05 +02:00
ipa_reg.h net: ipa: more include file cleanup 2024-04-18 13:01:05 +02:00
ipa_resource.c net: ipa: remove unneeded standard includes 2024-04-18 13:01:05 +02:00
ipa_resource.h
ipa_smp2p.c net: ipa: sort all includes 2024-04-18 13:01:05 +02:00
ipa_smp2p.h net: ipa: pass a platform device to ipa_smp2p_init() 2024-03-04 11:44:41 +00:00
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 net: ipa: eliminate unneeded struct declarations 2024-04-18 13:01:05 +02:00
ipa_table.c net: ipa: make ipa_table_hash_support() a real function 2024-04-23 13:08:08 +02:00
ipa_table.h net: ipa: make ipa_table_hash_support() a real function 2024-04-23 13:08:08 +02:00
ipa_uc.c net: ipa: sort all includes 2024-04-18 13:01:05 +02:00
ipa_uc.h net: ipa: eliminate unneeded struct declarations 2024-04-18 13:01:05 +02:00
ipa_version.h net: ipa: kill ipa_version_supported() 2024-04-23 13:08:08 +02:00
ipa.h net: ipa: sort all includes 2024-04-18 13:01:05 +02:00
Kconfig ipa: fix compile-testing with qcom-mdt=m 2025-08-04 17:15:15 -07:00
Makefile net: ipa: add IPA v5.5 configuration data 2023-11-24 12:18:55 +00:00
reg.h net: ipa: sort all includes 2024-04-18 13:01:05 +02:00