Commit d52ad106 authored by Kajetan Puchalski's avatar Kajetan Puchalski Committed by Todd Kjos
Browse files

UPSTREAM: cpuidle: teo: Optionally skip polling states in teo_find_shallower_state()



Add a no_poll flag to teo_find_shallower_state() that will let the
function optionally not consider polling states.

This allows the caller to guard against the function inadvertently
resulting in TEO putting the CPU in a polling state when that
behaviour is undesirable.

Bug: 258723112
Change-Id: Ic3879fd4428dd4c7b19caaee6f9fd847cdb58483
Signed-off-by: default avatarKajetan Puchalski <kajetan.puchalski@arm.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
(cherry picked from commit 27f85088)
Signed-off-by: default avatarQais Yousef <qyousef@google.com>
parent d9a7607f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment