ARM: cache: detect VIPT aliasing I-cache on ARMv6
authorWill Deacon <will.deacon@arm.com>
Wed, 3 Aug 2011 11:37:04 +0000 (12:37 +0100)
committerJason Kridner <jdk@ti.com>
Sat, 17 Sep 2011 13:14:30 +0000 (09:14 -0400)
commitceedb6d248ab1eb9a585aa11372bbfb2c0cf3870
tree7cab6277f338b71376ec60830b7228d7be7ff369
parentff1850753ab6baf9ddf82bf153ef2c742b2dcf98
ARM: cache: detect VIPT aliasing I-cache on ARMv6

The current cache detection code does not check for an aliasing
I-cache if the D-cache is found to be VIPT aliasing.

This patch fixes the problem by always checking for an aliasing
I-cache on v6 and later.

Signed-off-by: Will Deacon <will.deacon@arm.com>
(cherry picked from commit 72dc53acd50db066a5a5ebe1f39fae73d7e62aa8)
arch/arm/kernel/setup.c