mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-21 06:50:25 +00:00

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>
23 lines
838 B
Text
23 lines
838 B
Text
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)
|
|
depends on QCOM_AOSS_QMP || QCOM_AOSS_QMP=n
|
|
select QCOM_MDT_LOADER
|
|
select QCOM_SCM
|
|
select QCOM_QMI_HELPERS
|
|
help
|
|
Choose Y or M here to include support for the Qualcomm
|
|
IP Accelerator (IPA), a hardware block present in some
|
|
Qualcomm SoCs. The IPA is a programmable protocol processor
|
|
that is capable of generic hardware handling of IP packets,
|
|
including routing, filtering, and NAT. Currently the IPA
|
|
driver supports only basic transport of network traffic
|
|
between the AP and modem.
|
|
|
|
Note that if selected, the selection type must match that
|
|
of QCOM_Q6V5_COMMON (Y or M).
|
|
|
|
If unsure, say N.
|