46e05e1df6
The IPA driver depends on some SMEM functionality (qcom_smem_init(),
qcom_smem_alloc(), and qcom_smem_virt_to_phys()), but this is not
reflected in the configuration dependencies. Add a dependency on
QCOM_SMEM to avoid attempts to build the IPA driver without SMEM.
This avoids a link error for certain configurations.
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Fixes: 38a4066f59
("net: ipa: support COMPILE_TEST")
Signed-off-by: Alex Elder <elder@linaro.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20210112192134.493-1-elder@linaro.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
22 lines
816 B
Plaintext
22 lines
816 B
Plaintext
config QCOM_IPA
|
|
tristate "Qualcomm IPA support"
|
|
depends on 64BIT && NET && QCOM_SMEM
|
|
depends on ARCH_QCOM || COMPILE_TEST
|
|
depends on QCOM_RPROC_COMMON || (QCOM_RPROC_COMMON=n && COMPILE_TEST)
|
|
select QCOM_MDT_LOADER if ARCH_QCOM
|
|
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, on the Qualcomm SDM845 and SC7180
|
|
SoCs.
|
|
|
|
Note that if selected, the selection type must match that
|
|
of QCOM_Q6V5_COMMON (Y or M).
|
|
|
|
If unsure, say N.
|