Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jul 2013 21:32:57 +0000 (UTC)
From:      Olivier Houchard <cognet@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r253787 - head/sys/arm/arm
Message-ID:  <201307292132.r6TLWvdu043144@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cognet
Date: Mon Jul 29 21:32:57 2013
New Revision: 253787
URL: http://svnweb.freebsd.org/changeset/base/253787

Log:
  Remove useless cache operations.

Modified:
  head/sys/arm/arm/busdma_machdep-v6.c

Modified: head/sys/arm/arm/busdma_machdep-v6.c
==============================================================================
--- head/sys/arm/arm/busdma_machdep-v6.c	Mon Jul 29 20:58:09 2013	(r253786)
+++ head/sys/arm/arm/busdma_machdep-v6.c	Mon Jul 29 21:32:57 2013	(r253787)
@@ -1197,11 +1197,6 @@ _bus_dmamap_sync(bus_dma_tag_t dmat, bus
 		}
 
 		if (op & BUS_DMASYNC_POSTREAD) {
-			cpu_dcache_inv_range((vm_offset_t)bpage->vaddr,
-					bpage->datacount);
-			l2cache_inv_range((vm_offset_t)bpage->vaddr,
-			    (vm_offset_t)bpage->busaddr,
-			    bpage->datacount);
 			while (bpage != NULL) {
 				vm_offset_t startv;
 				vm_paddr_t startp;



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