Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6401064imu; Wed, 14 Nov 2018 00:29:40 -0800 (PST) X-Google-Smtp-Source: AJdET5fV5/4E78gwP2cLK8XuVCE4BFrw1q7KvVHML1oTvx3NSw4tVCXigdIr+OI1GqSHW4VuQh2T X-Received: by 2002:a17:902:5ac2:: with SMTP id g2mr949386plm.313.1542184180524; Wed, 14 Nov 2018 00:29:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542184180; cv=none; d=google.com; s=arc-20160816; b=NMgJ68WQC+WIMEnK9VENBSdlb1WNS8BV0X3tTYcb5hCGD+2jsLV1Y1K0kyolLtKcZr oi09enKLn1vxWajMYKFwI56h17VRm3SHACVwal2Oyv5S/C5qHII1acvEFbQZP+i3w6n7 NE1V/wOgfXLz+vz9mgcMPyFjzbfmQXoZabFwkqEJ54OSZ1yuRO74XknFgMLsR0tdyQW5 A4znrFoB6KF32T9hoUSrKAt9shj2hvscsZH+kVzu9r6b3iLkDglYy6RIzcKbBHkt2jIa 975gMek1m21FDn0Ss+oSpayoGlbOt6wyt8wb4MVnk5f6pzQ/gJhkbBWM2fR2kyb0Nx5z 6GQA== 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=KpJjv0Wi01S+sHeNOvB16YI4ImnEjEiDtzAmouanCt4=; b=Xrhf2tuhJznL15sUeyj0wP9nd08G+mHVjIiYaGU41PNsebXVZgrytce1jMZzyqKEl3 bSvFy6YQWV2hhFf38CddFyJuRrksb8laW1PR9QV/6C7o6Zq4OflsJtzP7nCcI+09m/Lc S7U7VWEs9m7p/6fpLW19pUfEfugAJt0vzPjMHIgjO7MTg8ZXiL8BwicTzwHiwKGcwrif yvWM7Othg8FoTlYg8C9DQvppN+b+IEH7u4sQLvXE23VL+KC2/5oUhw6j6WHSwTLrzXAH DEWIBNqnwouOEhxIp0ZsIfuQL7dDNwtI5sjytPj4eq24EikvGKM65B4frKC7QchYatYS 8AZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=Fnircg+y; 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 a4-v6si28295460pll.50.2018.11.14.00.29.23; Wed, 14 Nov 2018 00:29:40 -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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=Fnircg+y; 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 S1732381AbeKNSZv (ORCPT + 99 others); Wed, 14 Nov 2018 13:25:51 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:49234 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732129AbeKNSZv (ORCPT ); Wed, 14 Nov 2018 13:25:51 -0500 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=KpJjv0Wi01S+sHeNOvB16YI4ImnEjEiDtzAmouanCt4=; b=Fnircg+yjGQAJ9C/I73HqgGpC J1b+VfVluffdUc1wX4VfssrS7JKzkKB8Jrp34c6km8VcL8e7t0xezFLrKAxn/TbMkH/Y+1Fb9CY/A s1amkaMmvMwp/XLPdsiZztHLDmlsz+0vzoY3Pj/hw764iDrW8nD+myL1GbwP6UmhEVu+FRGxVtA// jMNqPxkz6wg8N1RqdJSvpczKIE6N7cwz0k3u3UIqA/aYov7Dh02HY0Y/HLD95eFGm+gpy7I51lI81 0o8yyrbgvzhUM3Lh/QVnFFg+UbNp7z8N513+n7KDztvUPSrc4x0YbUEEjT9wWARqC+Atkg9YmM6uN /S7uo3Yyw==; Received: from 089144211136.atnat0020.highway.a1.net ([89.144.211.136] helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1gMqSC-0004Ya-B1; Wed, 14 Nov 2018 08:23:16 +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 V4 Date: Wed, 14 Nov 2018 09:22:40 +0100 Message-Id: <20181114082314.8965-1-hch@lst.de> X-Mailer: git-send-email 2.19.1 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. 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.