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: I9ea0715fabeaa2b2a6b6464fbafbcd02824ac64b Signed-off-by:Kajetan Puchalski <kajetan.puchalski@arm.com> Signed-off-by:
Rafael J. Wysocki <rafael.j.wysocki@intel.com> (cherry picked from commit 27f85088) Signed-off-by:
Qais Yousef <qyousef@google.com>
Loading
Please sign in to comment