commit | 0286885cf72931cb4244fa824811cb61c2151e07 | [log] [tgz] |
---|---|---|
author | Paul Burton <paul.burton@imgtec.com> | Wed Sep 21 11:18:59 2016 +0100 |
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | Wed Sep 21 15:04:04 2016 +0200 |
tree | 2c086874eab5ecabfe7b0aac920d8608d5fbbc72 | |
parent | ac8668a8d7666a86385a0c98c487b46cf26b9d70 [diff] |
MIPS: Ensure cache ops complete in mips_cache_reset Ensure that cache operations complete before returning from mips_cache_reset by placing a completion barrier (sync instruction) before the return. Without this there is no guarantee that the cache ops will complete before any subsequent memory accesses, since they are indexed cache ops & thus not implicitly ordered with memory accesses. Signed-off-by: Paul Burton <paul.burton@imgtec.com>