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.
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to