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)
committerArve Hjønnevåg <arve@android.com>
Mon, 1 Jul 2013 22:51:53 +0000 (15:51 -0700)
commit6c6f573eb2aa67ccd56a22fb55953364c644b7cf
treea14e7a38fa1b80d71e812aba37be8ae3387bb6dd
parent4ee50207d6c722da637bb6cd22de0cf8a9f3f365
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