ARMv7: Add extra barriers for flush_cache_all compressed/head.S
commitc30c2f99e10b6a810dae9a25b35c6d48796d8ffb
authorCatalin Marinas <catalin.marinas@arm.com>
Thu, 6 Nov 2008 13:23:07 +0000 (6 13:23 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 6 Nov 2008 13:23:07 +0000 (6 13:23 +0000)
treeba62c6796e789fc5dfcb16ec8cddb2f1c89203b8
parent2bedbdf4148ebbe48c7a89449ab52e475a788f42
ARMv7: Add extra barriers for flush_cache_all compressed/head.S

The flush_cache_all function on ARMv7 is implemented as a series of
cache operations by set/way. These are not guaranteed to be ordered with
previous memory accesses, requiring a DMB. This patch also adds barriers
for the TLB operations in compressed/head.S

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm/boot/compressed/head.S
arch/arm/mm/cache-v7.S