From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8DF46C4332F for ; Sun, 16 Oct 2022 07:55:02 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 864196B0072; Sun, 16 Oct 2022 03:55:01 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 812C66B0075; Sun, 16 Oct 2022 03:55:01 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 6B30F6B0078; Sun, 16 Oct 2022 03:55:01 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 53C1C6B0072 for ; Sun, 16 Oct 2022 03:55:01 -0400 (EDT) Received: from smtpin25.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id E86B8160AE3 for ; Sun, 16 Oct 2022 07:55:00 +0000 (UTC) X-FDA: 80026051560.25.2B0B00E Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by imf14.hostedemail.com (Postfix) with ESMTP id 376D2100014 for ; Sun, 16 Oct 2022 07:55:00 +0000 (UTC) Received: from pps.filterd (m0098419.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 29G4R2xw021478; Sun, 16 Oct 2022 07:54:35 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=pp1; bh=NF4UuQ5CrDTxg24etw9exYVYuuVDsdA+aJqkZQohHnw=; b=n+KK15VpsFwv7V0+qqAxissjaaTBatmABRlDY+7et3tnkh2n+QAPVhseAo3KjmkjgnB2 ZssU9aXO521HIgZp4PZvEsjS9U1fNzZ7Dusj0ENxAVx/rB10J84eSHtI0vwvA8GmniLg WNeiP3uSfIjdQrgByTsVRM+THIYCK+FEH+W2HSiBHXM3puR+ULIA217Fu6sVveCt4xo1 5OzYxsnM+UnM6cv8ewnkrOYeGe4PeWeteu11/EgYTjdd83zRJKX9v9Va8y4iiDAa7nAq 6J/VVvaqvmQNo4nKvuYIbl4wIhBar/t8HRGwJHxYemIxehSajjtPRufRYWzWxYdYGjPe YQ== Received: from pps.reinject (localhost [127.0.0.1]) by mx0b-001b2d01.pphosted.com (PPS) with ESMTPS id 3k86g5027u-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 16 Oct 2022 07:54:35 +0000 Received: from m0098419.ppops.net (m0098419.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 29G7sZHi032611; Sun, 16 Oct 2022 07:54:35 GMT Received: from ppma05fra.de.ibm.com (6c.4a.5195.ip4.static.sl-reverse.com [149.81.74.108]) by mx0b-001b2d01.pphosted.com (PPS) with ESMTPS id 3k86g5027g-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 16 Oct 2022 07:54:34 +0000 Received: from pps.filterd (ppma05fra.de.ibm.com [127.0.0.1]) by ppma05fra.de.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 29G7rPLG032245; Sun, 16 Oct 2022 07:54:33 GMT Received: from b06cxnps3075.portsmouth.uk.ibm.com (d06relay10.portsmouth.uk.ibm.com [9.149.109.195]) by ppma05fra.de.ibm.com with ESMTP id 3k7mg8s1y3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 16 Oct 2022 07:54:32 +0000 Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com [9.149.105.232]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 29G7sUgx29426014 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 16 Oct 2022 07:54:30 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 541575204F; Sun, 16 Oct 2022 07:54:30 +0000 (GMT) Received: from li-4a3a4a4c-28e5-11b2-a85c-a8d192c6f089.ibm.com (unknown [9.145.58.10]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTPS id BB7E65204E; Sun, 16 Oct 2022 07:54:29 +0000 (GMT) Date: Sun, 16 Oct 2022 09:54:28 +0200 From: Alexander Gordeev To: Arnd Bergmann Cc: Christophe Leroy , Baoquan He , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Linux-Arch , Andrew Morton , Christoph Hellwig , 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 Message-ID: References: <8c7ac4667c6a3cc48f98110117536f60d51ece4a.1665568707.git.christophe.leroy@csgroup.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-TM-AS-GCONF: 00 X-Proofpoint-GUID: COOqvuBhFrT0aQ5oJghjQs6K0kvtlIrc X-Proofpoint-ORIG-GUID: I_E-pbeUcJZaXjF5GaDE4bOivIzTg8KG X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-10-16_03,2022-10-14_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 spamscore=0 lowpriorityscore=0 suspectscore=0 malwarescore=0 clxscore=1011 mlxlogscore=576 bulkscore=0 impostorscore=0 phishscore=0 mlxscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2210160045 ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1665906900; a=rsa-sha256; cv=none; b=hymJ5V3TWOviTmsac/moMRg541OF2xVEQptaTgxcVLRCOHdK+U5x6SppXsh3uIQcAUsDtA xURfiKmmaIEeyGz9bs0w+SaZLK9CxFi7gZZEaXy28DVpQAeASjuuVZ44su/tsHOssI2woz h1ag0HFDG8woSMxakCLw1NUF6DSpc2s= ARC-Authentication-Results: i=1; imf14.hostedemail.com; dkim=pass header.d=ibm.com header.s=pp1 header.b=n+KK15Vp; spf=pass (imf14.hostedemail.com: domain of agordeev@linux.ibm.com designates 148.163.158.5 as permitted sender) smtp.mailfrom=agordeev@linux.ibm.com; dmarc=pass (policy=none) header.from=ibm.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1665906900; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=NF4UuQ5CrDTxg24etw9exYVYuuVDsdA+aJqkZQohHnw=; b=B+25k9QSlmGz9sCTKkeqc0spMGdrB0SF9WdMFxex+giMJUkljMb+J1X3sDAXLiILz4LLxQ ysNd5FnJDiUmIzomPU2S0Om3gDIhRMNNQ37+fBAKMku4Q4zvyqn1ibrZ76DMjJOkfhGBA0 OeB/ugDPVSwahL3eOxDaTg+RX3wbG/0= X-Stat-Signature: o3q3mehmq1t8mw5a7h4j1yee7k9bpxiq X-Rspamd-Queue-Id: 376D2100014 X-Rspam-User: Authentication-Results: imf14.hostedemail.com; dkim=pass header.d=ibm.com header.s=pp1 header.b=n+KK15Vp; spf=pass (imf14.hostedemail.com: domain of agordeev@linux.ibm.com designates 148.163.158.5 as permitted sender) smtp.mailfrom=agordeev@linux.ibm.com; dmarc=pass (policy=none) header.from=ibm.com X-Rspamd-Server: rspam06 X-HE-Tag: 1665906900-860813 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Wed, Oct 12, 2022 at 12:39:11PM +0200, Arnd Bergmann wrote: > "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? Or make it the other way around and set IOREMAP_START/IOREMAP_END to VMALLOC_START/VMALLOC_END by default? > > Arnd