Commit a205e04
committed
ipc: Fix incorrect dcache invalidate
There are few problems with the invalidate call here:
struct sof_ipc_cmd_hdr belongs to IPC3. There is no 'size' field in IPC4
payload at that offset. comp_data is zeroed on init and on IPC4 it is only
used to send responses by get_large_config. Probably get_large_config is
rarely used as, otherwise, that would result in invalidates of dcache with
weird sizes and problems at runtime.
I do not see any point to invalidate dcache here. It's definitely not
needed for IPC4. Not an expert in IPC3, however, it seems IPC3 does not
need such code either.
Signed-off-by: Serhiy Katsyuba <serhiy.katsyuba@intel.com>1 parent b2a138b commit a205e04
1 file changed
+0
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | 58 | | |
63 | 59 | | |
64 | 60 | | |
| |||
0 commit comments