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)
committerWill Deacon <will.deacon@arm.com>
Fri, 12 Aug 2011 14:41:15 +0000 (15:41 +0100)
commit72dc53acd50db066a5a5ebe1f39fae73d7e62aa8
treecbdc3bdbd0802992d6f4db26ffa4a5a61354226d
parentdfc40b24c0a37593724f3317cd485c73ee878c18
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>
arch/arm/kernel/setup.c