mirror of https://github.com/thesofproject/sof.git
ipc4: invalidate dcache for host mailbox
Fix a regression issue on windows. Need to invalidate dcache for host message or FW will get garbage data. Signed-off-by: Rander Wang <rander.wang@intel.com>
This commit is contained in:
parent
5cf5e32a40
commit
8f78c7ecd6
|
@ -774,6 +774,7 @@ static int ipc4_module_process_dx(union ipc4_message_header *ipc4)
|
|||
return IPC4_INVALID_RESOURCE_ID;
|
||||
}
|
||||
|
||||
dcache_invalidate_region((void *)(MAILBOX_HOSTBOX_BASE), sizeof(dx_info));
|
||||
memcpy_s(&dx_info, sizeof(dx_info), (const void *)MAILBOX_HOSTBOX_BASE, sizeof(dx_info));
|
||||
|
||||
/* check if core enable mask is valid */
|
||||
|
|
Loading…
Reference in New Issue