Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1661641imu; Sat, 8 Dec 2018 04:49:48 -0800 (PST) X-Google-Smtp-Source: AFSGD/UENJtMzJ0yrdS0TIWkkmcJyKOzhoe5ZDOIZb2eXRlU3DRvU4h0sroAGDoYURUloz0CYGrW X-Received: by 2002:a63:9d05:: with SMTP id i5mr4665934pgd.98.1544273388168; Sat, 08 Dec 2018 04:49:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544273388; cv=none; d=google.com; s=arc-20160816; b=tEOZ3jsSOG/0p91QsJrdVltcm8AbfM2yiAsMkUOp176RNdUGu0/ELAE9/ZBTVYFT4u qcHmUW1AIrC5npjl+sRBqeQ4C2uOJVwADvan/hSgPPJjNFhlb/4IcnsSsStQXdp+lYco QFkQpSQnmEQNTrT/grlqQjLtfkhFF4ZQyDesa+7LT0kNBz1AKCoFkfWJPfh5TIkt1p63 lpy5houemfA66cupgZ7QyOfInK6RXpyan1dS4yMLN83v5b1yUYULbGq8nTuexPWYqj4T Na3E1YLiY1Vwyz7AOGG8y0g7Gy3BWMVeaUGnKaKuthxGkWu2rc071VIXCI+Xs4U/BfoL LjjA== 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=WXUoe+ppZWTxo2WMXFunPJqNDv1E2L67QA3LiCz4mqQ=; b=gwXXWzeG9urFsp7UffXEpmsIhCZnKopuqP7v9Z1H3Tnz38y4XNp7ISsvchq+mqSfmx Y8LWuSrZ5foGQG8+PPl2rEY0AekeXIVzzAmdHCTx8pq4YIj+KFDYkpwDD+vlxUsxcaC2 dFbZazONjEFsVe6R0ZklT2HZenXQt6KgW+DyQ50YaCF7OJ3LufKL9MPeHheOC3Nuq+5l qR18le4r0pNi9HGewLLLJEn4OdhG7YyzAOb63TLaSMlgS1hDIvigdb1b1fgtMoez1xBY 3cxcdWgTXLIkbrQDGgxfHUk25Lr4pL2ICO2EJ6BKwm8gGpVZ1BC2GsClyr+fVwPB+n7n SIEg== 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 m142si6011412pfd.171.2018.12.08.04.49.30; Sat, 08 Dec 2018 04:49:48 -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 S1726150AbeLHMs5 (ORCPT + 99 others); Sat, 8 Dec 2018 07:48:57 -0500 Received: from gate.crashing.org ([63.228.1.57]:41836 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726124AbeLHMs4 (ORCPT ); Sat, 8 Dec 2018 07:48:56 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.14.1) with ESMTP id wAU3HgS0007716; Thu, 29 Nov 2018 21:17:44 -0600 Message-ID: <53c18168393e3134f7e4120a2528f972b1002c01.camel@kernel.crashing.org> 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: Fri, 30 Nov 2018 14:17:42 +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. So I had to cleanup some dust but it works on G5 with and without iommu and 32-bit powermacs at least. We're doing more tests, hopefully mpe can dig out some PASemi and NXP/FSL HW as well. I'll try to review & ack the patches over the next few days too. 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---