From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Wed, 27 Aug 2008 11:39:07 +0100 (BST) Received: from ditditdahdahdah-dahditditditdit.dl5rb.org.uk ([217.169.26.26]:22444 "EHLO ditditdahdahdah-dahdahdahditdit.dl5rb.org.uk") by ftp.linux-mips.org with ESMTP id S20025455AbYH0KjF (ORCPT ); Wed, 27 Aug 2008 11:39:05 +0100 Received: from denk.linux-mips.net (denk.linux-mips.net [127.0.0.1]) by ditditdahdahdah-dahdahdahditdit.dl5rb.org.uk (8.14.2/8.14.1) with ESMTP id m7RAd0Qq019975; Wed, 27 Aug 2008 11:39:01 +0100 Received: (from ralf@localhost) by denk.linux-mips.net (8.14.2/8.14.2/Submit) id m7RAcwRp019970; Wed, 27 Aug 2008 11:38:58 +0100 Date: Wed, 27 Aug 2008 11:38:58 +0100 From: Ralf Baechle To: Takashi Iwai Cc: Grant Grundler , Joel Soete , "James.Bottomley" , linux-mips , linux-parisc Subject: Re: [PATCH] mips: Add dma_mmap_coherent() Message-ID: <20080827103858.GA26940@linux-mips.org> References: <48B0678E.9010208@scarlet.be> <20080826210118.GA26235@colo.lackof.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 20374 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: ralf@linux-mips.org Precedence: bulk X-list: linux-mips On Wed, Aug 27, 2008 at 07:42:06AM +0200, Takashi Iwai wrote: > Right now it has to be a compile-time option because > - dma_mmap_coherent() isn't implemented in every architecture (thus > fails to build), and > - pages allocated via dma_mmap_coherent() aren't always suitable for > SG-mapping. I suggest you take this issue to linux-arch or linux-kernel. There will be some more people who will have input on this. Ralf