ARM: 7436/1: Do not map the vectors page as write-through on UP systems
authorCatalin Marinas <catalin.marinas@arm.com>
Mon, 25 Jun 2012 13:59:38 +0000 (14:59 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 9 Jul 2012 16:39:38 +0000 (17:39 +0100)
commit9ad86ddde0345e903eb74837e52cf19fe0c7f825
tree15d6bbaa38a0c7e4b55b4ee65edfa465e876efb4
parent02df19b4227e5b799e4642e88b568f9474fa78d0
ARM: 7436/1: Do not map the vectors page as write-through on UP systems

The vectors page has been traditionally mapped as WT on UP systems but
this creates a mismatched alias with the directly mapped RAM that is
using WB attributes. On newer processors like Cortex-A15 this has
implications on the data/instructions coherency at the point of
unification (usually L2).

This patch removes such restriction.

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