Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757274AbYKURSn (ORCPT ); Fri, 21 Nov 2008 12:18:43 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752609AbYKURSc (ORCPT ); Fri, 21 Nov 2008 12:18:32 -0500 Received: from mx3.mail.elte.hu ([157.181.1.138]:49510 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752429AbYKURSb (ORCPT ); Fri, 21 Nov 2008 12:18:31 -0500 Date: Fri, 21 Nov 2008 18:18:02 +0100 From: Ingo Molnar To: David Woodhouse Cc: Joerg Roedel , Ingo Molnar , Thomas Gleixner , netdev@vger.kernel.org, iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/10] DMA-API debugging facility Message-ID: <20081121171802.GK733@elte.hu> References: <1227284770-19215-1-git-send-email-joerg.roedel@amd.com> <1227286492.4901.208.camel@macbook.infradead.org> <20081121165722.GD1386@amd.com> <1227287215.4901.213.camel@macbook.infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1227287215.4901.213.camel@macbook.infradead.org> User-Agent: Mutt/1.5.18 (2008-05-17) X-ELTE-VirusStatus: clean X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.3 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1002 Lines: 24 * David Woodhouse wrote: > On Fri, 2008-11-21 at 17:57 +0100, Joerg Roedel wrote: > > Yes, in principle we could move most of it to generic code. There is > > nothing architecture specific in it. > > Anybody who prefers this to be arch/x86 before moving it to lib/? > > I think it's better to start off with a generic version, and test it > on more than one architecture before feeding it upstream. That way, > you know you aren't going to have to go back to the drawing board > with it. Joerg, i'd suggest to make the generic conceptual bits generic, and add an HAVE_DMA_DEBUG_SUPPORT Kconfig bool flag to every architecture that enables it. It needs active changes to every architecture that supports this facility. Ingo -- 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/