Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp449631imu; Thu, 8 Nov 2018 23:54:38 -0800 (PST) X-Google-Smtp-Source: AJdET5cxGSJAVhAu7FhzWX2zDueC/VPYTmMKmjiHKA7opoN8AfdA5o+ERvY6gBTO8fc6NrPvQoiw X-Received: by 2002:a17:902:7d98:: with SMTP id a24-v6mr7899867plm.271.1541750078209; Thu, 08 Nov 2018 23:54:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541750078; cv=none; d=google.com; s=arc-20160816; b=zhPssYFMpJBvC37iBos+AMUq5XpeEGmh2yo+KVTD/w0GD5POpzE1aBGjuKo1I5hnOJ fcGRLE8dpIxPh/iq057ARtNo71Zx1RUCYXYBK7jaZ1mNTpWt8Atd0QfIe01kiPunmoJe DxvhAu7nCqWtuJrJLaY5nqSz8A6PKYgSXttNdIucq5QHV6dW3zsHwnwjy8XtKpLI0rJu hck3LhWvCU2dfXP3OnGSmUVNrBiAnPk+Ip5rZLt7tMev7FmUtEhu563vONGQ0dCDmLy2 EYlfHPFWl7Se4avGv0Bqvmr8vOzjp62O3NEvOXQz9w2fE3lIYEOjJboTa7q247nMSOA2 blhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=EGd1xTG4mVr88ee3FhIPrcqS5u7Sve7vouVS9Er4roI=; b=qzonjD6V6aP3l5EyIoMwItQQH5/5frvk3tbiq1sqmL5mJyvhwGJ7cSY5SWwrTU8nGH LoPIr4nkDqCyhioUKPgiQFZ1mX5zoxbjytOznX90Vm4XPPYt5wu+2hRaTCPp9TnjoiVo 7pUsvHCqndwrrKuZHNHo0aOiJucOk0tyj4+11dS5BGMUWNxvtjy0hCk0fik50APXaBLx g9Paw3DkoqkIR1Qr2KPbm1U+RLIwuyFUiQJFj4zw0UdVeXYz/kucef9R3EmgHzndjNsk xkSfgS37F97r/gwuXi3VeRnv26I2d4yL3vHgIaSGExvkGmeu6hO923IpXz+SKAq9Yipp 4sEQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gn20si2469869plb.273.2018.11.08.23.54.22; Thu, 08 Nov 2018 23:54:38 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728336AbeKIRcC (ORCPT + 99 others); Fri, 9 Nov 2018 12:32:02 -0500 Received: from verein.lst.de ([213.95.11.211]:60409 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727962AbeKIRcC (ORCPT ); Fri, 9 Nov 2018 12:32:02 -0500 Received: by newverein.lst.de (Postfix, from userid 2407) id 9897468C48; Fri, 9 Nov 2018 08:52:38 +0100 (CET) Date: Fri, 9 Nov 2018 08:52:38 +0100 From: Christoph Hellwig To: iommu@lists.linux-foundation.org Cc: Catalin Marinas , Will Deacon , linux-kernel@vger.kernel.org, Guo Ren , Laura Abbott , Robin Murphy , linux-arm-kernel@lists.infradead.org Subject: Re: move the arm arch_dma_alloc implementation to common code Message-ID: <20181109075238.GA27578@lst.de> References: <20181105121931.13481-1-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181105121931.13481-1-hch@lst.de> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Can I get a quick review from the arm64 folks? I think it should be fine there as it basically is a code move, but an additional pair or two of eyes always helps to weed out bugs. On Mon, Nov 05, 2018 at 01:19:22PM +0100, Christoph Hellwig wrote: > Hi all, > > this series moves the existing arm64 implementation of arch_dma_alloc and > arch_dma_free to common code given that it is not arm64-specific, and > then also uses it for csky. Given how many architectures remap memory > for the DMA coherent implementation it should be usable for many more, > and the new cache flushing hook and the generic atomic pool are also > enablers for implementing the IOMMU API dma ops in common code in a > follow on series. > _______________________________________________ > iommu mailing list > iommu@lists.linux-foundation.org > https://lists.linuxfoundation.org/mailman/listinfo/iommu ---end quoted text---