Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754000AbYAHRwR (ORCPT ); Tue, 8 Jan 2008 12:52:17 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751462AbYAHRwG (ORCPT ); Tue, 8 Jan 2008 12:52:06 -0500 Received: from pentafluge.infradead.org ([213.146.154.40]:45621 "EHLO pentafluge.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751445AbYAHRwE (ORCPT ); Tue, 8 Jan 2008 12:52:04 -0500 Date: Tue, 8 Jan 2008 17:50:54 +0000 From: Christoph Hellwig To: akepner@sgi.com Cc: Tony Luck , Grant Grundler , Jesse Barnes , Jes Sorensen , Randy Dunlap , Roland Dreier , James Bottomley , David Miller , Muli Ben-Yehuda , linux-kernel@vger.kernel.org Subject: Re: [RFC/PARTIAL PATCH 0/3] dma: passing "attributes" to dma_map_* routines Message-ID: <20080108175054.GA25168@infradead.org> References: <20080108023222.GP23661@sgi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080108023222.GP23661@sgi.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-SRS-Rewrite: SMTP reverse-path rewritten from by pentafluge.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1144 Lines: 25 On Mon, Jan 07, 2008 at 06:32:22PM -0800, akepner@sgi.com wrote: > > The following patchset allows additional "attributes" to be > passed to dma_map_*/dma_unmap_* implementations. (The reason > why this is useful/necessary has been mentioned several times, > most recently here: > http://marc.info/?l=linux-kernel&m=119258541412724&w=2.) > > This is incomplete in that only ia64 and x86_64 are supported - > the purpose is mainly to give us something specific to discuss. > > The approach here is to change the dma_map_* interface so > that the last argument is an u32 which encodes the direction > of the dma and, optionally, other attributes. Changing the > interface is a bit intrusive, but callers of dma_map_* don't > need to be modified. Onething I've missed with these patches is drivers actually using it. What driver actually needs it and why don't you send patches for them? -- 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/