summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaranya Chidura <schidura@codeaurora.org>2017-02-23 13:06:30 +0530
committerSaranya Chidura <schidura@codeaurora.org>2017-02-23 13:18:48 +0530
commitf6069cd22441aa132a1f9df9c7414f1cb4c9dcdb (patch)
treea27c4c554b36cb40878fac722e5718737e814f89
parentd72462d943ee499ac17a485bdacca60c0db31c04 (diff)
kconfig: add cti-save-disable config in coresight
Added CONFIG_CORESIGHT_CTI_SAVE_DISABLE in kconfig of coresight to choose CTI without save-restore functionality for CPU cores. Change-Id: I48128fbeda293a73d78946b8c222b5d0393c7595 Signed-off-by: Saranya Chidura <schidura@codeaurora.org>
-rw-r--r--drivers/hwtracing/coresight/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/hwtracing/coresight/Kconfig b/drivers/hwtracing/coresight/Kconfig
index ed70a980d9ac..6e72cda433db 100644
--- a/drivers/hwtracing/coresight/Kconfig
+++ b/drivers/hwtracing/coresight/Kconfig
@@ -136,6 +136,17 @@ config CORESIGHT_CTI
hardware component to another. It can also be used to pass
software generated events.
+config CORESIGHT_CTI_SAVE_DISABLE
+ bool "Turn off CTI save and restore"
+ depends on CORESIGHT_CTI
+ help
+ Turns off CoreSight CTI save and restore support for cpu CTIs. This
+ avoids voting for the clocks during probe as well as the associated
+ save and restore latency at the cost of breaking cpu CTI support on
+ targets where cpu CTIs have to be preserved across power collapse.
+
+ If unsure, say 'N' here to avoid breaking cpu CTI support.
+
config CORESIGHT_TPDA
bool "CoreSight Trace, Profiling & Diagnostics Aggregator driver"
help