Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp4868251imm; Tue, 9 Oct 2018 06:30:46 -0700 (PDT) X-Google-Smtp-Source: ACcGV62/fIybuvkedKcfTwGCBjDOuzY6zuZpTzEqXsQjtNt6DquQWCO1n0VZ6dFsT7YmWDXj2efG X-Received: by 2002:a63:5c63:: with SMTP id n35-v6mr25469859pgm.402.1539091846794; Tue, 09 Oct 2018 06:30:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539091846; cv=none; d=google.com; s=arc-20160816; b=ocdTayFjQ0XuI+FOpjsE/sI0YooWcYMy4xFNxp8/PEBOG55YRn9qpWd7xo/PUKeiC7 YwN5QKq5Ow5/VBFO4G00s3pAAPx7ohgz1RumX52PSWRF+fWu2zGnBFBiXWOdxAGc/Pdj nXh0cmHhnCrUASuJnmv9502+gSSaDMSWmZfaMxIA8OtSezMFizjQUM/F6kWk3hfDxu7i 2vXiD7l9aaQBbF6gpFddLRajMAwHRu/VDQ5h5yVaGi/CyxTHPEKjvQEAnwuSPJBuj+iw o9ygIDL2HdKuVJCVzCvbcxRJeZ7ovYAfc6TqJrzXmZXdqoprPSD0fYVn/KkBJOPvJUH8 TV1Q== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=gGw7YiphJaGrt9asPUefmEcgcnb9+qQJLSQxNNRUKaM=; b=QrCeHf35fI39n4gCrKhaT+9PbINnIvUKcSgZo+XwDPtco97zPVk8nDPyGuSEIg4iMj iZ6fPzEBotmehjo43eepzJ+ybhr/nGvk9oo07dCSZno1ymrLS2SDLc1nlSDzlTjnTpDc toXrmxUZKvCo7B4PBBXmiDm1O825STaHrkduBH8e4jFKc5v1QkDuXydLHRyx8wKWp5rZ 0tPW1X6icTdHoM5xu1aDxmDjSRy+aGpxvZ3Lri96JIqrdBMLrtjyyXQs0u+eZdSuvBPX MHvFLMolfnp03NfTBtMiL5Xr303hOzu9aDU39eOL27j9OfCoLn46i5KiEIik3Xy5QXWu 3jzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=fTITiy8o; 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 g9-v6si20293051plo.23.2018.10.09.06.30.32; Tue, 09 Oct 2018 06:30:46 -0700 (PDT) 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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=fTITiy8o; 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 S1726762AbeJIUm0 (ORCPT + 99 others); Tue, 9 Oct 2018 16:42:26 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:48040 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726725AbeJIUmZ (ORCPT ); Tue, 9 Oct 2018 16:42:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=gGw7YiphJaGrt9asPUefmEcgcnb9+qQJLSQxNNRUKaM=; b=fTITiy8oHCTamYj24W83XmQ5N 1zkb7kWJ71QYKSmfUml8g4tA1CGnpLqlqgI7NZ7ijbZALTk6s8Qh5at7LTwvDrVmmZW0LXtjhEiqD H+1POL4yQs3HogQWYe6i00G0EH4Eb1QpOLRYLTuBcqnISnPPGO9ZM8AEBspfQ7hpwHOWq8JsMiLEf Oj/OVp6QO+4tRHsIYQiGimLaHWXtlY99JXDpcsFiQPYngGYNzTAal/1VooaOwNA+Wfa3OyvHm7lVy KGBEyE/8jFaBeWzZdu5YBFbkVX5kpjmRmXETdTLKaaufRrs71NWs+RCMa7vfq6aD61QamxbItfAfR DVAd2Sl2g==; Received: from clnet-p19-102.ikbnet.co.at ([83.175.77.102] helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1g9s0U-0008Ip-Do; Tue, 09 Oct 2018 13:25:02 +0000 From: Christoph Hellwig To: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org, iommu@lists.linux-foundation.org, linux-mm@kvack.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org Subject: use generic DMA mapping code in powerpc V3 Date: Tue, 9 Oct 2018 15:24:27 +0200 Message-Id: <20181009132500.17643-1-hch@lst.de> X-Mailer: git-send-email 2.19.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. The changes since v1 are to big to list and v2 was not posted in public. 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.3 Gitweb: http://git.infradead.org/users/hch/misc.git/shortlog/refs/heads/powerpc-dma.3