From 010aa5bd7cdeee25c1f2290c7ebb62fe2ab8a16c Mon Sep 17 00:00:00 2001 From: Prachee Ramsinghani Date: Thu, 12 Mar 2015 18:09:11 +0530 Subject: soc: qcom: msm_perf: Optionally compile out hotplug tunables If msm_performance module and some other module with the core hotplug capability (like core_ctl) co-exist and both of them try to hotplug the cores system inconsistencies can occur. To avoid such behavior sysfs nodes needed for hotplug support in msm_performance module are compiled out. Change-Id: I25e8404ce0581e718d6b55cd0e1f5c7da8e92db5 Signed-off-by: Prachee Ramsinghani --- drivers/soc/qcom/Kconfig | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'drivers/soc/qcom/Kconfig') diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig index 2babb640d38c..dd33016d5c88 100644 --- a/drivers/soc/qcom/Kconfig +++ b/drivers/soc/qcom/Kconfig @@ -475,6 +475,16 @@ config MSM_PERFORMANCE It ensures that no more than a user specified number of CPUs stay online at any given point in time. +config MSM_PERFORMANCE_HOTPLUG_ON + bool "Hotplug functionality through msm_performance turned on" + depends on MSM_PERFORMANCE + default y + help + If some other core-control driver is present turn off the core-control + capability of msm_performance driver. Setting this flag to false will + compile out the nodes needed for core-control functionality through + msm_performance. + endif # ARCH_QCOM config MSM_SUBSYSTEM_RESTART -- cgit v1.2.3