arm64: don't flag non-aliasing VIPT I-caches as aliasing
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 8 Aug 2014 11:51:40 +0000 (12:51 +0100)
committerWill Deacon <will.deacon@arm.com>
Mon, 8 Sep 2014 13:39:18 +0000 (14:39 +0100)
commit169c018de7b6d376f821f9fae0ab23dc5c7bb549
tree8c008b183e64a8512268405fb8fd85a74a26b932
parent80c517b0ff71a4c874fed9196fd990d2d9e911f3
arm64: don't flag non-aliasing VIPT I-caches as aliasing

VIPT caches are non-aliasing if the index is derived from address bits that
are always equal between VA and PA. Classifying these as aliasing results in
unnecessary flushing which may hurt performance.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/cpuinfo.c