Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1002135imu; Wed, 28 Nov 2018 03:07:13 -0800 (PST) X-Google-Smtp-Source: AFSGD/UpDe0HJ1f8jJizr5SC2MPWKU1UBIOijnPWkRgMyqt2XPa8eC9Cd+PLzHKM0AOdkoF289IX X-Received: by 2002:a17:902:5ac7:: with SMTP id g7mr36946710plm.212.1543403233913; Wed, 28 Nov 2018 03:07:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543403233; cv=none; d=google.com; s=arc-20160816; b=JrsD57TnFtqIqXaRukwim47RwtLScTxvCld4oz1Uk84aCxMxAGc0gwok3nAtAWQQEJ 13hBTuivkk1GaGb0zY1sGf1JRWucpAm3sJjadHMYjHEPMtZiuVi5+SlaIg5BgUAQ3+/j 6R7VDjUKZ7b5LVR+cMr4uUlo0leeQEvMSaNFx70pTzirDNSgLlDrxr5tDotHcg0RA98f QPPp2d1Ou2OHWuaVrbflpGmY8xgEYzDBKvUfFV0GUipdGV96IJDOXl1mOGXEVyuI5WpB Ll+P5mZvyhdiKmmx4SRqVvOmWmUzJh+gDTa6tVSD4LxVzA6lZ2DJy8FBc5R57txiJlTy BsVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from; bh=WDyvEO+LRGBwc9TSE/SrMCilDtZqOcsmnk38EEEqqiY=; b=CfHmwLunQUf+zLUxLp86xSP/EHg+uQ+vOU1OYByvDUDqkjLdROb4FzPLcjiD37YgBD 9RmOEab7EK5t86THUMgFSxxyuKp+iiA6oVClHJzxhIL30EuUet4NMdvs/RbKpKMwKkxX C3ZWnElU73aqO1RRC7DFryc+1cYNbEPqJfsqw9pYCBj1N8xeiX8UGQ0gwvbs9fjyneiq 090mxMM5h7naNOgemgdnUkFhzFdrXRMKar0O148YZSiTb72kjjJZuD+mQEwsAkgfHq35 bIFH94jsEPKrzPD916QSO6fqfoTfJ6l2pPK41N1ieo+nqwYX2kmVlWwZ7/6BBOB9SqDr TuYQ== 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 f35si7182794plh.399.2018.11.28.03.06.56; Wed, 28 Nov 2018 03:07:13 -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 S1728126AbeK1WGj (ORCPT + 99 others); Wed, 28 Nov 2018 17:06:39 -0500 Received: from ozlabs.org ([203.11.71.1]:48379 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727941AbeK1WGi (ORCPT ); Wed, 28 Nov 2018 17:06:38 -0500 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPSA id 434d9D1Dk5z9ryk; Wed, 28 Nov 2018 22:05:20 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au From: Michael Ellerman To: Christoph Hellwig , Benjamin Herrenschmidt , Paul Mackerras 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 Subject: Re: use generic DMA mapping code in powerpc V4 In-Reply-To: <20181127074253.GB30186@lst.de> References: <20181114082314.8965-1-hch@lst.de> <20181127074253.GB30186@lst.de> Date: Wed, 28 Nov 2018 22:05:19 +1100 Message-ID: <87zhttfonk.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Christoph Hellwig writes: > Any comments? I'd like to at least get the ball moving on the easy > bits. Nothing specific yet. I'm a bit worried it might break one of the many old obscure platforms we have that aren't well tested. There's not much we can do about that, but I'll just try and test it on everything I can find. Is the plan that you take these via the dma-mapping tree or that they go via powerpc? cheers > 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---