Skip to content

Commit dca021b

Browse files
committed
ipc: allocate userspace context uncached
Userspace IPC context is global, allocate it uncached. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
1 parent 633fc9f commit dca021b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/ipc/ipc-common.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,8 @@ __cold static int ipc_user_init_thread(struct ipc_user *ipc_user)
668668
__cold int ipc_user_init(void)
669669
{
670670
struct ipc *ipc = ipc_get();
671-
struct ipc_user *ipc_user = sof_heap_alloc(sof_sys_user_heap_get(), SOF_MEM_FLAG_USER,
671+
struct ipc_user *ipc_user = sof_heap_alloc(sof_sys_user_heap_get(),
672+
SOF_MEM_FLAG_USER | SOF_MEM_FLAG_COHERENT,
672673
sizeof(*ipc_user), 0);
673674
int ret;
674675

0 commit comments

Comments
 (0)