提交 f81a3487 编写于 作者: M Mark Rutland 提交者: Will Deacon

arm64: mm: cleanup stale AIVIVT references

Since commit:

  155433cb ("arm64: cache: Remove support for ASID-tagged VIVT I-caches")

... the kernel no longer cares about AIVIVT I-caches, as these were
removed from the architecture.

This patch removes the stale references to such I-caches.

The comment in flush_context() is also updated to clarify when and where
the TLB invalidation occurs.
Signed-off-by: NMark Rutland <mark.rutland@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: NWill Deacon <will.deacon@arm.com>
上级 4fbd8d19
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
* *
* See Documentation/cachetlb.txt for more information. Please note that * See Documentation/cachetlb.txt for more information. Please note that
* the implementation assumes non-aliasing VIPT D-cache and (aliasing) * the implementation assumes non-aliasing VIPT D-cache and (aliasing)
* VIPT or ASID-tagged VIVT I-cache. * VIPT I-cache.
* *
* flush_cache_mm(mm) * flush_cache_mm(mm)
* *
......
...@@ -117,7 +117,10 @@ static void flush_context(unsigned int cpu) ...@@ -117,7 +117,10 @@ static void flush_context(unsigned int cpu)
per_cpu(reserved_asids, i) = asid; per_cpu(reserved_asids, i) = asid;
} }
/* Queue a TLB invalidate and flush the I-cache if necessary. */ /*
* Queue a TLB invalidation for each CPU to perform on next
* context-switch
*/
cpumask_setall(&tlb_flush_pending); cpumask_setall(&tlb_flush_pending);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册