Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Oct 2013 21:41:44 +0000 (UTC)
From:      Zbigniew Bodek <zbb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r257282 - head/sys/arm/include
Message-ID:  <201310282141.r9SLfiol049496@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: zbb
Date: Mon Oct 28 21:41:44 2013
New Revision: 257282
URL: http://svnweb.freebsd.org/changeset/base/257282

Log:
  Switch off explicit broadcasting of the TLB flush operations for PJ4B CPU
  
  Since CPU_MV_PJ4B describes ARMv7 compliant CPU there is no need for
  sending an IPI each time when TLB is flushed in any way.
  
  Tested by:	kevlo

Modified:
  head/sys/arm/include/cpufunc.h

Modified: head/sys/arm/include/cpufunc.h
==============================================================================
--- head/sys/arm/include/cpufunc.h	Mon Oct 28 21:39:54 2013	(r257281)
+++ head/sys/arm/include/cpufunc.h	Mon Oct 28 21:41:44 2013	(r257282)
@@ -188,7 +188,7 @@ extern u_int cputype;
 #else
 void tlb_broadcast(int);
 
-#ifdef CPU_CORTEXA
+#if defined(CPU_CORTEXA) || defined(CPU_MV_PJ4B)
 #define TLB_BROADCAST	/* No need to explicitely send an IPI */
 #else
 #define TLB_BROADCAST	tlb_broadcast(7)



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