From owner-cvs-src@FreeBSD.ORG Wed Mar 1 23:20:51 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F324716A420; Wed, 1 Mar 2006 23:20:50 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7CB4543D4C; Wed, 1 Mar 2006 23:20:50 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.11] (junior.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id k21NKnc4065801; Wed, 1 Mar 2006 16:20:49 -0700 (MST) (envelope-from scottl@samsco.org) Message-ID: <44062C54.2080801@samsco.org> Date: Wed, 01 Mar 2006 16:20:52 -0700 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20051230 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Olivier Houchard References: <200603012304.k21N4Psn076859@repoman.freebsd.org> In-Reply-To: <200603012304.k21N4Psn076859@repoman.freebsd.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on pooker.samsco.org Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/arm/arm busdma_machdep.c pmap.c vm_machdep.c src/sys/arm/include pmap.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Mar 2006 23:20:51 -0000 Olivier Houchard wrote: > cognet 2006-03-01 23:04:25 UTC > > FreeBSD src repository > > Modified files: > sys/arm/arm busdma_machdep.c pmap.c vm_machdep.c > sys/arm/include pmap.h > Log: > Try to honor BUS_DMA_COHERENT : if the flag is set, normally allocate memory > with malloc() or contigmalloc() as usual, but try to re-map the allocated > memory into a VA outside the KVA, non-cached, thus making the calls to > bus_dmamap_sync() for these buffers useless. > > Revision Changes Path > 1.25 +25 -0 src/sys/arm/arm/busdma_machdep.c > 1.42 +11 -1 src/sys/arm/arm/pmap.c > 1.22 +59 -1 src/sys/arm/arm/vm_machdep.c > 1.15 +7 -0 src/sys/arm/include/pmap.h Cool. Would you be interested in updating the manual page when you're done to note that the flag actually works on arm? Scott