Skip to content

Commit f3f65ba

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 d409429 commit f3f65ba

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: e48c90700de7b84c038e73d01f4b2640e2fea127
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
@@ -219,6 +219,11 @@ void cpu_disable_core(int id)
219219
}
220220

221221
#if defined(CONFIG_PM)
222+
/* TODO: before requesting core shut down check if it's not actively used */
223+
if (!pm_state_force(id, &(struct pm_state_info){PM_STATE_SOFT_OFF, 0, 0})) {
224+
tr_err(&zephyr_tr, "failed to set PM_STATE_SOFT_OFF on core %d", id);
225+
return;
226+
}
222227
#if defined(CONFIG_POWEROFF)
223228
/* Primary core will be turned off by the host. This does not return. */
224229
if (cpu_is_primary(id)) {
@@ -227,11 +232,6 @@ void cpu_disable_core(int id)
227232
}
228233
#endif
229234

230-
/* TODO: before requesting core shut down check if it's not actively used */
231-
if (!pm_state_force(id, &(struct pm_state_info){PM_STATE_SOFT_OFF, 0, 0})) {
232-
tr_err(&zephyr_tr, "failed to set PM_STATE_SOFT_OFF on core %d", id);
233-
return;
234-
}
235235
/* Broadcasting interrupts to other cores. */
236236
arch_sched_broadcast_ipi();
237237

0 commit comments

Comments
 (0)