Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753898Ab0LQK5j (ORCPT ); Fri, 17 Dec 2010 05:57:39 -0500 Received: from caramon.arm.linux.org.uk ([78.32.30.218]:36388 "EHLO caramon.arm.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751738Ab0LQK5i (ORCPT ); Fri, 17 Dec 2010 05:57:38 -0500 Date: Fri, 17 Dec 2010 10:56:57 +0000 From: Russell King - ARM Linux To: Saravana Kannan Cc: Catalin Marinas , dwalker@codeaurora.org, linux-arm-msm@vger.kernel.org, Nicolas Pitre , linux-kernel@vger.kernel.org, Jeff Ohlstein , Tejun Heo , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] arm: dma-mapping: move consistent_init to early_initcall Message-ID: <20101217105657.GB9937@n2100.arm.linux.org.uk> References: <4CFDD297.4020600@codeaurora.org> <15d23d63900e4545a40555961c49c421.squirrel@codeaurora.org> <20101209103835.GA31465@n2100.arm.linux.org.uk> <4D017B45.4000805@codeaurora.org> <4D045692.4050607@codeaurora.org> <8c67e174d807416f0c6c190cc72d3f5a.squirrel@www.codeaurora.org> <20101217094818.GA9937@n2100.arm.linux.org.uk> <99eb693af85e07b01d81d45f1bc77f64.squirrel@www.codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <99eb693af85e07b01d81d45f1bc77f64.squirrel@www.codeaurora.org> User-Agent: Mutt/1.5.19 (2009-01-05) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 881 Lines: 18 On Fri, Dec 17, 2010 at 02:26:44AM -0800, Saravana Kannan wrote: > After Catalin's response to clarify, if we still end up not treating > secure domain as a "DMA device", then what's the alternative? Can we get > an explicit "cache invalidate API" that's outside of the DMA APIs? Or a > general uncached pages alloc/free APIs? The answer _always_ is that if the existing APIs don't give you want you need, then either the APIs need extending or a new API needs to be created. In any case, have you looked at the latest set of SCM patches? They don't make use of DMA coherent memory anymore, so the problem would seem to be resolved. -- 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/