Switch to fully flushing the data cache.
PSCI says the caches should be clean and invalidated at the entry point
so that is what we should do. Shared memory should also be flushed to
reduce the chance of coherency issues in the VMs.
Change-Id: I99c1f1fa7b44d290dc81e7d5496f4f90192c08c5
diff --git a/src/api.c b/src/api.c
index 1fed670..f4ec664 100644
--- a/src/api.c
+++ b/src/api.c
@@ -1382,7 +1382,7 @@
}
memset_s(ptr, size, 0, size);
- arch_mm_write_back_dcache(ptr, size);
+ arch_mm_flush_dcache(ptr, size);
mm_unmap(stage1_locked, begin, end, ppool);
ret = true;