Re: [PATCH net-next 4/4] net: ipa: support COMPILE_TEST

From: Bjorn Andersson
Date: Thu Jan 07 2021 - 19:26:11 EST


On Thu 07 Jan 17:34 CST 2021, Alex Elder wrote:

> 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@xxxxxxxxxx>
> Signed-off-by: Alex Elder <elder@xxxxxxxxxx>

Reviewed-by: Bjorn Andersson <bjorn.andersson@xxxxxxxxxx>

Regards,
Bjorn

> ---
> drivers/net/ipa/Kconfig | 10 ++++++----
> 1 file changed, 6 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/net/ipa/Kconfig b/drivers/net/ipa/Kconfig
> index 9f0d2a93379c5..10a0e041ee775 100644
> --- a/drivers/net/ipa/Kconfig
> +++ b/drivers/net/ipa/Kconfig
> @@ -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).
> --
> 2.20.1
>