svn commit: r309727 - stable/11/sys/powerpc/include

Justin Hibbits jhibbits at FreeBSD.org
Fri Dec 9 04:35:08 UTC 2016


Author: jhibbits
Date: Fri Dec  9 04:35:07 2016
New Revision: 309727
URL: https://svnweb.freebsd.org/changeset/base/309727

Log:
  MFC r309167:
  
    Add an isync to after mtsrin, required by the MPC750 errata

Modified:
  stable/11/sys/powerpc/include/cpufunc.h
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/powerpc/include/cpufunc.h
==============================================================================
--- stable/11/sys/powerpc/include/cpufunc.h	Fri Dec  9 03:16:36 2016	(r309726)
+++ stable/11/sys/powerpc/include/cpufunc.h	Fri Dec  9 04:35:07 2016	(r309727)
@@ -82,7 +82,7 @@ static __inline void
 mtsrin(vm_offset_t va, register_t value)
 {
 
-	__asm __volatile ("mtsrin %0,%1" :: "r"(value), "r"(va));
+	__asm __volatile ("mtsrin %0,%1; isync" :: "r"(value), "r"(va));
 }
 
 static __inline register_t


More information about the svn-src-all mailing list