Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 May 2016 12:38:48 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r300299 - head/sys/arm64/arm64
Message-ID:  <201605201238.u4KCcmC8094785@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: andrew
Date: Fri May 20 12:38:48 2016
New Revision: 300299
URL: https://svnweb.freebsd.org/changeset/base/300299

Log:
  Filter out BUS_DMASYNC_POSTWRITE sync operations, there is nothing for us
  to do on these.
  
  Reported by:	wma
  Obtained from:	ABT Systems Ltd
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/sys/arm64/arm64/busdma_bounce.c

Modified: head/sys/arm64/arm64/busdma_bounce.c
==============================================================================
--- head/sys/arm64/arm64/busdma_bounce.c	Fri May 20 12:17:40 2016	(r300298)
+++ head/sys/arm64/arm64/busdma_bounce.c	Fri May 20 12:38:48 2016	(r300299)
@@ -955,6 +955,9 @@ bounce_bus_dmamap_sync(bus_dma_tag_t dma
 	struct sync_list *sl, *end;
 	vm_offset_t datavaddr, tempvaddr;
 
+	if (op == BUS_DMASYNC_POSTWRITE)
+		return;
+
 	if ((op & BUS_DMASYNC_POSTREAD) != 0) {
 		/*
 		 * Wait for any DMA operations to complete before the bcopy.



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