Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Feb 2019 20:50:40 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r343875 - head/sys/arm64/arm64
Message-ID:  <201902072050.x17Koeod056178@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902072050.x17Koeod056178>