commit | 4f29930e4c1bf74101dd6f5bf3b8d41e41b24f07 | [log] [tgz] |
---|---|---|
author | Flavio Ceolin <flavio.ceolin@intel.com> | Tue May 30 11:49:45 2023 -0700 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Thu Jun 01 10:05:31 2023 +0200 |
tree | 060d2993cab946d5760c0364715cfe2b6d89a187 | |
parent | f30f1af4a6c136844ff7d67b0b34d7c8052797c2 [diff] |
pm: Fix cpus active count Only set a cpu as active (on pm subsystem) when the cpu is effectively initialized. We cannot assume on pm subsystem that all cpus were initialized since when the option CONFIG_SMP_BOOT_DELAY is used cpus are initialized on demand by the application. Note that once cpus are properly initialized the subystem is able to track their status. Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>