+20
−6
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
It appear that flush_cache_all() (which uses the set/way ops)
doesn't affect the state of the caches of other CPUs so there is
still a risk of getting stale data from a CPU that was blissfully
unaware that a flush happened.
So far this has only been seen on ARM64 targets (8994 and 8939) and
we are optimistic that the damage is limited to those targets so
disable the full flush safety valve from the bulk cache operation
on ARM64. The downside is that the performance for flushing lots
of caches goes way way down but right now we should be far more
concerned with making sure the bits are right than we should be
with the bits going fast.
Change-Id: Ic0dedbadf099b842338c3edd953b50c4246c140c
Signed-off-by:
Jordan Crouse <jcrouse@codeaurora.org>