commit | 5accfc989874f2241843bdeced547275a97982f6 | [log] [tgz] |
---|---|---|
author | Alexey Brodkin <abrodkin@synopsys.com> | Wed Jun 08 08:04:03 2016 +0300 |
committer | Alexey Brodkin <abrodkin@synopsys.com> | Mon Jun 13 14:38:05 2016 +0200 |
tree | 0195cdd23b61125ac21e0bdbb3fbeaea75794da3 | |
parent | e344c1f275ed860c50000f7420187c818be26257 [diff] |
arc/cache: Flush & invalidate all caches right before enabling IOC According to ARC HS databook it is required to flush and disable caches prior programming IOC registers. Otherwise ongoing coherent memory operations may not observe the coherency protocols as expected. But since in ARC HS v2.1 there's no way to disable SLC (AKA L2 cache) we're doing our best flushing and invalidating it. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>