summaryrefslogtreecommitdiff
path: root/arch/arm64/mm/flush.c
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2017-03-10 23:32:22 +0300
committerCatalin Marinas <catalin.marinas@arm.com>2017-03-20 19:16:57 +0300
commit155433cb365ee4666bdf7c3c7bc2978b17be36a4 (patch)
tree43668ce6b2cfffb1327fe5c1054ddc228a108f1a /arch/arm64/mm/flush.c
parenta8d4636f96ad075dc6d6af182b3de0b5498dc301 (diff)
downloadlinux-155433cb365ee4666bdf7c3c7bc2978b17be36a4.tar.xz
arm64: cache: Remove support for ASID-tagged VIVT I-caches
As a recent change to ARMv8, ASID-tagged VIVT I-caches are removed retrospectively from the architecture. Consequently, we don't need to support them in Linux either. Acked-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/mm/flush.c')
-rw-r--r--arch/arm64/mm/flush.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm64/mm/flush.c b/arch/arm64/mm/flush.c
index 554a2558c12e..1e968222a544 100644
--- a/arch/arm64/mm/flush.c
+++ b/arch/arm64/mm/flush.c
@@ -65,8 +65,6 @@ void __sync_icache_dcache(pte_t pte, unsigned long addr)
if (!test_and_set_bit(PG_dcache_clean, &page->flags))
sync_icache_aliases(page_address(page),
PAGE_SIZE << compound_order(page));
- else if (icache_is_aivivt())
- __flush_icache_all();
}
/*