zephyr/samples/boards/stm32
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
..
backup_sram cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
h7_dual_core cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
power_mgmt pm: Make pm_power_state_force multicore aware 2021-11-18 13:56:15 +01:00