ARM: execute DMB before trying to flush cache
The CPU write buffer needs to be coherent with the cache, otherwise
we might flush stale entries with the actual data stuck in the cache.

This is really important on newer CPU core with bigger write buffers.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent d92ce9b commit 7497685b05706ee521ff2b38096c878e19bfcd61
@Lucas Stach Lucas Stach authored on 1 Mar 2017
Sascha Hauer committed on 3 Mar 2017
Showing 1 changed file
View
arch/arm/cpu/cache-armv7.S