Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp50105ybl; Tue, 20 Aug 2019 15:25:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqxhgnIfxInJMuucDNjVmK/H3lkklHBUJjbPutE2bC1vz9KEK7aZSSJzyLoQ4/3qV1Q0yKT0 X-Received: by 2002:a17:902:43:: with SMTP id 61mr732376pla.145.1566339926869; Tue, 20 Aug 2019 15:25:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566339926; cv=none; d=google.com; s=arc-20160816; b=TMLYyMNDierYwIsyw5Qv3xRNxNuKkLRbZ6PhdGlbaGGcGLM2AuQ4vfu8TN2XzyxwoB lrm/3SdU+k6J7C01ujXDdlkVNpZh0ENPhlCL3Z+PH5LFl6bqUTbxTEhx8Hx0+0BcUp2B iFBRoHnKHcO+y8TOIqYtuCcjpvFbChq3HldZOrh9l7jNTHN9ZhOlKSLR/w+U5ex/pCq/ sULC/X6PZ14JtAfm2+FsmNWXvutIHcw94wqiplJDpH/8LQwnylJNoDZLxPHYHdtjn1R7 KL6rOWGhk/YmzlveSS5ZeR/4MV1x6yzb3mLhIEFa+CfQCSMC7VlVq+abIR2UA+jIxmA7 TfOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=u8jIPm/X0Vqq05xSoIL5dDz8YEqoGKbzdki5x8jdnAg=; b=GZ3wlrYG1/ZpuRdHEXF8yifn+D3t4eTAs6mZask/b8mk/hJoGpneDLd24FA3oRJQ/P zkdHbQdOGlKfnF8EybP+mFjLJGlEsA/EpLJHdBcPthYKlRNO1w6+yg2PmRaFSv7JDCdA sSIlFfCkY0lSXfn//KSKRyS9z4xQ03FmGBG6ZxfCVU3iTk7lE+IlHbPlHlSUJiLStIKC MOw6dV8egwgtzn1rUTA4gELoKLmBzaCVmTKZLPkwi9E52+vJDIPOTIAGwjbHpEGXsjni CmN0Q3FcYO+dfVoxFwKbpLr+W65EDqKaDn895O/rIxCe1o5KJjZr9x5bWdmTSZ/JOXx3 quXg== 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 l69si3466984plb.326.2019.08.20.15.25.11; Tue, 20 Aug 2019 15:25:26 -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; 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 S1730979AbfHTWYO (ORCPT + 99 others); Tue, 20 Aug 2019 18:24:14 -0400 Received: from verein.lst.de ([213.95.11.211]:60411 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730501AbfHTWYL (ORCPT ); Tue, 20 Aug 2019 18:24:11 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id E13A868B20; Wed, 21 Aug 2019 00:24:07 +0200 (CEST) Date: Wed, 21 Aug 2019 00:24:07 +0200 From: Christoph Hellwig To: Christophe Leroy Cc: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , npiggin@gmail.com, hch@lst.de, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH v2 02/12] powerpc/ps3: replace __ioremap() by ioremap_prot() Message-ID: <20190820222407.GA18433@lst.de> References: <36bff5d875ff562889c5e12dab63e5d7c5d1fbd8.1566309262.git.christophe.leroy@c-s.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <36bff5d875ff562889c5e12dab63e5d7c5d1fbd8.1566309262.git.christophe.leroy@c-s.fr> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 20, 2019 at 02:07:10PM +0000, Christophe Leroy wrote: > __ioremap() is similar to ioremap_prot() except that ioremap_prot() > does a few sanity changes in addition. > > The flags used by PS3 are not impacted by those changes so for > PS3 both functions are equivalent. > > At the same time, drop parts of the comment that have been invalid > since commit e58e87adc8bf ("powerpc/mm: Update _PAGE_KERNEL_RO") > > Suggested-by: Christoph Hellwig > Signed-off-by: Christophe Leroy Looks good, Reviewed-by: Christoph Hellwig