thesofproject / sof

Sound Open Firmware
Other
513 stars 302 forks source link

[BUG][Zephyr] DMA_LL scheduler init fails on secondary cores #5480

Open kv2019i opened 2 years ago

kv2019i commented 2 years ago

Describe the bug DMA_LL scheduler is not supported in Zephyr builds.

Additionally following error is printed for each secondary core boot: [ 25515.832319] ( 403.124969) c1 zll-schedule src/schedule/zephyr_ll.c:527 ERROR zephyr_ll_scheduler_init(): unsupported domain 2

Related to https://github.com/thesofproject/sof/issues/5477

lgirdwood commented 2 years ago

@kv2019i this is intentional - DMA driven work is asynchronous and better served under Zephyr as DMA triggered IRQs and preemptable worker threads (with varying thread priority)

kv2019i commented 2 years ago

@lgirdwood We should probably get rid of the error print and leave this out from the build.

lgirdwood commented 2 years ago

@lgirdwood We should probably get rid of the error print and leave this out from the build.

I would leave it but make the message more meaningful. This make it obvious for anyone transferring a topology.