@@ -200,7 +200,7 @@ static int userspace_proxy_invoke(struct userspace_context *user_ctx, uint32_t c
200200 struct k_mem_partition ipc_part = {
201201 .start = ipc_req_buf ,
202202 .size = MAILBOX_HOSTBOX_SIZE ,
203- .attr = user_get_partition_attr (ipc_req_buf ) | K_MEM_PARTITION_P_RO_U_RO ,
203+ .attr = user_get_partition_cache_attr (ipc_req_buf ) | K_MEM_PARTITION_P_RO_U_RO ,
204204 };
205205 int ret = 0 , ret2 ;
206206
@@ -330,7 +330,7 @@ static int userspace_proxy_add_sections(struct userspace_context *user_ctx, uint
330330
331331 mem_partition .start = mod -> segment [idx ].v_base_addr ;
332332 mem_partition .size = mod -> segment [idx ].flags .r .length * CONFIG_MM_DRV_PAGE_SIZE ;
333- mem_partition .attr |= user_get_partition_attr (mem_partition .start );
333+ mem_partition .attr |= user_get_partition_cache_attr (mem_partition .start );
334334
335335 ret = k_mem_domain_add_partition (user_ctx -> comp_dom , & mem_partition );
336336
@@ -343,7 +343,7 @@ static int userspace_proxy_add_sections(struct userspace_context *user_ctx, uint
343343
344344 lib_manager_get_instance_bss_address (instance_id , mod , & va_base , & mem_partition .size );
345345 mem_partition .start = POINTER_TO_UINT (va_base );
346- mem_partition .attr = user_get_partition_attr (mem_partition .start ) |
346+ mem_partition .attr = user_get_partition_cache_attr (mem_partition .start ) |
347347 K_MEM_PARTITION_P_RW_U_RW ;
348348 ret = k_mem_domain_add_partition (user_ctx -> comp_dom , & mem_partition );
349349
@@ -689,7 +689,7 @@ static int userspace_proxy_get_configuration(struct processing_module *mod, uint
689689 struct k_mem_partition ipc_resp_part = {
690690 .start = ipc_resp_buf ,
691691 .size = SOF_IPC_MSG_MAX_SIZE ,
692- .attr = user_get_partition_attr (ipc_resp_buf ) | K_MEM_PARTITION_P_RW_U_RW ,
692+ .attr = user_get_partition_cache_attr (ipc_resp_buf ) | K_MEM_PARTITION_P_RW_U_RW ,
693693 };
694694 int ret ;
695695
0 commit comments