diff options
author | andrew <andrew@FreeBSD.org> | 2016-05-20 12:38:48 +0000 |
---|---|---|
committer | andrew <andrew@FreeBSD.org> | 2016-05-20 12:38:48 +0000 |
commit | bddd81e0129cac97cbc5e77260b82ab67ac0b91f (patch) | |
tree | 853ccb6fb3a8721af6b29e3d64696500e93d6dcc /sys/arm64 | |
parent | 78161c3462d3f1718c80a6776713c71d97fc950c (diff) | |
download | FreeBSD-src-bddd81e0129cac97cbc5e77260b82ab67ac0b91f.zip FreeBSD-src-bddd81e0129cac97cbc5e77260b82ab67ac0b91f.tar.gz |
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
Diffstat (limited to 'sys/arm64')
-rw-r--r-- | sys/arm64/arm64/busdma_bounce.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/arm64/arm64/busdma_bounce.c b/sys/arm64/arm64/busdma_bounce.c index 71a18dc..7166ebf 100644 --- a/sys/arm64/arm64/busdma_bounce.c +++ b/sys/arm64/arm64/busdma_bounce.c @@ -955,6 +955,9 @@ bounce_bus_dmamap_sync(bus_dma_tag_t dmat, bus_dmamap_t map, 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. |