Skip to content

Commit bd981fa

Browse files
committed
schedule: ll: allocate coherent memory in userspace mode too
Also when userspace is used scheduler instances have to be allocated uncached. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
1 parent 7c68798 commit bd981fa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/schedule/zephyr_ll.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ __cold int zephyr_ll_scheduler_init(struct ll_schedule_domain *domain)
623623

624624
#if CONFIG_SOF_USERSPACE_LL
625625
heap = zephyr_ll_user_heap();
626-
flags = SOF_MEM_FLAG_USER;
626+
flags = SOF_MEM_FLAG_USER | SOF_MEM_FLAG_COHERENT;
627627
#endif
628628
tr_dbg(&ll_tr, "init on core %d", core);
629629

0 commit comments

Comments
 (0)