Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp4259062ybl; Mon, 26 Aug 2019 07:51:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqw9o/Ts6zK79JAP3ogW2qWHubHnvs1xfELCm5t3+1TbbfRbwiBOVuZqFXnLWhI1RyayJeNW X-Received: by 2002:a17:902:e60c:: with SMTP id cm12mr3945975plb.304.1566831064441; Mon, 26 Aug 2019 07:51:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566831064; cv=none; d=google.com; s=arc-20160816; b=A8ruI/0cuMfB3lnGrIgS0a2oD3xQ5uqWi9M47SS50mx9LFD5p8b9OCoPzTv1TGB1HC yIF0amqfyVu6XBKQXLmNQUIqYkM/tmKqvBak1ctWL3pUEecZr1gRZRPwt1rXT7u0Hjv4 JW9IyuWCydlJ4ukEaQNmhWGEp3HQe4FTzhwAd89jp5ObkCy/+aL8w8I2pQV4SUTyHhnp QBGlaQdPldzPCZZszWRG/PrSsOvYeOL71j0T6pmdab6ru/OZy1DcXRbfuVk2dN9ft2Jy 9twSHkRGI4+xfblpJE5KWL024mR5Hs+OgBra4Ju8STHOohnRr4ayeBktC8CkOoQcKR1T 9adg== 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=rPETQGaDckDZVtLIzvt1M3lT8jH23GiXzU9sIDOMY7g=; b=gKbtYfb7j3luDF/fro1L0H6P8Nx6T2SL0Lo/PDZORE4ZY9QLGTMnNWv9aaBblO1BrF 8D5/KYTJaokwqEuYeyaRGU4n0ne+ng3DMMhLm2kQqgH1CvlrwZzzBzLjG+0twBZ+GlMd ki+R7flP5MTLRZZmu0zQwcd5qL0B9mZCbxZF7pg7yLdNTtmDl4i4MPY/ABVHVhV29I/L 8elzsSP2eIoC1VuYldRCRkoFrOet1VuSrnYd+uF9vCp+xuVECFh6C38+Ncoua9QMTUeK xMVjy5okGL0jhWeTCEH5CnpE/DO2K9WlvGrbMZ/upKNztnXhs5EHerixSNeyqcFcpbSs wrsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=ReaDf4JW; 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 19si10903974pfu.109.2019.08.26.07.50.49; Mon, 26 Aug 2019 07:51:04 -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=ReaDf4JW; 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 S1731842AbfHZN0N (ORCPT + 99 others); Mon, 26 Aug 2019 09:26:13 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:34756 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727462AbfHZN0N (ORCPT ); Mon, 26 Aug 2019 09:26:13 -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=rPETQGaDckDZVtLIzvt1M3lT8jH23GiXzU9sIDOMY7g=; b=ReaDf4JWYplq41pCVxv3bXWp9 Cuu9gd7GPo3H6qUuEWvSd5ZvsQHizunWLcCUeE8CF+GtlIilI/apIO1wxGBB+LaGLJZAQUkUaBoAo zmpjQYEG8cdwaZFqo2ylFhNQmkwvT+AMaXw9ZNVs/tFFbFm6/3UBeKTX8hn0VATipq7Xx8tNjA3UI l5XG2kAplfYXzqIOKj2/IEGK9yN0XLFtYiWDTl97XrK5Ps4QX/d9ikTqgbM6DwEDW55o+CQkN8bgW 5ZaZNFN9NKK/kpK+1fI2S7dWlLlkPcR97byuTnosY9xRA6TACMW510W7cX+bte91+aQ/100y1A4FA 4Sw+IQLQA==; Received: from clnet-p19-102.ikbnet.co.at ([83.175.77.102] helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.92 #3 (Red Hat Linux)) id 1i2F0O-0007u5-36; Mon, 26 Aug 2019 13:25:56 +0000 From: Christoph Hellwig To: iommu@lists.linux-foundation.org Cc: Guan Xuetao , Shawn Anastasio , Russell King , Catalin Marinas , Will Deacon , Robin Murphy , Paul Burton , James Hogan , Geert Uytterhoeven , linuxppc-dev@lists.ozlabs.org, linux-mips@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-m68k@lists.linux-m68k.org, linux-kernel@vger.kernel.org Subject: cleanup the dma_pgprot handling v2 Date: Mon, 26 Aug 2019 15:25:47 +0200 Message-Id: <20190826132553.4116-1-hch@lst.de> X-Mailer: git-send-email 2.20.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 replaces the arch_dma_mmap_pgprot hooks with the simpler pgprot_dmacoherent as used by the arm code already and cleans up various bits around that area. Changes since v1: - improve the new arm64 comment - keep the special DMA_ATTR_WRITE_COMBINE handling for mips and document it