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

From: Alex Elder
Date: Fri Mar 13 2020 - 14:29:22 EST


On 3/13/20 1:25 PM, David Miller wrote:
> 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:

I'm very sorry about that. I'll look it over again and fix it.

I got another report today from LKFT saying that there's a different
problem when ARM64 is built 64KB pages. I'll address both of them in
an update.

-Alex

> 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.
>