NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/42980 CVS commit: [netbsd-5] src/sys/arch

The following reply was made to PR port-amd64/42980; it has been noted by GNATS.

From: "Jeff Rizzo" <>
Subject: PR/42980 CVS commit: [netbsd-5] src/sys/arch
Date: Fri, 19 Nov 2010 23:19:13 +0000

 Module Name:   src
 Committed By:  riz
 Date:          Fri Nov 19 23:19:13 UTC 2010
 Modified Files:
        src/sys/arch/x86/x86 [netbsd-5]: bus_dma.c
        src/sys/arch/xen/x86 [netbsd-5]: xen_bus_dma.c
 Log Message:
 Pull up following revision(s) (requested by bouyer in ticket #1348):
        sys/arch/x86/x86/bus_dma.c: revision 1.54
        sys/arch/xen/x86/xen_bus_dma.c: revision 1.21
 bus_dmamem_alloc() may not get a boundary smaller than size, but
 it's perfectly valid for bus_dmamap_create() to do so (a contigous
 transfers will then split in multiple segment).
 Fix _xen_bus_dmamem_alloc_range() and _bus_dmamem_alloc_range() to
 allow a boundary limit smaller than size:
 - compute appropriate boundary for uvm_pglistalloc(), wich doesn't
   accept boundary < size
 - also take care of boundary when deciding to start a new segment.
 While there, remove useless boundary argument to _xen_alloc_contig().
 Fix the boundary-related issue of PR port-amd64/42980
 To generate a diff of this commit:
 cvs rdiff -u -r1.45 -r1.45.6.1 src/sys/arch/x86/x86/bus_dma.c
 cvs rdiff -u -r1.11.8.2 -r1.11.8.3 src/sys/arch/xen/x86/xen_bus_dma.c
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index