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

review use of cpsid in aarch32 / CONFIG_PM #32342

Closed
pabigot opened this issue Feb 15, 2021 · 1 comment
Closed

review use of cpsid in aarch32 / CONFIG_PM #32342

pabigot opened this issue Feb 15, 2021 · 1 comment

Comments

@pabigot
Copy link
Collaborator

pabigot commented Feb 15, 2021

My attention has been drawn to https:/zephyrproject-rtos/zephyr/blob/master/arch/arm/core/aarch32/isr_wrapper.S#L111 where enabling power management on Cortex M devices causes interrupts to be disabled for a sequence of operations in the ISR wrapper including the invocation of z_pm_save_idle_exit(). There is concern that this impacts use of ZLI by Bluetooth.

Need to determine whether this configuration actually interferes with ZLIs, and independently whether this matters given that entry to a non-runtime power state while Bluetooth is running may be inappropriate.

I don't have the capacity to follow up, but want to bring this to notice so that if all interrupts do get disabled, we are still aware of that for how long would it be and what the latencies on ISRs be.

Relates to #8109

@github-actions
Copy link

This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants