]> git.baikalelectronics.ru Git - kernel.git/commitdiff
net: ipa: support COMPILE_TEST
authorAlex Elder <elder@linaro.org>
Thu, 7 Jan 2021 23:34:04 +0000 (17:34 -0600)
committerJakub Kicinski <kuba@kernel.org>
Sat, 9 Jan 2021 21:51:37 +0000 (13:51 -0800)
Arrange for the IPA driver to be built when COMPILE_TEST is enabled.

Update the help text to reflect that we support two Qualcomm SoCs.

Suggested-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Alex Elder <elder@linaro.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ipa/Kconfig

index 9f0d2a93379c5a6c9510cae9c5d7c8f4bb1a6ca0..10a0e041ee7754ff5f3e312f19e869c4c4b29f7f 100644 (file)
@@ -1,9 +1,10 @@
 config QCOM_IPA
        tristate "Qualcomm IPA support"
-       depends on ARCH_QCOM && 64BIT && NET
-       depends on QCOM_Q6V5_MSS
+       depends on 64BIT && NET
+       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
-       select QCOM_MDT_LOADER
        help
          Choose Y or M here to include support for the Qualcomm
          IP Accelerator (IPA), a hardware block present in some
@@ -11,7 +12,8 @@ config QCOM_IPA
          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 SoC.
+         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).