]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ARM] 4497/1: Only allow safe cache configurations on ARMv6 and later
authorCatalin Marinas <catalin.marinas@arm.com>
Fri, 20 Jul 2007 10:42:24 +0000 (11:42 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 20 Jul 2007 20:42:35 +0000 (21:42 +0100)
commit11179d8ca28d669e3d4cc7573a5f5fdda3e6f02d
tree48ebac19f2ca133a5108d4fc779332b9e696d59a
parent2eb8c82bc492d5f185150e63eba5eac4dff24178
[ARM] 4497/1: Only allow safe cache configurations on ARMv6 and later

Currently, Linux doesn't generate correct page tables for ARMv6 and
later cores if the cache policy is different from the default one (it
may lead to strongly ordered or shared device mappings). This patch
disallows cache policies other than writeback and the
CPU_[ID]CACHE_DISABLE options only affect the CP15 system control
register rather than the page tables.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/Kconfig
arch/arm/mm/mmu.c