-
Notifications
You must be signed in to change notification settings - Fork 621
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pm: bring policy latency API updates #2150
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bjarki-andreasen
approved these changes
Oct 23, 2024
de-nordic
approved these changes
Oct 23, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Flash related things look OK.
gmarull
force-pushed
the
pm-latency-api-updates
branch
2 times, most recently
from
October 31, 2024 13:26
fdef494
to
9d694bb
Compare
gmarull
force-pushed
the
pm-latency-api-updates
branch
from
November 4, 2024 11:11
9d694bb
to
b391fa7
Compare
ns-tolu
approved these changes
Nov 4, 2024
Replace SYS_INIT with SoC hooks and adapt SoC init code Signed-off-by: Anas Nashif <[email protected]> (cherry picked from commit 49f7204)
Can disable RDC configuration if RDC node is disabled. Signed-off-by: Jiafei Pan <[email protected]> (cherry picked from commit bd03883)
Replace SYS_INIT with SoC hooks and adapt SoC init code Signed-off-by: Anas Nashif <[email protected]> (cherry picked from commit f519f00)
Add support for SCG K4 clock control in kinetis pinctrl. Signed-off-by: Declan Snyder <[email protected]> (cherry picked from commit 2db9ea9)
We already have `DT_HAS_COMPAT_STATUS_OKAY` and `DT_NUM_INST_STATUS_OKAY`, it seems intuitive to assume that `DT_NODE_HAS_STATUS_OKAY` exists, so much so that it was used before it's implemented. This patch implements `DT_NODE_HAS_STATUS_OKAY`, which is equivalent to: `DT_NODE_HAS_STATUS(<node_id>, okay)` Added test for it in `tests/lib/devicetree/api` Signed-off-by: Yong Cong Sin <[email protected]> Signed-off-by: Yong Cong Sin <[email protected]> (cherry picked from commit 5aebd12)
Change instances of: DT_NODE_HAS_STATUS(<node_id>, okay) to DT_NODE_HAS_STATUS_OKAY(<node_id>) Signed-off-by: Yong Cong Sin <[email protected]> Signed-off-by: Yong Cong Sin <[email protected]> (cherry picked from commit 52a2023)
policy.c has grown organically, it contained many independent pieces of code. This patch splits each logical unit into its own C file, making it easier to browse the code. Signed-off-by: Gerard Marull-Paretas <[email protected]> (cherry picked from commit 6f4bb11)
This option allows using the pm_policy_latency* APIs to gather latency requirements on systems that do not support PM (e.g. systems whithout CPU idle states). Because the API has a subscription mechanism, it can be useful to perform system-level adjustments based on latency requirements gathered from multiple system components. Signed-off-by: Gerard Marull-Paretas <[email protected]> (cherry picked from commit 578008c)
gmarull
force-pushed
the
pm-latency-api-updates
branch
from
November 4, 2024 16:37
b391fa7
to
e2dec8b
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Other patches are unrelated, but needed so that everything applies cleanly.