Commit 9008a32
committed
ARCv2: Disable SLC if IO coherency unit is absent
Without IO coherency unit for DMA to/from peripherals to work properly
it is required to flush/invalidate SLC in kernel "manually". That will
introduce performance overhead and so SLC existance won't be very
beneficial.
So we simply disable SLC if IOC is missing and then at least we have DMA
exchange without data corruption.
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>1 parent 14b7f71 commit 9008a32
2 files changed
+14
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
110 | 111 | | |
111 | 112 | | |
112 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
113 | 117 | | |
114 | 118 | | |
115 | 119 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
230 | 240 | | |
231 | 241 | | |
232 | 242 | | |
| |||
0 commit comments