Commit 6b94fb8b authored by Kajetan Puchalski's avatar Kajetan Puchalski Committed by Qais Yousef
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: I31553993715a25c3ed04ec985416cfb0e222973d
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 86a6bbdc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment