android_kernel_oneplus_msm8998/drivers/devfreq
Rohit Gupta 6f55f08b06 PM / devfreq: Handle offline CPUs while creating events
If any of the CPUs monitored by a memlat device is offline while
trying to register for perf events, the registration fails
returning an error code to the governor's start_monitor function
which then fails the setting of governor and leaves the system in
a bad state.
To avoid this scenario, this patch allows for initialization errors
while registering for perf events and remembers the failing offline
CPUs. Perf event registration is tried for the failing CPUs when they
come back online. Once all the CPUs have registered for perf events
hotplug notifiers callbacks are unregistered.

Change-Id: I36c33d9dc627f60ab9d7db41913661927938e850
Signed-off-by: Rohit Gupta <rohgup@codeaurora.org>
2016-03-23 20:04:42 -07:00
..
event PM / devfreq: exynos-ppmu: bit-wise operation bugfix. 2015-09-11 14:22:26 +09:00
exynos devfreq: exynos: drop owner assignment from platform_drivers 2014-10-20 16:20:27 +02:00
arm-memlat-mon.c PM / devfreq: Handle offline CPUs while creating events 2016-03-23 20:04:42 -07:00
armbw-pm.c PM / devfreq: Add ARM PMU support for bw_hwmon governor 2016-03-23 20:04:04 -07:00
bimc-bwmon.c PM / devfreq: bw_hwmon: Expose a throttle adjust tunable 2016-03-23 20:04:38 -07:00
devfreq-event.c PM / devfreq: event: Add devfreq_event class 2015-01-30 17:56:40 +09:00
devfreq.c PM/devfreq: Remove redundant put_device() 2016-03-23 20:03:42 -07:00
devfreq_devbw.c devfreq_devbw: Add support for voting for AB based on IB 2016-03-23 20:03:59 -07:00
devfreq_simple_dev.c devfreq: devfreq_simple_dev: call clk_round_rate in dev_target 2016-03-23 20:04:42 -07:00
devfreq_spdm.c devfreq: devfreq_spdm: Scale parameters to and from TZ driver 2016-03-23 20:04:17 -07:00
devfreq_spdm.h devfreq: devfreq_spdm: Scale parameters to and from TZ driver 2016-03-23 20:04:17 -07:00
devfreq_spdm_debugfs.c devfreq: devfreq_spdm: Enhance debugfs entries 2016-03-23 20:04:12 -07:00
governor.h PM / devfreq: allow governors to use devfreq_get_freq_level 2016-03-22 11:15:50 -07:00
governor_bw_hwmon.c PM / devfreq: bw_hwmon: Expose a throttle adjust tunable 2016-03-23 20:04:38 -07:00
governor_bw_hwmon.h PM / devfreq: bw_hwmon: Expose a throttle adjust tunable 2016-03-23 20:04:38 -07:00
governor_cache_hwmon.c PM / devfreq: governor_cache_hwmon: Add mrps and freq vote traces 2016-03-23 20:04:34 -07:00
governor_cache_hwmon.h PM / devfreq: cache_hwmon: Use array for reporting monitor stats 2016-03-23 20:04:06 -07:00
governor_cpufreq.c PM / devfreq: governor_cpufreq: Fix incorrect refcounting of OF node 2016-03-23 20:04:41 -07:00
governor_memlat.c PM / devfreq : Introduce a memory-latency governor 2016-03-23 20:04:39 -07:00
governor_memlat.h PM / devfreq : Introduce a memory-latency governor 2016-03-23 20:04:39 -07:00
governor_msm_adreno_tz.c devfreq: Add Qualcomm GPU devfreq governors 2016-03-22 11:15:51 -07:00
governor_performance.c PM / devfreq: Add a new target flag for the performance governor 2016-03-23 20:03:39 -07:00
governor_powersave.c PM / devfreq: Allow the governors to set the target flag 2016-03-23 20:03:38 -07:00
governor_simpleondemand.c PM / devfreq: fix scaling down logic for simple clock scaling 2016-03-23 20:04:02 -07:00
governor_spdm_bw_hyp.c devfreq: devfreq_spdm: Scale parameters to and from TZ driver 2016-03-23 20:04:17 -07:00
governor_userspace.c PM / devfreq: Allow the governors to set the target flag 2016-03-23 20:03:38 -07:00
Kconfig PM / devfreq : Introduce a memory-latency governor 2016-03-23 20:04:39 -07:00
m4m-hwmon.c PM / devfreq: m4m-hwmon: Fix counter limit calculation 2016-03-23 20:04:30 -07:00
Makefile PM / devfreq : Introduce a memory-latency governor 2016-03-23 20:04:39 -07:00
msmcci-hwmon.c PM / devfreq: msmcci-hwmon: Add support for handling shared irq 2016-03-23 20:04:28 -07:00
tegra-devfreq.c PM / devfreq: tegra: Update governor to use devfreq_update_stats() 2015-09-11 14:23:30 +09:00