Skip to content
Commit 7467571f authored by Tero Kristo's avatar Tero Kristo Committed by Len Brown
Browse files

cpuidle: menu: fixed wrapping timers at 4.294 seconds



Cpuidle menu governor is using u32 as a temporary datatype for storing
nanosecond values which wrap around at 4.294 seconds. This causes errors
in predicted sleep times resulting in higher than should be C state
selection and increased power consumption. This also breaks cpuidle
state residency statistics.

cc: stable@kernel.org # .32.x through .39.x
Signed-off-by: default avatarTero Kristo <tero.kristo@nokia.com>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 521cb40b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment