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)
committerCatalin Marinas <catalin.marinas@arm.com>
Sat, 5 Apr 2014 09:06:18 +0000 (10:06 +0100)
commitc218bca74eeafa2f8528b6bbb34d112075fcf40a
tree29b3e350efca77e073436df3cf78b818bf57cc34
parent35a86976924a9eda7775b5b02ad47268dca1a5b4
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