linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] soc: qcom: ipa: build IPA when COMPILE_TEST is enabled
@ 2020-03-13 12:11 Alex Elder
  2020-03-13 18:25 ` David Miller
  0 siblings, 1 reply; 3+ messages in thread
From: Alex Elder @ 2020-03-13 12:11 UTC (permalink / raw)
  To: Jakub Kicinski, David S . Miller; +Cc: netdev, linux-kernel

Make CONFIG_QCOM_IPA optionally dependent on CONFIG_COMPILE_TEST.

Suggested-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Alex Elder <elder@linaro.org>
---

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.

Thanks.

					-Alex

 drivers/net/ipa/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ipa/Kconfig b/drivers/net/ipa/Kconfig
index b8cb7cadbf75..bcab7e52d4e6 100644
--- a/drivers/net/ipa/Kconfig
+++ b/drivers/net/ipa/Kconfig
@@ -1,6 +1,6 @@
 config QCOM_IPA
 	tristate "Qualcomm IPA support"
-	depends on ARCH_QCOM && 64BIT && NET
+	depends on (ARCH_QCOM || COMPILE_TEST) && 64BIT && NET
 	select QCOM_QMI_HELPERS
 	select QCOM_MDT_LOADER
 	default QCOM_Q6V5_COMMON
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] soc: qcom: ipa: build IPA when COMPILE_TEST is enabled
  2020-03-13 12:11 [PATCH] soc: qcom: ipa: build IPA when COMPILE_TEST is enabled Alex Elder
@ 2020-03-13 18:25 ` David Miller
  2020-03-13 18:29   ` Alex Elder
  0 siblings, 1 reply; 3+ messages in thread
From: David Miller @ 2020-03-13 18:25 UTC (permalink / raw)
  To: elder; +Cc: kuba, netdev, linux-kernel

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

> Make CONFIG_QCOM_IPA optionally dependent on CONFIG_COMPILE_TEST.
> 
> Suggested-by: Jakub Kicinski <kuba@kernel.org>
> Signed-off-by: Alex Elder <elder@linaro.org>
> ---
> 
> 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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] soc: qcom: ipa: build IPA when COMPILE_TEST is enabled
  2020-03-13 18:25 ` David Miller
@ 2020-03-13 18:29   ` Alex Elder
  0 siblings, 0 replies; 3+ messages in thread
From: Alex Elder @ 2020-03-13 18:29 UTC (permalink / raw)
  To: David Miller; +Cc: kuba, netdev, linux-kernel

On 3/13/20 1:25 PM, David Miller wrote:
> From: Alex Elder <elder@linaro.org>
> Date: Fri, 13 Mar 2020 07:11:26 -0500
> 
>> Make CONFIG_QCOM_IPA optionally dependent on CONFIG_COMPILE_TEST.
>>
>> Suggested-by: Jakub Kicinski <kuba@kernel.org>
>> Signed-off-by: Alex Elder <elder@linaro.org>
>> ---
>>
>> 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.
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-03-13 18:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-13 12:11 [PATCH] soc: qcom: ipa: build IPA when COMPILE_TEST is enabled Alex Elder
2020-03-13 18:25 ` David Miller
2020-03-13 18:29   ` Alex Elder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).