]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: 7062/1: cache: detect PIPT I-cache using CTR
authorWill Deacon <will.deacon@arm.com>
Tue, 23 Aug 2011 21:22:11 +0000 (22:22 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 22 Sep 2011 21:02:55 +0000 (22:02 +0100)
commitab6afa2ca5254aa70fab629583d58700ac7d035e
tree37d57ac05eb49e10ea1c14c417c143873104b4c8
parent77821af41a738b89ff05159cf00efc37c9c79a8f
ARM: 7062/1: cache: detect PIPT I-cache using CTR

The Cache Type Register L1Ip field identifies I-caches with a PIPT
policy using the encoding 11b.

This patch extends the cache policy parsing to identify PIPT I-caches
correctly and prevent them from being treated as VIPT aliasing in cases
where they are sufficiently large.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/cachetype.h
arch/arm/kernel/setup.c