Author: gonzo
Date: Mon Jan  7 02:38:36 2013
New Revision: 245120
URL: http://svnweb.freebsd.org/changeset/base/245120

Log:
  Release version check for erratum 727915 workaround in
  l2_wbinv_range function implementation causes function
  fail to flush caches for chip with RTL number 0x7. I failed
  to find official PL310 revision with this RTL number
  so further research on this matter required.

Modified:
  head/sys/arm/arm/pl310.c

Modified: head/sys/arm/arm/pl310.c
==============================================================================
--- head/sys/arm/arm/pl310.c    Mon Jan  7 00:49:29 2013        (r245119)
+++ head/sys/arm/arm/pl310.c    Mon Jan  7 02:38:36 2013        (r245120)
@@ -187,9 +187,7 @@ pl310_wbinv_range(vm_paddr_t start, vm_s
 
 
 #ifdef PL310_ERRATA_727915
-       if (pl310_softc->sc_rtl_revision == CACHE_ID_RELEASE_r2p0 ||
-           pl310_softc->sc_rtl_revision == CACHE_ID_RELEASE_r3p0)
-               platform_pl310_write_debug(pl310_softc, 3);
+       platform_pl310_write_debug(pl310_softc, 3);
 #endif
        while (size > 0) {
 #ifdef PL310_ERRATA_588369
@@ -210,9 +208,7 @@ pl310_wbinv_range(vm_paddr_t start, vm_s
                size -= g_l2cache_line_size;
        }
 #ifdef PL310_ERRATA_727915
-       if (pl310_softc->sc_rtl_revision == CACHE_ID_RELEASE_r2p0 ||
-           pl310_softc->sc_rtl_revision == CACHE_ID_RELEASE_r3p0)
-               platform_pl310_write_debug(pl310_softc, 0);
+       platform_pl310_write_debug(pl310_softc, 0);
 #endif
 
        pl310_cache_sync();
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to