Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754946Ab0BOLEA (ORCPT ); Mon, 15 Feb 2010 06:04:00 -0500 Received: from bu3sch.de ([62.75.166.246]:42075 "EHLO vs166246.vserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754246Ab0BOLD7 (ORCPT ); Mon, 15 Feb 2010 06:03:59 -0500 From: Michael Buesch To: FUJITA Tomonori Subject: Re: [PATCH -mm] ssb: open-code dma_alloc_coherent Date: Mon, 15 Feb 2010 12:03:41 +0100 User-Agent: KMail/1.9.9 Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, davem@davemloft.net, stefano.brivio@polimi.it, Larry.Finger@lwfinger.net, akpm@linux-foundation.org References: <20100215142111R.fujita.tomonori@lab.ntt.co.jp> In-Reply-To: <20100215142111R.fujita.tomonori@lab.ntt.co.jp> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201002151203.42805.mb@bu3sch.de> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1036 Lines: 22 On Monday 15 February 2010 06:21:58 FUJITA Tomonori wrote: > This patch is against -mm since it depends on the DMA API changes in I appreciate your efforts to remove bus-specific APIs. However, always keep in mind that a SSB bus might be running on a system where there's no PCI bus at all. In the past we used the generic dma_... API for DMA operations on all SSB devices. This worked 99.9% of the time. _But_ it broke in really obscure cases where the architecture implementations _slightly_ differed between the generic dma and the pci variants. So, I'm all for it. But simply keep in mind that this has to run on lots of architectures (i386, x86_64, ppc, MIPS, probably more) and it has to run on machines without a PCI bus (where SSB is the main system bus). -- Greetings, Michael. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/