@@ -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
@@ -328,7 +328,7 @@ static int userspace_proxy_add_sections(struct userspace_context *user_ctx, uint
328328
329329 mem_partition .start = mod -> segment [idx ].v_base_addr ;
330330 mem_partition .size = mod -> segment [idx ].flags .r .length * CONFIG_MM_DRV_PAGE_SIZE ;
331- mem_partition .attr |= user_get_partition_attr (mem_partition .start );
331+ mem_partition .attr |= user_get_partition_cache_attr (mem_partition .start );
332332
333333 ret = k_mem_domain_add_partition (user_ctx -> comp_dom , & mem_partition );
334334
@@ -341,7 +341,7 @@ static int userspace_proxy_add_sections(struct userspace_context *user_ctx, uint
341341
342342 lib_manager_get_instance_bss_address (instance_id , mod , & va_base , & mem_partition .size );
343343 mem_partition .start = POINTER_TO_UINT (va_base );
344- mem_partition .attr = user_get_partition_attr (mem_partition .start ) |
344+ mem_partition .attr = user_get_partition_cache_attr (mem_partition .start ) |
345345 K_MEM_PARTITION_P_RW_U_RW ;
346346 ret = k_mem_domain_add_partition (user_ctx -> comp_dom , & mem_partition );
347347
@@ -687,7 +687,7 @@ static int userspace_proxy_get_configuration(struct processing_module *mod, uint
687687 struct k_mem_partition ipc_resp_part = {
688688 .start = ipc_resp_buf ,
689689 .size = SOF_IPC_MSG_MAX_SIZE ,
690- .attr = user_get_partition_attr (ipc_resp_buf ) | K_MEM_PARTITION_P_RW_U_RW ,
690+ .attr = user_get_partition_cache_attr (ipc_resp_buf ) | K_MEM_PARTITION_P_RW_U_RW ,
691691 };
692692 int ret ;
693693
0 commit comments