ANDROID: 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)
committerAmit Pundir <amit.pundir@linaro.org>
Mon, 18 Dec 2017 15:41:22 +0000 (21:11 +0530)
commite794cd5b62728861772e9d2d97e9e5f6c375c869
tree446d13f6aa11f1cf79150b9da171280ec50f8617
parent790dd7df4103c95630032e84dd98e37b18c961cd
ANDROID: 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