Revert "zephyr: implement arch_cpu_disable_core()"

This reverts commit 414089aa44.

Failures hit with 4core cAVS2.5 configuraions, so this has
to be reverted. We need an implementation that keeps both
Zephyr (and SOF runtime-DSP if still used) in the loop.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
This commit is contained in:
Kai Vehmanen 2022-02-02 15:16:39 +02:00 committed by Liam Girdwood
parent bc11c6e7c8
commit 10f4669ccc
1 changed files with 1 additions and 6 deletions

View File

@ -754,12 +754,7 @@ int arch_cpu_secondary_cores_prepare_d0ix(void)
void arch_cpu_disable_core(int id) void arch_cpu_disable_core(int id)
{ {
/* /* TODO: call Zephyr API */
* As long as DSP core reference count is handled
* with SOF runtime-PM driver, we need to disable
* a core via RPM.
*/
pm_runtime_put(PM_RUNTIME_DSP, PWRD_BY_TPLG | id);
} }
int arch_cpu_is_core_enabled(int id) int arch_cpu_is_core_enabled(int id)