File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ manifest:
4343
4444 - name : zephyr
4545 repo-path : zephyr
46- revision : 8c6b2c8c88773810d64a47ed3b6206b7d6e8290f
46+ revision : pull/90821/head
4747 remote : zephyrproject
4848
4949 # Import some projects listed in zephyr/west.yml@revision
Original file line number Diff line number Diff line change @@ -258,6 +258,11 @@ void cpu_disable_core(int id)
258258 }
259259
260260#if defined(CONFIG_PM )
261+ /* TODO: before requesting core shut down check if it's not actively used */
262+ if (!pm_state_force (id , & (struct pm_state_info ){PM_STATE_SOFT_OFF , 0 , 0 })) {
263+ tr_err (& zephyr_tr , "failed to set PM_STATE_SOFT_OFF on core %d" , id );
264+ return ;
265+ }
261266#if defined(CONFIG_POWEROFF )
262267 /* Primary core will be turned off by the host. This does not return. */
263268 if (cpu_is_primary (id )) {
@@ -266,11 +271,6 @@ void cpu_disable_core(int id)
266271 }
267272#endif
268273
269- /* TODO: before requesting core shut down check if it's not actively used */
270- if (!pm_state_force (id , & (struct pm_state_info ){PM_STATE_SOFT_OFF , 0 , 0 })) {
271- tr_err (& zephyr_tr , "failed to set PM_STATE_SOFT_OFF on core %d" , id );
272- return ;
273- }
274274 /* Broadcasting interrupts to other cores. */
275275 arch_sched_broadcast_ipi ();
276276
You can’t perform that action at this time.
0 commit comments