mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-30 12:49:36 +00:00
ARM: I-cache: Add invalidation for VIVT ASID tagged caches
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
parent
115b22474e
commit
9e95922b10
1 changed files with 6 additions and 0 deletions
|
@ -69,6 +69,9 @@ void flush_cache_range(struct vm_area_struct *vma, unsigned long start, unsigned
|
|||
: "cc");
|
||||
__flush_icache_all();
|
||||
}
|
||||
|
||||
if (vma->vm_flags & VM_EXEC && icache_is_vivt_asid_tagged())
|
||||
__flush_icache_all();
|
||||
}
|
||||
|
||||
void flush_cache_page(struct vm_area_struct *vma, unsigned long user_addr, unsigned long pfn)
|
||||
|
@ -82,6 +85,9 @@ void flush_cache_page(struct vm_area_struct *vma, unsigned long user_addr, unsig
|
|||
flush_pfn_alias(pfn, user_addr);
|
||||
__flush_icache_all();
|
||||
}
|
||||
|
||||
if (vma->vm_flags & VM_EXEC && icache_is_vivt_asid_tagged())
|
||||
__flush_icache_all();
|
||||
}
|
||||
|
||||
void flush_ptrace_access(struct vm_area_struct *vma, struct page *page,
|
||||
|
|
Loading…
Reference in a new issue