Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp378413ybl; Tue, 13 Aug 2019 22:56:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqzSDj+hWsHO4utSVrSf0P8cMT7/EplwV6g2hmzKZ2UXEpeZazh91f5lXk0VGP2TXhO2vl2e X-Received: by 2002:a62:cd45:: with SMTP id o66mr5516555pfg.112.1565762183066; Tue, 13 Aug 2019 22:56:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565762183; cv=none; d=google.com; s=arc-20160816; b=qyfyODuMTNWM9AxlGFEatNQ+Bl6O8lrrp9W2J/R2o72prKyssKKfpz2Vf/F9QGVdCl TnoqX+NbbTbmC2gbYy2+Nqg+bvsOoDh6aEKR+m3bXz0FIyoO8ecbjAC5T3YUUHS+HiIl MYC3oBE7seRD77UqlGMdmw9e888+CuOkx84xCOEfic4H1L2gAL08jpR8ZAHh2fB8DqqG 8VtP1LIMiElqfBGOKaWzOy3Bq9sxZsVDDCgXyiUp2ujY7giKbhvyu1umf69wat5e6wWI +RNcbXik7/h6gY9pmo72IxPFaWGj1X0c4UEnIt+09KnHBVNH8lQ6AJgGL/klY4MkqwS/ lmxQ== 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:dkim-signature; bh=QO/ujdGHsGus5q5hW+MDp+9hUOaT+2ytDi2HUKE5LUE=; b=K6MZfyT0YpfmoAFxT6/y7YlN2SOvtfhfMCBQaxSucmvSm49HLJfhZ3ZV5dH+ifSJBJ GHfyX8qBoXa+YI/KcjMt4fdimJJxIuzWJvKD2eqolknIRk0Gnog5bhq1urCwz3HzneIk AzNnJY+Rf0AdQ760SNMuzrMhUep4miLJdtiZ2Fi34pK1VDnmhwz7bHmg40dUHLXzfrFS PKV7QWE13kQ21pIRaznr8IRgt+vY3ssZs0y5mIhFcfaK/HXePwqZROccKUUwtUeEwoBG ujsu49hKw4fxkQ2DtHK7Yz14nBujqPQvJKO5wM6vqbKiqDeT0PklcQ6/ayO58gNkstnc ns8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=neY7O7gh; 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 j4si54301836pfa.141.2019.08.13.22.56.07; Tue, 13 Aug 2019 22:56:23 -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=neY7O7gh; 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 S1727254AbfHNFzf (ORCPT + 99 others); Wed, 14 Aug 2019 01:55:35 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:35020 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725263AbfHNFzf (ORCPT ); Wed, 14 Aug 2019 01:55:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=QO/ujdGHsGus5q5hW+MDp+9hUOaT+2ytDi2HUKE5LUE=; b=neY7O7ghM+TkauICr2aBIQEVT OhWhgeM9+QNOWnz/N3uQ9KhxyjDCFYe+nnhq/NrV7vmB7XCTwXhW4Rq8q3+CJU3WVK8q9Ad3T4Vff 0yYRjWuZEIo4EW7MsE60RxKo3WVvghLh7L6iAjuzGTCFy6qAp09WKl9geyV6o1C+qNW0XyN1DrYXd VnkHvk8QMPPbrqqYkJ18Noq6Se5BmAP1grw7LHt/u3rz97P4EQFmChtBG7vs4BkoZwlK5kTYQ7taK KOGYcVw+Hh6pCKf8O/NXMUCpA5Zx/C+rWo8md/+1skh5CqaB192d6YCEuNgXM1p+WYq85nxI0UuCa NpZ5vBztg==; Received: from hch by bombadil.infradead.org with local (Exim 4.92 #3 (Red Hat Linux)) id 1hxmFp-0004n3-9c; Wed, 14 Aug 2019 05:55:25 +0000 Date: Tue, 13 Aug 2019 22:55:25 -0700 From: Christoph Hellwig To: Christophe Leroy Cc: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , npiggin@gmail.com, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 05/10] powerpc/mm: Do early ioremaps from top to bottom on PPC64 too. Message-ID: <20190814055525.GA12744@infradead.org> References: <6bc35eca507359075528bc0e55938bc1ce8ee485.1565726867.git.christophe.leroy@c-s.fr> <019c5d90f7027ccff00e38a3bcd633d290f6af59.1565726867.git.christophe.leroy@c-s.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <019c5d90f7027ccff00e38a3bcd633d290f6af59.1565726867.git.christophe.leroy@c-s.fr> User-Agent: Mutt/1.11.4 (2019-03-13) 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 On Tue, Aug 13, 2019 at 08:11:38PM +0000, Christophe Leroy wrote: > Until vmalloc system is up and running, ioremap basically > allocates addresses at the border of the IOREMAP area. Note that while a few other architectures have a magic hack like powerpc to make ioremap work before vmalloc, the normal practice would be to explicitly use early_ioremap. I guess your change is fine for now, but it might make sense convert powerpc to the explicit early_ioremap scheme as well.