From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS,T_DKIMWL_WL_HIGH, URIBL_BLOCKED,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C5FEBC07E85 for ; Fri, 7 Dec 2018 15:34:53 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8AB1F20672 for ; Fri, 7 Dec 2018 15:34:53 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="tPgJvnRW" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8AB1F20672 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Subject:To:From :Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=MatJCmdOZZTvaxeWgHEpumUxkzXPqCyJzNMnGy6FqEI=; b=tPgJvnRWGWloi1 sm280OvApQXTlDR5hkrp0k23FeAq/0SFPxfS0R/CCIN/kzV4vkkYqaxoIAwfPjj4Jiefkr5B0Etku Nm6CGeLLTJuQGpLRSuf0Eak60+aOkj2PtpvwLGh6VTCygVuhpOt1OkcUspamZ/x2NaF/Hn4Qa2mMh pB0IaySm3BGWTbvCxSfnY+dBLft5L/iCZNG/0bIHWzVdC57BP5Liq6bgM0/+63h7fwXn8P2BrbKhb SC0cNVxnihTZ/27pit9TAqD8gNwwZU3tvgbOf96Ke9uK+14T1A8ydBm/gBzTbT4RL9s6L59ANp8xx F44l5cneV6BZ9EoTcQdA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gVI9S-0001F2-CV; Fri, 07 Dec 2018 15:34:50 +0000 Received: from verein.lst.de ([213.95.11.211] helo=newverein.lst.de) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gVI9P-0001EP-6G for linux-arm-kernel@lists.infradead.org; Fri, 07 Dec 2018 15:34:49 +0000 Received: by newverein.lst.de (Postfix, from userid 2407) id 209B568AA6; Fri, 7 Dec 2018 16:34:32 +0100 (CET) Date: Fri, 7 Dec 2018 16:34:32 +0100 From: Christoph Hellwig To: Shawn Guo , Sascha Hauer , Fabio Estevam Subject: dma_declare_coherent_memory on main memory Message-ID: <20181207153432.GA24917@lst.de> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181207_073447_376690_8D951886 X-CRM114-Status: UNSURE ( 6.22 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: iommu@lists.linux-foundation.org, linux-sh@vger.kernel.org, linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi all, the ARM imx27/31 ports and various sh boards use dma_declare_coherent_memory on main memory taken from the memblock allocator. Is there any good reason these couldn't be switched to CMA areas? Getting rid of these magic dma_declare_coherent_memory area would help making the dma allocator a lot simpler. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel