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)
committerMark Brown <broonie@linaro.org>
Wed, 23 Jul 2014 11:55:36 +0000 (12:55 +0100)
commit83c5fe50e10a327e7f460f0c145aa65d9fa96b73
tree8b4f52c4350a51efe59584829e895d2729ec5d23
parentc4885474b72e7b4034156eb9e6868fa6f471efbf
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>
(cherry picked from commit c218bca74eeafa2f8528b6bbb34d112075fcf40a)
Signed-off-by: Mark Brown <broonie@linaro.org>
Conflicts:
arch/arm64/kernel/head.S
Documentation/arm64/booting.txt
arch/arm64/kernel/head.S
arch/arm64/mm/cache.S