All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] coresight: Add explicit architecture dependency
@ 2019-10-24 12:04 Mark Brown
  2019-10-24 17:37 ` Mathieu Poirier
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Brown @ 2019-10-24 12:04 UTC (permalink / raw)
  To: Mathieu Poirier, Suzuki K Poulose; +Cc: Mark Brown, linux-arm-kernel

Coresight hardware is only likely to appear on Arm systems and currently
the core code has Arm-specific barrier operations in it so can't be
built anywhere else so add an explicit dependency saying so.  This will
make no practical difference currently due to the way subsystems are
referenced, the subsystem is only pulled in on arm and arm64, so mainly
serves as documentation in case someone wants to increase build
coverage.

Signed-off-by: Mark Brown <broonie@kernel.org>
---
 drivers/hwtracing/coresight/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/hwtracing/coresight/Kconfig b/drivers/hwtracing/coresight/Kconfig
index 7a9f5fb08330..6ff30e25af55 100644
--- a/drivers/hwtracing/coresight/Kconfig
+++ b/drivers/hwtracing/coresight/Kconfig
@@ -4,6 +4,7 @@
 #
 menuconfig CORESIGHT
 	bool "CoreSight Tracing Support"
+	depends on ARM || ARM64
 	depends on OF || ACPI
 	select ARM_AMBA
 	select PERF_EVENTS
-- 
2.20.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH] coresight: Add explicit architecture dependency
  2019-10-24 12:04 [PATCH] coresight: Add explicit architecture dependency Mark Brown
@ 2019-10-24 17:37 ` Mathieu Poirier
  0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Poirier @ 2019-10-24 17:37 UTC (permalink / raw)
  To: Mark Brown; +Cc: linux-arm-kernel, Suzuki K Poulose

On Thu, Oct 24, 2019 at 01:04:20PM +0100, Mark Brown wrote:
> Coresight hardware is only likely to appear on Arm systems and currently
> the core code has Arm-specific barrier operations in it so can't be
> built anywhere else so add an explicit dependency saying so.  This will
> make no practical difference currently due to the way subsystems are
> referenced, the subsystem is only pulled in on arm and arm64, so mainly
> serves as documentation in case someone wants to increase build
> coverage.
> 
> Signed-off-by: Mark Brown <broonie@kernel.org>
> ---
>  drivers/hwtracing/coresight/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/hwtracing/coresight/Kconfig b/drivers/hwtracing/coresight/Kconfig
> index 7a9f5fb08330..6ff30e25af55 100644
> --- a/drivers/hwtracing/coresight/Kconfig
> +++ b/drivers/hwtracing/coresight/Kconfig
> @@ -4,6 +4,7 @@
>  #
>  menuconfig CORESIGHT
>  	bool "CoreSight Tracing Support"
> +	depends on ARM || ARM64

Very true - applied.

Thanks,
Mathieu

>  	depends on OF || ACPI
>  	select ARM_AMBA
>  	select PERF_EVENTS
> -- 
> 2.20.1
> 

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2019-10-24 17:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-24 12:04 [PATCH] coresight: Add explicit architecture dependency Mark Brown
2019-10-24 17:37 ` Mathieu Poirier

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.