linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] net: ethernet: qualcomm: QCOM_PPE should depend on ARCH_QCOM
@ 2025-08-29 11:27 Geert Uytterhoeven
  2025-09-01 13:10 ` Simon Horman
  2025-09-01 20:10 ` patchwork-bot+netdevbpf
  0 siblings, 2 replies; 3+ messages in thread
From: Geert Uytterhoeven @ 2025-08-29 11:27 UTC (permalink / raw)
  To: Luo Jie, Andrew Lunn, David S . Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni
  Cc: netdev, linux-kernel, Geert Uytterhoeven

The Qualcomm Technologies, Inc. Packet Process Engine (PPE) is only
present on Qualcomm IPQ SoCs.  Hence add a dependency on ARCH_QCOM, to
prevent asking the user about this driver when configuring a kernel
without Qualcomm platform support,

Fixes: 353a0f1d5b27606b ("net: ethernet: qualcomm: Add PPE driver for IPQ9574 SoC")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 drivers/net/ethernet/qualcomm/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/ethernet/qualcomm/Kconfig b/drivers/net/ethernet/qualcomm/Kconfig
index 29e6d746ad31ad7e..ba7efb108637cc15 100644
--- a/drivers/net/ethernet/qualcomm/Kconfig
+++ b/drivers/net/ethernet/qualcomm/Kconfig
@@ -62,8 +62,8 @@ config QCOM_EMAC
 
 config QCOM_PPE
 	tristate "Qualcomm Technologies, Inc. PPE Ethernet support"
-	depends on HAS_IOMEM && OF
-	depends on COMMON_CLK
+	depends on COMMON_CLK && HAS_IOMEM && OF
+	depends on ARCH_QCOM || COMPILE_TEST
 	select REGMAP_MMIO
 	help
 	  This driver supports the Qualcomm Technologies, Inc. packet
-- 
2.43.0


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

* Re: [PATCH] net: ethernet: qualcomm: QCOM_PPE should depend on ARCH_QCOM
  2025-08-29 11:27 [PATCH] net: ethernet: qualcomm: QCOM_PPE should depend on ARCH_QCOM Geert Uytterhoeven
@ 2025-09-01 13:10 ` Simon Horman
  2025-09-01 20:10 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: Simon Horman @ 2025-09-01 13:10 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Luo Jie, Andrew Lunn, David S . Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, netdev, linux-kernel

On Fri, Aug 29, 2025 at 01:27:06PM +0200, Geert Uytterhoeven wrote:
> The Qualcomm Technologies, Inc. Packet Process Engine (PPE) is only
> present on Qualcomm IPQ SoCs.  Hence add a dependency on ARCH_QCOM, to
> prevent asking the user about this driver when configuring a kernel
> without Qualcomm platform support,
> 
> Fixes: 353a0f1d5b27606b ("net: ethernet: qualcomm: Add PPE driver for IPQ9574 SoC")
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

Reviewed-by: Simon Horman <horms@kernel.org>

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

* Re: [PATCH] net: ethernet: qualcomm: QCOM_PPE should depend on ARCH_QCOM
  2025-08-29 11:27 [PATCH] net: ethernet: qualcomm: QCOM_PPE should depend on ARCH_QCOM Geert Uytterhoeven
  2025-09-01 13:10 ` Simon Horman
@ 2025-09-01 20:10 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2025-09-01 20:10 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: quic_luoj, andrew+netdev, davem, edumazet, kuba, pabeni, netdev,
	linux-kernel

Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Fri, 29 Aug 2025 13:27:06 +0200 you wrote:
> The Qualcomm Technologies, Inc. Packet Process Engine (PPE) is only
> present on Qualcomm IPQ SoCs.  Hence add a dependency on ARCH_QCOM, to
> prevent asking the user about this driver when configuring a kernel
> without Qualcomm platform support,
> 
> Fixes: 353a0f1d5b27606b ("net: ethernet: qualcomm: Add PPE driver for IPQ9574 SoC")
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> 
> [...]

Here is the summary with links:
  - net: ethernet: qualcomm: QCOM_PPE should depend on ARCH_QCOM
    https://git.kernel.org/netdev/net-next/c/35dface61cfe

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



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

end of thread, other threads:[~2025-09-01 20:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-29 11:27 [PATCH] net: ethernet: qualcomm: QCOM_PPE should depend on ARCH_QCOM Geert Uytterhoeven
2025-09-01 13:10 ` Simon Horman
2025-09-01 20:10 ` patchwork-bot+netdevbpf

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