Skip to content
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

Adapt tickless idle + power management for ARM #2416

Closed
zephyrbot opened this issue Sep 16, 2016 · 3 comments
Closed

Adapt tickless idle + power management for ARM #2416

zephyrbot opened this issue Sep 16, 2016 · 3 comments
Labels
area: Kernel Enhancement Changes/Updates/Additions to existing features priority: high High impact/importance bug
Milestone

Comments

@zephyrbot
Copy link
Collaborator

zephyrbot commented Sep 16, 2016

Reported by Benjamin Walsh:

Adapt _sys_power_save_idle() and _sys_power_save_idle_exit() for unified kernel.
Adapt power management hooks. Make sure unified kernel invokes them.

Done criteria:

Unified kernel APIs are operational. Underlying code follows the revised kernel naming conventions.
Legacy APIs are operational.

(Imported from Jira ZEP-909)

@zephyrbot
Copy link
Collaborator Author

by Peter Mitsis:

Tickless idle support in the unified kernel was added in commit 96cb05c.

@zephyrbot
Copy link
Collaborator Author

zephyrbot commented Oct 14, 2016

by Sharron LIU:

testpoints:

TESTPOINT: verify the "programmed cycles". Expect the error cycles are within one tick (CYCLES_PER_TICK). NOTE, this is expected regardless straddled tick boundary or not.
TESTPOINT: verify system clock after exiting tickless idle. Expect system clock recovered with time elapsed during tickless idle

2 test cases covering above test points

arduino_due COTEXT_M_SYSTICK timer

For the 1st test point, I observed minor issue logged as GH-2575. I would need your confirmation that such behavior is as expected before I can close this story.
For the 2nd test point, PASSED. Thanks Peter Mitsis !

And, I also observed compilation failure in "kernel/unified/idle.c", logged as GH-2576.

@zephyrbot
Copy link
Collaborator Author

zephyrbot commented Oct 17, 2016

by Sharron LIU:

Closing this, and let the discussion followed by GH-2575 and GH-2576.

@zephyrbot zephyrbot added priority: high High impact/importance bug area: Kernel Enhancement Changes/Updates/Additions to existing features labels Sep 23, 2017
@zephyrbot zephyrbot added this to the v1.6.0 milestone Sep 23, 2017
@zephyrbot zephyrbot mentioned this issue Sep 23, 2017
49 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Kernel Enhancement Changes/Updates/Additions to existing features priority: high High impact/importance bug
Projects
None yet
Development

No branches or pull requests

1 participant