Star64_linux/drivers/powercap
Daniel Lezcano 82e430a6df cpuidle: play_idle: Increase the resolution to usec
The play_idle resolution is 1ms. The intel_powerclamp bases the idle
duration on jiffies. The idle injection API is also using msec based
duration but has no user yet.

Unfortunately, msec based time does not fit well when we want to
inject idle cycle precisely with shallow idle state.

In order to set the scene for the incoming idle injection user, move
the precision up to usec when calling play_idle.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2019-09-03 11:33:29 +02:00
..
idle_inject.c cpuidle: play_idle: Increase the resolution to usec 2019-09-03 11:33:29 +02:00
intel_rapl_common.c powercap: Invoke powercap_init() and rapl_init() earlier 2019-07-22 11:23:00 +02:00
intel_rapl_msr.c intel_rapl: Fix module autoloading issue 2019-07-11 15:08:58 +02:00
Kconfig intel_rapl: abstract RAPL common code 2019-07-11 15:08:58 +02:00
Makefile intel_rapl: abstract RAPL common code 2019-07-11 15:08:58 +02:00
powercap_sys.c powercap: Invoke powercap_init() and rapl_init() earlier 2019-07-22 11:23:00 +02:00