Date: Tue, 27 Nov 2007 17:50:02 GMT From: dfilter@FreeBSD.org (dfilter service) To: freebsd-alpha@FreeBSD.org Subject: Re: alpha/75317: commit references a PR Message-ID: <200711271750.lARHo2GQ019460@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR alpha/75317; it has been noted by GNATS.
From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:
Subject: Re: alpha/75317: commit references a PR
Date: Tue, 27 Nov 2007 17:43:56 +0000 (UTC)
jhb 2007-11-27 17:43:50 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
sys/alpha/alpha busdma_machdep.c
Log:
Cleanup the alpha bus dma code a bit and sync it up with i386. Changes
include:
- Honor alignment and boundary restrictions on DMA tags by using bounce
pages for misaligned buffers and not coalescing pages if the resulting
segment would cross a boundary.
- Teach the _bus_dmamap_load_buffer() helper function to use bounce pages
when needed and change bus_dmamap_load() to use the helper function
instead of largely duplicating it. As a side effect, this enables bounce
page support for the other load routines (load_mbuf(), load_mbuf_sg(),
and load_uio()).
Honoring the boundary restrictions partially helps with the Alpha ATA DMA
problem. More work is needed for that however (and forthcoming).
PR: alpha/75317
Tested by: wilko
Approved by: re (kensmith)
Revision Changes Path
1.51.2.2 +155 -158 src/sys/alpha/alpha/busdma_machdep.c
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200711271750.lARHo2GQ019460>
