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 (01:05 +0000)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 03:00:09 +0000 (12:00 +0900)
commitaf1a9bbee5c79389039b6bc456865e2029097481
tree3ad3a0154b097a8df3dd1d728431e65b61407048
parentbbfbea1f4d16c0e66595297f5b8cb6607b33bf64
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