Skip to content
Commit 12a437c4 authored by Riadh Ghaddab's avatar Riadh Ghaddab Committed by Anas Nashif
Browse files

pm: policy: change the policy event handling



Some events needs to be handled with a very low latency constraint.
If the system is in deep sleep, exit latency from this low level state
exceeds sometimes the maximum latency constraint of these events.

Before suspending the system, select which events is happening sooner,
kernel events or normal events.
CPU will be up just before the next event occurs taking into account the
exit latency of the current power state

Change also the policy event API to take as argument absolute time in HW
cycles instead of time in us

Signed-off-by: default avatarRiadh Ghaddab <rghaddab@baylibre.com>
parent 8233b70e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment