Commit f72fa27
committed
fast-get: Fix shared data usage by multiple callers
fast_get() for the same data can be called by multiple clients from
the same or other cores. Since sram_ptr points to cached memory, writeback
is needed after memcpy() to also copy data to uncached memory. When
fast_get() is called a second time for the same data, invalidate() is used
to bring shared data into another core's cache.
This fixes tests which use two SRC modules.
Signed-off-by: Serhiy Katsyuba <serhiy.katsyuba@intel.com>1 parent e19293c commit f72fa27
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| 126 | + | |
126 | 127 | | |
127 | 128 | | |
128 | 129 | | |
| |||
0 commit comments