cpufreq: powernv: Adding fast_switch for schedutil
authorAkshay Adiga <akshay.adiga@linux.vnet.ibm.com>
Tue, 8 Nov 2016 13:33:27 +0000 (19:03 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 11 Nov 2016 00:41:02 +0000 (01:41 +0100)
commit60c9efb8f783194200bdb510df8d9d4fb398016e
tree1dd19bc285ee3f67473eedf15acb246a3fa595ea
parente7d040b8a2ea36a40f0d4176fe558d4e813fb715
cpufreq: powernv: Adding fast_switch for schedutil

Adding fast_switch which does light weight operation to set the desired
pstate. Both global and local pstates are set to the same desired pstate.

Signed-off-by: Akshay Adiga <akshay.adiga@linux.vnet.ibm.com>
Reviewed-by: Gautham R. Shenoy <ego@linux.vnet.ibm.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/powernv-cpufreq.c