Re: [PATCH] soc: qcom: ipa: build IPA when COMPILE_TEST is enabled

From: David Miller
Date: Fri Mar 13 2020 - 14:25:27 EST


From: Alex Elder <elder@xxxxxxxxxx>
Date: Fri, 13 Mar 2020 07:11:26 -0500

> Make CONFIG_QCOM_IPA optionally dependent on CONFIG_COMPILE_TEST.
>
> Suggested-by: Jakub Kicinski <kuba@xxxxxxxxxx>
> Signed-off-by: Alex Elder <elder@xxxxxxxxxx>
> ---
>
> David, this implements a suggestion made by Jakub Kicinski. I tested
> it with GCC 9.2.1 for x86 and found no errors or warnings in the IPA
> code. It is the last IPA change I plan to make for v5.7.
>
> Once reviewed and found acceptable, it should go through net-next.

When I try to use this I end up with the following Kconfig warnings:

WARNING: unmet direct dependencies detected for QCOM_SCM
Depends on [n]: ARM || ARM64
Selected by [m]:
- QCOM_MDT_LOADER [=m]

So this needs more work.