Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1272015ybl; Fri, 23 Aug 2019 16:39:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqy4yLMPFjLvYpZkP6GSPbJrxzuxKhHMNMEviyLhayXX1OqJu6hPTbnAP1D5DRDfGP2hQ1dw X-Received: by 2002:a63:290:: with SMTP id 138mr5582685pgc.402.1566603551419; Fri, 23 Aug 2019 16:39:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1566603551; cv=pass; d=google.com; s=arc-20160816; b=V55dIkIQlyXob/dCWmnfqT7KY0DDgRCTWIbr1cZxKXrrwHDnymKROApu1MDgsqvrTv oGJzm/XiD7uJnMMMiwy6cAmPRVG3KoebA1XGUYFjqLcV6sAZii3wBpeit40Ym1OC52gg SFUy4g6YLNTEYo4FwcxWejl/9xrkSza938TJWmTIitP9hE2goEBHK2lsbTgz/KhVJF+S +oQTE3VBIhWNdl2w9dIH6p0SOAiLs4l3KahoNJKPXDf7IAKhE0SmX4AMy8xjSIptHMVj T7cd+gfqcvf6g4SKRHREGG/vGTjb1FtOAhfGY5ONQvtIyRtO28KMk7DzGV3Fc0sTszjb SsSg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:user-agent:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature; bh=+15AuWsYroL9LW4VXjaZCJFMXePsi9rZcg3Tcu9VZaM=; b=RPMY7JTcPzVhco6TJnHm2ZtzG8OFC+jGXnL9PkLJ4ezmdPaGOw9ADtxypJZc1T60Z4 s+l0D9ma3ZEn8UB9sb59+tSfpM6SmYeB/mqkQcC/etryy6Doc1fKXGxHyGuVj0yTM+n4 2VER3jCO2uDXlNjd2NDbhZUa/hrBiG9gQgBF/yZrN+i6N6x3yiTn9T15fDSHCNQ7Zg5V 4OM6bD1dX/9YDj1nSa0iDKQVDifHNyGHjVRlBb54gJrSW4XWpMVqFhrBYgdLiJvqeK1m IWYCoiFcR7sObDSAUvWXmDyUK3wx3j2jRzd+aX1PRJaPCHqnj3knFbA03Fd5fF35kSdZ AI7w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@wavecomp.com header.s=selector2 header.b=XmBEwPVv; arc=pass (i=1 spf=pass spfdomain=wavecomp.com dkim=pass dkdomain=mips.com dmarc=pass fromdomain=mips.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 s4si3987446pfe.173.2019.08.23.16.38.56; Fri, 23 Aug 2019 16:39:11 -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=pass header.i=@wavecomp.com header.s=selector2 header.b=XmBEwPVv; arc=pass (i=1 spf=pass spfdomain=wavecomp.com dkim=pass dkdomain=mips.com dmarc=pass fromdomain=mips.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 S2406222AbfHWV6u (ORCPT + 99 others); Fri, 23 Aug 2019 17:58:50 -0400 Received: from mail-eopbgr730107.outbound.protection.outlook.com ([40.107.73.107]:12666 "EHLO NAM05-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2390764AbfHWV6u (ORCPT ); Fri, 23 Aug 2019 17:58:50 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=d1EkpdLfyx/v96aCRXVA5nHPw0P7ZTpel0Etz8EmPlY2K+irZ4Otkpr5Qv0nIYOolJz+qmKdhK+1KxeM2fBsHEzyfl4aDMdkrjmWmmWyRpCk1vcpgEf+VDlkBLU1o8S3Q0Zi04VYwYU5G2ZE1KUnPpa7Gj6mYrNMuOuSGFmn1Yrihya7FajWgXl9ljofx9/F7SJCt2l9eu9YyaKmJRsDgyYPOnCfk41AzWnmqBtuZxyMjaB5W5tzxkc+rib/GaaQm2kOJo7c8nr848HYxbke2NQ0LaDd0qGcInuGOCQIevSA6eSr64gWe1c2qcVYiNj/1TUPZqjtiOt/SRD0bCKr2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+15AuWsYroL9LW4VXjaZCJFMXePsi9rZcg3Tcu9VZaM=; b=MUfpEaCATgYMS765gjDYdwjCDpaCUn4MF5z7BecY6PNCmNEz09se6eiA91pkODasCq56lq/UycHxUI0JSXXWhh+GEz5Vtu0dWfuCIhEr0RtUBp5k84A8zC6iLBIDYlc8yNQ2lWkExguYZ7+JNX91cuM55r+1DvbsjOqRjB3yLBwuLdF7zaDp34OiSk2dSuL1WtP4gJKobdIVtFGNG0l75VkI/v6lM8uaYD8D0UogUgMZXNCJTce+/zpJMSyN1SzlvBg5SHqFBhN+syrQfp9f/2sGbU+15w8MHJ8ErG+syJmKKv/TxAxKWKAqLebY6SF7PpmerieqE+sWZQFAX8FBbA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wavecomp.com; dmarc=pass action=none header.from=mips.com; dkim=pass header.d=mips.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wavecomp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+15AuWsYroL9LW4VXjaZCJFMXePsi9rZcg3Tcu9VZaM=; b=XmBEwPVvZq38GZmQ5jgMsSUxf+GhRt368mKsypUHUacthzEM8eYYnf8xbI6Nt75GFdP/QiQXH8EC3ERpWmuhcmwuy9/+jD6rfJxGLBuFM1f6Q8ZMgi6rwaf3HBBQX5ot9yyDFypTa3+tg+k3EuFYThvB+U7Nn/G3iFS1HTwJn6M= Received: from CY4PR2201MB1272.namprd22.prod.outlook.com (10.171.214.23) by CY4PR2201MB1414.namprd22.prod.outlook.com (10.171.211.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2178.18; Fri, 23 Aug 2019 21:58:04 +0000 Received: from CY4PR2201MB1272.namprd22.prod.outlook.com ([fe80::2d81:1469:ceaf:1168]) by CY4PR2201MB1272.namprd22.prod.outlook.com ([fe80::2d81:1469:ceaf:1168%5]) with mapi id 15.20.2178.020; Fri, 23 Aug 2019 21:58:04 +0000 From: Paul Burton To: Christoph Hellwig CC: "iommu@lists.linux-foundation.org" , Guan Xuetao , Shawn Anastasio , Russell King , Catalin Marinas , Will Deacon , Robin Murphy , 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: Re: cleanup the dma_pgprot handling Thread-Topic: cleanup the dma_pgprot handling Thread-Index: AQHVWf3Wcj0vRRmtDE2acan7+F6osQ== Date: Fri, 23 Aug 2019 21:58:04 +0000 Message-ID: <20190823215759.zprrwotlbva46y33@pburton-laptop> References: <20190816070754.15653-1-hch@lst.de> In-Reply-To: <20190816070754.15653-1-hch@lst.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: LO2P265CA0231.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:b::27) To CY4PR2201MB1272.namprd22.prod.outlook.com (2603:10b6:910:6e::23) user-agent: NeoMutt/20180716 authentication-results: spf=none (sender IP is ) smtp.mailfrom=pburton@wavecomp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [2a02:c7f:5e65:9900:8519:dc48:d16b:70fc] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: b74269f9-04f9-48ea-b4a3-08d72814f910 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(2017052603328)(7193020);SRVR:CY4PR2201MB1414; x-ms-traffictypediagnostic: CY4PR2201MB1414: x-ms-exchange-purlcount: 1 x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 0138CD935C x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(7916004)(396003)(366004)(376002)(136003)(39850400004)(346002)(199004)(189003)(33716001)(6116002)(6246003)(9686003)(6512007)(58126008)(11346002)(446003)(6916009)(66446008)(14454004)(66556008)(66476007)(64756008)(66946007)(8936002)(14444005)(44832011)(316002)(6306002)(476003)(102836004)(54906003)(5660300002)(478600001)(99286004)(386003)(4326008)(71200400001)(8676002)(52116002)(25786009)(53936002)(6436002)(256004)(305945005)(486006)(46003)(7736002)(42882007)(81156014)(7416002)(76176011)(6486002)(1076003)(2906002)(966005)(229853002)(186003)(71190400001)(81166006)(6506007);DIR:OUT;SFP:1102;SCL:1;SRVR:CY4PR2201MB1414;H:CY4PR2201MB1272.namprd22.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: wavecomp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: GeZiVlypx6XvjUENFejkSpKkGP5OpN13T7pYyv2o8nL2nWiVUeeebEQge+rcZzKDCMhRuxYLRUwUW5724RVIjyaTq2/DLrMGW3qhmqRdqpDuF9iwzrHATQnFaaHzSCTKevvjlHGhqFXH4/h9sB9CeBE2S1sfuLlyQr6YUQlou16XHP47Wtf3qTo4b7Wpy3ysMVXWDfjhjY/zXaMKRwpyn17su+g9eiA6LCenFAkEd/3XqPqHMRktP9sNeDcgvgPujhKYoO59EicVMpHJuBNuXPKa3UvL0fYnthdcOqiIiOy5i6r7vacG1RoYNK9jA7Olz8oy3rBAp9q+8nmN8iqQpm3RsjsqoxEyxylisFG90pTiIY70NpXpYTUhB1NxI3VjZiA4dvbBWpU+tvYnxHekTJ5pj0M6WxaJ/OXHiqEWZKE= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: <1C4B7209ABEB4A4BA21FDFF51979BD88@namprd22.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: mips.com X-MS-Exchange-CrossTenant-Network-Message-Id: b74269f9-04f9-48ea-b4a3-08d72814f910 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Aug 2019 21:58:04.1602 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 463607d3-1db3-40a0-8a29-970c56230104 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 6s7AcMKI2KDWcvgKbXilApbKVoLsJWClFKM+0moHuR1SbZUzIElph++bHPA3d73NkZwFjRZ3kAA8Za8Lflw0cg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR2201MB1414 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgQ2hyaXN0b3BoLA0KDQpPbiBGcmksIEF1ZyAxNiwgMjAxOSBhdCAwOTowNzo0OEFNICswMjAw LCBDaHJpc3RvcGggSGVsbHdpZyB3cm90ZToNCj4gSSdkIHN0aWxsIGxpa2UgdG8gaGVhciBhIGNv bmZpcm1hdGlvbiBmcm9tIHRoZSBtaXBzIGZvbGtzIGhvdw0KPiB0aGUgd3JpdGUgY29tYmliZSBh dHRyaWJ1dGUgY2FuIG9yIGNhbid0IHdvcmsgd2l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