arm64: Relax the kernel cache requirements for boot
authorCatalin Marinas <catalin.marinas@arm.com>
Wed, 26 Mar 2014 18:25:55 +0000 (18:25 +0000)
committerChanho Park <chanho61.park@samsung.com>
Wed, 16 Apr 2014 12:36:51 +0000 (21:36 +0900)
commit613666cd77fd957ed9a18e139981e552d0994ebd
treeea071531e2d0e8045dea6212f6082922492fcb2c
parent0c5d0b51439430eaa9981a5e56a09107479b620f
arm64: Relax the kernel cache requirements for boot

With system caches for the host OS or architected caches for guest OS we
cannot easily guarantee that there are no dirty or stale cache lines for
the areas of memory written by the kernel during boot with the MMU off
(therefore non-cacheable accesses).

This patch adds the necessary cache maintenance during boot and relaxes
the booting requirements.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Documentation/arm64/booting.txt
arch/arm64/kernel/head.S
arch/arm64/mm/cache.S