zephyr/samples/boards/nrf
Flavio Ceolin 4998c52ba8 pm: Make pm_power_state_force multicore aware
Change pm_power_state_force to receive which cpu the state should be
forced. Also, it changed the API behavior to force the given state only
when the idle thread for that core is executed.

In a multicore environment force arbitrarily a core to suspend is not
safe because the kernel cannot infer what that cpu is running and how it
impacts the overall system, for example, if it is holding a lock that is
required by a thread that is running in another cpu.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
2021-11-18 13:56:15 +01:00
..
battery samples: boards: nrf: battery: fix board in sample commands 2021-09-23 08:38:44 -04:00
clock_skew cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
ieee802154/802154_rpmsg cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
mesh cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
nrfx samples: boards: nrfx: Fix setting up of (D)PPI channel endpoints 2021-09-23 13:13:30 -04:00
nrfx_prs cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
system_off pm: Make pm_power_state_force multicore aware 2021-11-18 13:56:15 +01:00