Date: Mon, 7 Jan 2013 02:38:36 +0000 (UTC) From: Oleksandr Tymoshenko <gonzo@svn.freebsd.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r245120 - head/sys/arm/arm Message-ID: <50ea352c.145b.2ae7fa05@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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();
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50ea352c.145b.2ae7fa05>