From f6069cd22441aa132a1f9df9c7414f1cb4c9dcdb Mon Sep 17 00:00:00 2001 From: Saranya Chidura Date: Thu, 23 Feb 2017 13:06:30 +0530 Subject: [PATCH] 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 --- drivers/hwtracing/coresight/Kconfig | 11 +++++++++++ 1 file changed, 11 insertions(+) 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