Message ID | 20190124172837.10011-1-catalin.marinas@arm.com |
---|---|
State | Accepted |
Commit | 132fdc379eb143932d209a20fd581e1ce7630960 |
Headers | show |
Series | arm64: Do not issue IPIs for user executable ptes | expand |
diff --git a/arch/arm64/mm/flush.c b/arch/arm64/mm/flush.c index 30695a868107..5c9073bace83 100644 --- a/arch/arm64/mm/flush.c +++ b/arch/arm64/mm/flush.c @@ -33,7 +33,11 @@ void sync_icache_aliases(void *kaddr, unsigned long len) __clean_dcache_area_pou(kaddr, len); __flush_icache_all(); } else { - flush_icache_range(addr, addr + len); + /* + * Don't issue kick_all_cpus_sync() after I-cache invalidation + * for user mappings. + */ + __flush_icache_range(addr, addr + len); } }