ARM: decompressor: Flush tlb before swiching domain 0 to client mode
authorArve Hjønnevåg <arve@android.com>
Sat, 1 Dec 2012 01:05:40 +0000 (17:05 -0800)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:54:08 +0000 (13:54 -0800)
commit5813f5dee4a7da1621c15351acbcaf9718582f5b
tree2392fee0b9587ff883426e422499cf4edc712507
parent69a800c96030fde6c6195dcf3547346394b50f77
ARM: decompressor: Flush tlb before swiching domain 0 to client mode

If the bootloader used a page table that is incompatible with domain 0
in client mode, and boots with the mmu on, then swithing domain 0 to
client mode causes a fault if we don't flush the tlb after updating
the page table pointer.

v2: Add ISB before loading dacr.

Signed-off-by: Arve Hjønnevåg <arve@android.com>
arch/arm/boot/compressed/head.S