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:
Rander Wang 2022-03-01 13:42:28 +08:00 committed by Liam Girdwood
parent 5cf5e32a40
commit 8f78c7ecd6
1 changed files with 1 additions and 0 deletions

View File

@ -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 */