svn commit: r300299 - head/sys/arm64/arm64

Andrew Turner andrew at FreeBSD.org
Fri May 20 12:38:49 UTC 2016


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.


More information about the svn-src-all mailing list