From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from az33egw01.freescale.net (az33egw01.freescale.net [192.88.158.102]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "az33egw01.freescale.net", Issuer "Thawte Premium Server CA" (verified OK)) by ozlabs.org (Postfix) with ESMTP id 521F4DE38A for ; Tue, 17 Jul 2007 02:09:18 +1000 (EST) Message-ID: <469B9825.6070507@freescale.com> Date: Mon, 16 Jul 2007 11:09:09 -0500 From: Scott Wood MIME-Version: 1.0 To: Siva Prasad Subject: Re: Linuxppc-embedded Digest, Vol 35, Issue 33 References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Cc: sureshtang@gmail.com, linuxppc-embedded@ozlabs.org List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Siva Prasad wrote: > It returns kernel virtual address. If you use this buffer space for DMA, > please use appropriate flags. You may use __pa(address) or > virt_to_phys() to convert virtual to physical. No, you may not -- physical and DMA addresses are not always identical. Use the DMA mapping API. -Scott