linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH resend] mailbox: ARM_MHU_V3 should depend on ARM64
@ 2024-08-29 13:58 Geert Uytterhoeven
  2024-08-29 16:21 ` Sudeep Holla
  0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2024-08-29 13:58 UTC (permalink / raw)
  To: Jassi Brar, Cristian Marussi, Sudeep Holla
  Cc: linux-arm-kernel, linux-kernel, Geert Uytterhoeven

The ARM MHUv3 controller is only present on ARM64 SoCs.  Hence add a
dependency on ARM64, to prevent asking the user about this driver when
configuring a kernel for a different architecture than ARM64.

Fixes: ca1a8680b134b5e6 ("mailbox: arm_mhuv3: Add driver")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 drivers/mailbox/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mailbox/Kconfig b/drivers/mailbox/Kconfig
index 4eed972959279a07..cbd9206cd7de34c5 100644
--- a/drivers/mailbox/Kconfig
+++ b/drivers/mailbox/Kconfig
@@ -25,6 +25,7 @@ config ARM_MHU_V2
 
 config ARM_MHU_V3
 	tristate "ARM MHUv3 Mailbox"
+	depends on ARM64 || COMPILE_TEST
 	depends on HAS_IOMEM || COMPILE_TEST
 	depends on OF
 	help
-- 
2.34.1



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

* Re: [PATCH resend] mailbox: ARM_MHU_V3 should depend on ARM64
  2024-08-29 13:58 [PATCH resend] mailbox: ARM_MHU_V3 should depend on ARM64 Geert Uytterhoeven
@ 2024-08-29 16:21 ` Sudeep Holla
  0 siblings, 0 replies; 2+ messages in thread
From: Sudeep Holla @ 2024-08-29 16:21 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Jassi Brar, Cristian Marussi, linux-arm-kernel, linux-kernel

On Thu, Aug 29, 2024 at 03:58:53PM +0200, Geert Uytterhoeven wrote:
> The ARM MHUv3 controller is only present on ARM64 SoCs.  Hence add a
> dependency on ARM64, to prevent asking the user about this driver when
> configuring a kernel for a different architecture than ARM64.
> 
> Fixes: ca1a8680b134b5e6 ("mailbox: arm_mhuv3: Add driver")

Extremely sorry that I just noticed I didn't explicitly ack this change
though I agreed with it in the previous post.

Acked-by: Sudeep Holla <sudeep.holla@arm.com>

-- 
Regards,
Sudeep


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

end of thread, other threads:[~2024-08-29 16:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-29 13:58 [PATCH resend] mailbox: ARM_MHU_V3 should depend on ARM64 Geert Uytterhoeven
2024-08-29 16:21 ` Sudeep Holla

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