svn commit: r188420 - stable/7/sys/arm/arm
Olivier Houchard
cognet at FreeBSD.org
Mon Feb 9 14:21:40 PST 2009
Author: cognet
Date: Mon Feb 9 22:21:38 2009
New Revision: 188420
URL: http://svn.freebsd.org/changeset/base/188420
Log:
MFC r188112
r188112 | cognet | 2009-02-04 02:14:06 +0100 (Wed, 04 Feb 2009) | 8 lines
Erm... Report the buffer as being bounced even when it's the entire buffer,
or we would end up invalidating the cache line for what we just copied...
Modified:
stable/7/sys/arm/arm/busdma_machdep.c
Modified: stable/7/sys/arm/arm/busdma_machdep.c
==============================================================================
--- stable/7/sys/arm/arm/busdma_machdep.c Mon Feb 9 22:18:11 2009 (r188419)
+++ stable/7/sys/arm/arm/busdma_machdep.c Mon Feb 9 22:21:38 2009 (r188420)
@@ -1164,7 +1164,7 @@ _bus_dma_buf_is_in_bp(bus_dmamap_t map,
STAILQ_FOREACH(bpage, &map->bpages, links) {
if ((vm_offset_t)buf >= bpage->datavaddr &&
- (vm_offset_t)buf + len < bpage->datavaddr +
+ (vm_offset_t)buf + len <= bpage->datavaddr +
bpage->datacount)
return (1);
}
More information about the svn-src-stable-7
mailing list