Skip to content

Commit d9d66ab

Browse files
committed
west.yml: Update west to point to the zephyr PR
Just a test Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
1 parent 499bf4d commit d9d66ab

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

west.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

zephyr/lib/cpu.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)