Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1612330imu; Sat, 8 Dec 2018 03:45:22 -0800 (PST) X-Google-Smtp-Source: AFSGD/VY/2VtfJnHSFgJUZkr5RT9HSGKjuzKsQGlXMxwL4KzwBvkz4OZkxRmIO17qs0/6WyUpRdM X-Received: by 2002:a17:902:108a:: with SMTP id c10mr5529984pla.131.1544269522292; Sat, 08 Dec 2018 03:45:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544269522; cv=none; d=google.com; s=arc-20160816; b=uzKkCAAOUoQQgmYeG/ziw9SmLizhM5qOh2bm9NT5RmSh0SogRgXWaJLJjpk+TCk8Y6 sFGjRzotdBTZUhXtKRvG6Mn+EE2djczYj6qj98zhdtHv/Cw2pWQ4YPiFq0jvfI+DxBv/ TYMueSGWqS8HG3+e/JxFhNjM+0lkDUjD2tBSj1TE9UMErJKqouYIXk9sx8qjfNA3f7lM MTJvgGpT7tfpJLWEbvz7RLylBDIsmPYbcom0ljmum8JKfGqonqeS7fsRcI4qa30pyM35 CqERxy4mgeMMSWseRoNRtp1Zj9H276C4Ebft1ugpHkHZ+cVQI29nupth7Kv/Vgt/z4In GZzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=o5u3V3jsxS748UTaOfigy2PY4Net5FeEpnqVQ3H3Bzs=; b=Bge88K6UqGh9/7sox5AosEI7BvFJyuFmg6/dmohj4McRTc62ITzbIixekhNXtCx0Pl qzPxx2benAZ2uv8oykXsqdciV5bvFpy+30vZFzrfCeDLNH1P/lh5Ic9rgygBydofUjlV 6q/6kbgZ4TaEubLcz++eHgokQABfWjPXvcdPfjjxW7q1KL8OsVs6AA19W9g7sGiG85vK qE7SF5dP90xIhT5h0IuMwflr9KIsbiVHmoeR2O723iKwhzw1TWNsnHrGCzwlwT7du7Bx kwUWgPLHYGP2HSbInnEo9ZmbV2FbBWjL/Mfqo0LqDwXUCK/LR6Z5ON05BI6Dqt9bijH3 z5gQ== 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 d12si5413833pln.340.2018.12.08.03.44.55; Sat, 08 Dec 2018 03:45:22 -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 S1726143AbeLHLoC (ORCPT + 99 others); Sat, 8 Dec 2018 06:44:02 -0500 Received: from gate.crashing.org ([63.228.1.57]:55910 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726111AbeLHLoB (ORCPT ); Sat, 8 Dec 2018 06:44:01 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.14.1) with ESMTP id wARM5brv005125; Tue, 27 Nov 2018 16:05:43 -0600 Message-ID: Subject: Re: use generic DMA mapping code in powerpc V4 From: Benjamin Herrenschmidt To: Christoph Hellwig , Paul Mackerras , Michael Ellerman Cc: linux-arch@vger.kernel.org, linux-mm@kvack.org, iommu@lists.linux-foundation.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Date: Wed, 28 Nov 2018 09:05:37 +1100 In-Reply-To: <20181127074253.GB30186@lst.de> References: <20181114082314.8965-1-hch@lst.de> <20181127074253.GB30186@lst.de> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.2 (3.30.2-2.fc29) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2018-11-27 at 08:42 +0100, Christoph Hellwig wrote: > Any comments? I'd like to at least get the ball moving on the easy > bits. I completely missed your posting of V4 ! I was wondering what was taking you so long :) I'll give it a spin & send acks over the next 2 or 3 days. Cheers, Ben. > On Wed, Nov 14, 2018 at 09:22:40AM +0100, Christoph Hellwig wrote: > > Hi all, > > > > this series switches the powerpc port to use the generic swiotlb and > > noncoherent dma ops, and to use more generic code for the coherent > > direct mapping, as well as removing a lot of dead code. > > > > As this series is very large and depends on the dma-mapping tree I've > > also published a git tree: > > > > git://git.infradead.org/users/hch/misc.git powerpc-dma.4 > > > > Gitweb: > > > > http://git.infradead.org/users/hch/misc.git/shortlog/refs/heads/powerpc-dma.4 > > > > Changes since v3: > > - rebase on the powerpc fixes tree > > - add a new patch to actually make the baseline amigaone config > > configure without warnings > > - only use ZONE_DMA for 64-bit embedded CPUs, on pseries an IOMMU is > > always present > > - fix compile in mem.c for one configuration > > - drop the full npu removal for now, will be resent separately > > - a few git bisection fixes > > > > The changes since v1 are to big to list and v2 was not posted in public. > > > > _______________________________________________ > > iommu mailing list > > iommu@lists.linux-foundation.org > > https://lists.linuxfoundation.org/mailman/listinfo/iommu > ---end quoted text---