sof icon indicating copy to clipboard operation
sof copied to clipboard

ipc4: invalidate host mailbox cache after IPC completion

Open lyakh opened this issue 3 years ago • 1 comments

IPC4 uses a mailbox for configuration data, received from the host, and it accesses it via a cached alias. To prevent stale cache issues cache contents is invalidated before reading data from the mailbox, but this isn't enough. When a new IPC is received the cache contents from the previous IPC can be written back over the new data before cache is invalidated. To avoid this cache has to be invalidated after IPC processing has completed.

lyakh avatar Oct 13 '22 12:10 lyakh

SOFCI TEST

miRoox avatar Oct 14 '22 08:10 miRoox

the second commit in this PR has been superseded by #6433

lyakh avatar Oct 21 '22 15:10 lyakh

@lyakh any update ?

lgirdwood avatar Oct 24 '22 11:10 lgirdwood

@lyakh any update ?

@lgirdwood let's wait with this, let's first merge the const PR, then we'll see

lyakh avatar Oct 25 '22 06:10 lyakh

the second commit in this PR has been superseded by #6433

lyakh avatar Oct 28 '22 06:10 lyakh