cpuidle: Fix cpu frequent exits from low power mode
Following upstream changes are reverted due cpu low power mode use cases regressions. 'commit 55e591cc ("BACKPORT: time: tick-sched: Reorganize idle tick management code")' 'commit f6d3093d ("BACKPORT: sched: idle: Do not stop the tick upfront in the idle loop")' 'commit 27e8616e ("UPSTREAM: sched: idle: Do not stop the tick before cpuidle_idle_call()")' 'commit 8b468535 ("UPSTREAM: jiffies: Introduce USER_TICK_USEC and redefine TICK_USEC")' 'commit 3a25735b ("UPSTREAM: cpuidle: Return nohz hint from cpuidle_select()")' 'commit f69cfc8e ("BACKPORT: time: tick-sched: Split tick_nohz_stop_sched_tick()")' 'commit 6277dd58 ("BACKPORT: time: hrtimer: Introduce hrtimer_next_event_without()")' 'commit 8c71f69f ("UPSTREAM: sched: idle: Select idle state before stopping the tick")' 'commit 30693a4f ("UPSTREAM: cpuidle: menu: Refine idle state selection for running tick")' 'commit e32966ce ("UPSTREAM: cpuidle: menu: Avoid selecting shallow states with stopped tick")' Also fix the compilation errrors as tick_nohz_get_sleep_length() function signature is changed. Change-Id: I21488a5a91f1eac11d4e139fd44968d52563717c Signed-off-by:Prasad Sodagudi <psodagud@codeaurora.org>
Loading
Please register or sign in to comment