svn commit: r343875 - head/sys/arm64/arm64

Andrew Turner andrew at FreeBSD.org
Thu Feb 7 20:50:40 UTC 2019


Author: andrew
Date: Thu Feb  7 20:50:39 2019
New Revision: 343875
URL: https://svnweb.freebsd.org/changeset/base/343875

Log:
  Add a missing data barrier to the start of arm64_tlb_flushID.
  
  We need to ensure the page table store has happened before the tlbi.
  
  Reported by:	jchandra
  Tested by:	jchandra
  Sponsored by:	DARPA, AFRL
  Differential Revision:	https://reviews.freebsd.org/D19097

Modified:
  head/sys/arm64/arm64/cpufunc_asm.S

Modified: head/sys/arm64/arm64/cpufunc_asm.S
==============================================================================
--- head/sys/arm64/arm64/cpufunc_asm.S	Thu Feb  7 18:54:25 2019	(r343874)
+++ head/sys/arm64/arm64/cpufunc_asm.S	Thu Feb  7 20:50:39 2019	(r343875)
@@ -96,6 +96,7 @@ ENTRY(arm64_setttb)
 END(arm64_setttb)
 
 ENTRY(arm64_tlb_flushID)
+	dsb	ishst
 #ifdef SMP
 	tlbi	vmalle1is
 #else


More information about the svn-src-head mailing list