Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp3556983rwi; Wed, 12 Oct 2022 03:56:11 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4DlYlh/Jqf66IaqaCkoUWllBs8tczvmTWoSceAFlg9Ej/i9JSu9huSbQhSLMn0t+JT1Vrc X-Received: by 2002:a05:6a00:88f:b0:530:dec:81fd with SMTP id q15-20020a056a00088f00b005300dec81fdmr30232406pfj.64.1665572171254; Wed, 12 Oct 2022 03:56:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665572171; cv=none; d=google.com; s=arc-20160816; b=P6O2DPJ6W+NSVifgFEHCmVMn7sccv1CA1WehcglvOcqyGlUa24/GJBqx7TXEbNsu4O Svuc9lRTXVKJcCbx37MuY/KypCjG+cxW0awHWVXGoIijPP2ukhR/ycM3nTG5zJMARVen VTYcGCsZPC4M3Cc4jRmDfQp45rkQwXYz5QntWbr36IGMxodBW5MG73ip5DtUWOSyekkp 3MC1kL/Mxgzb0yhTwMv1neQBU4kvGWxyOqLj/g9EHv0iscmzCMmipi9c0rr0sS0Lxynd 7zZ5a33/rwCXcJBqGGX1T1U+NB9nxlGS0f+/Okpv/UkXdwjKuzSj2IbjsiNNymcr9Rcd bd2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:feedback-id:dkim-signature :dkim-signature; bh=4NHIBJRK0SamuGDP4q/b7eYOgsGuZ3RhmtCcXnkYKHQ=; b=bmPLYcIVQO8XXlc2Q6wgSwRodp6rqBsaBdHozMZTU+R0CPnjwiuC2NSz3af0t7YlND ywa7fJO7tK5D8IcyEuQ218hJ0P21y5KB7vxsKma2vF6KsP7VKVJ/wcDW32BvuvXeXl0I 9JZ0MjPk6wLrrO5VRFIeqG8+wrbjI44BgTQigNOgY8/NqwDdmGbbp8UIUu5bOWSWKAg9 QVj6WcrTz7wbfCFUUFV/bn+wpkaLuXOiYclw9fjGjd3No5KMMf2MbS+tSCyni9ueZPUC ChP9IULZWVWWkgsDfyMC+Q5tEC1xMkdxIB6vW15CheseFwvwVd6nGuMSuyGUsx3bnBez yd+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm2 header.b=JyJvSThp; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=eyFfzN3a; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g2-20020a655942000000b004403d4f1f75si19310904pgu.452.2022.10.12.03.55.58; Wed, 12 Oct 2022 03:56:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@arndb.de header.s=fm2 header.b=JyJvSThp; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=eyFfzN3a; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229734AbiJLKjl (ORCPT + 99 others); Wed, 12 Oct 2022 06:39:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50272 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229721AbiJLKjh (ORCPT ); Wed, 12 Oct 2022 06:39:37 -0400 Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 91CBF294; Wed, 12 Oct 2022 03:39:35 -0700 (PDT) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 6326632007F1; Wed, 12 Oct 2022 06:39:32 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute3.internal (MEProxy); Wed, 12 Oct 2022 06:39:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm2; t=1665571171; x=1665657571; bh=4NHIBJRK0S amuGDP4q/b7eYOgsGuZ3RhmtCcXnkYKHQ=; b=JyJvSThpou28493tlw6idF9HHr jR7j9eGMXfbaEhQWp0deYOM6aMjYDcnKvGOGsRiZV/ki6SUFgqbtEKVs9QWoF9DY QQxdUDVs9OZjNFzQx6xNXYH8iZt3a9VQ4dXjIbjWS7W4hfkTl6fYKQZADBafwzli vb14y4FzTj5tyvVwAhJjw8R7+EY1UkhrrsG3zxfWbYonYFyRVFmc6p0S3SL/BfGI K+zxN4IVtjiroMPc3nyyMqnqtY8VUIyf87oN35h1IOihw9AGeXBp0ePDamIyTdLS RkfNN28CLkx/uX2RPE5y41zN6hK7g+TP/AVb/wihI7IeBNjso2wkfFCC/E3Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1665571171; x=1665657571; bh=4NHIBJRK0SamuGDP4q/b7eYOgsGu Z3RhmtCcXnkYKHQ=; b=eyFfzN3aKrhmVu115PuUa6ojCuGO4de+k2p5R1YRHXm9 gb0Cybwe/+3FXYE3u/TMlQP9A/EvFt0rJKYOMoxmjRmODXAX1GN78e0pQj7KNo5H 5KiwuVGVrg8RerOZOh9VaB6duTPyqhjZGvXurpqbKdkawdrGYi+1U2HWI8jM+an+ yd3A8UDK4ijszwNYQZoQu3z18mLvwbXBEMHW67nIrEzMjQnxMRG3itGkkHLe0Y3a aeMA8nHnWed2XkMySVjQjE4qbkjGsnxB6m+xdCh9tooeeuR1VgWvY1b8TpwvhqMg G1F9SC7zCoEacFF1WIYGAJf1U1xitGSwdmex1lsFfw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeejkedgfeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderredtnecuhfhrohhmpedftehr nhguuceuvghrghhmrghnnhdfuceorghrnhgusegrrhhnuggsrdguvgeqnecuggftrfgrth htvghrnhepffehueegteeihfegtefhjefgtdeugfegjeelheejueethfefgeeghfektdek teffnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprg hrnhgusegrrhhnuggsrdguvg X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 6E147B60086; Wed, 12 Oct 2022 06:39:31 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-1047-g9e4af4ada4-fm-20221005.001-g9e4af4ad Mime-Version: 1.0 Message-Id: In-Reply-To: <8c7ac4667c6a3cc48f98110117536f60d51ece4a.1665568707.git.christophe.leroy@csgroup.eu> References: <8c7ac4667c6a3cc48f98110117536f60d51ece4a.1665568707.git.christophe.leroy@csgroup.eu> Date: Wed, 12 Oct 2022 12:39:11 +0200 From: "Arnd Bergmann" To: "Christophe Leroy" , "Baoquan He" Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Linux-Arch , "Andrew Morton" , "Christoph Hellwig" , agordeev@linux.ibm.com, wangkefeng.wang@huawei.com, schnelle@linux.ibm.com, David.Laight@ACULAB.COM, shorne@gmail.com Subject: Re: [RFC PATCH 7/8] mm/ioremap: Consider IOREMAP space in generic ioremap Content-Type: text/plain X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 12, 2022, at 12:09 PM, Christophe Leroy wrote: > Some architecture have a dedicated space for IOREMAP mappings. > > If so, use it in generic_ioremap_pro(). > > Signed-off-by: Christophe Leroy "Some" means exactly powerpc64, right? It looks like microblaze and powerpc32 still share some of this code, but effectively just use the vmalloc area once the slab allocator is up. Is the special case still useful for powerpc64 or could this be changed to do it the same as everything else? Arnd