mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
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
This commit is contained in:
parent
1d4d43c0e7
commit
98670cad72
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=300299
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user