Skip to contentSkip to conversation

coresight: Add explicit architecture dependency

PATCH In review Mark Brown 2 participants 2 messages Oct 24, 2019

Subsystems (2)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 coresight: Add explicit architecture dependency

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.

---
 drivers/hwtracing/coresight/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/hwtracing/coresight/Kconfig +1 -0
index 7a9f5fb08330..6ff30e25af55 100644
@@ -4,6 +4,7 @@
 #
 menuconfig CORESIGHT
 	bool "CoreSight Tracing Support"
+	depends on ARM || ARM64
 	depends on OF || ACPI
 	select ARM_AMBA
 	select PERF_EVENTS
Signature · 7 lines
2.20.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#1 lore raw
Quoted 18 lines · Mark Brown

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.

---
 drivers/hwtracing/coresight/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/hwtracing/coresight/Kconfig +0 -0
index 7a9f5fb08330..6ff30e25af55 100644

drivers/hwtracing/coresight/Kconfig line 7

Quoted 4 lines
drivers/hwtracing/coresight/Kconfig +1 -0
@@ -4,6 +4,7 @@
 #
 menuconfig CORESIGHT
 	bool "CoreSight Tracing Support"
+	depends on ARM || ARM64

Very true - applied.

Thanks,
Mathieu

Quoted 6 lines
drivers/hwtracing/coresight/Kconfig +0 -0
 	depends on OF || ACPI
 	select ARM_AMBA
 	select PERF_EVENTS
Signature · 1 line
2.20.1

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel