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
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to