Thread (21 messages) read the whole thread 21 messages, 2 authors, 2020-06-01

Re: [PATCH v2 3/6] arm64: Add tlbi_user_level TLB invalidation helper

From: Catalin Marinas <catalin.marinas@arm.com>
Date: 2020-05-22 15:49:38
Also in: linux-arch, linux-mm, lkml

On Thu, Apr 23, 2020 at 09:56:53PM +0800, Zhenyu Ye wrote:
quoted hunk ↗ jump to hunk
@@ -190,8 +196,8 @@ static inline void flush_tlb_page_nosync(struct vm_area_struct *vma,
 	unsigned long addr = __TLBI_VADDR(uaddr, ASID(vma->vm_mm));
 
 	dsb(ishst);
-	__tlbi(vale1is, addr);
-	__tlbi_user(vale1is, addr);
+	__tlbi_level(vale1is, addr, 0);
+	__tlbi_user_level(vale1is, addr, 0);
 }
This one remains with a level 0 throughout the series. Is this
intentional? If we can't guarantee the level here, better to use the
non-level __tlbi().

-- 
Catalin

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help