Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp2892656rwi; Sun, 16 Oct 2022 01:10:14 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4Teagarc6FgcM1i9FO8owqS0s/R7AQ5KKdFnVuZVIB3vp+f5mxknz1l7aYfRHJiUM0JTAC X-Received: by 2002:a17:902:bc88:b0:185:4421:250 with SMTP id bb8-20020a170902bc8800b0018544210250mr5887708plb.29.1665907813821; Sun, 16 Oct 2022 01:10:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665907813; cv=none; d=google.com; s=arc-20160816; b=eTZi9GdyTayPELGjhGmK8uLdk1CVfz5fG0tFkZUHE1jfePRppIYdbISrvMOFyoVnst 4m3QtzO/VYmuAzrkEB6jSgneINT+3DzQbgtoYXGcCByp5pciwJMsD3vQWI8wnYUqlKed j9AvFe3ib+pV4xo+N6Sw1cm+t+O0Bf7dSdAnnrVlw4U+Od+z6K25bZgbDDOH3G/zuQgy dvecQHwW/hhWkio8JHbgtFyj3QekOzo7uyrkiT37QBkUzbsERz2bK3UoHC5EAK+QrAKK +OJjZNUiVtkFKsOFpGbdcAvpV/aFidyr+E6LzsHgz0Bd8aX+XRq93wNlwV+iOZNHaGkC JaXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=NF4UuQ5CrDTxg24etw9exYVYuuVDsdA+aJqkZQohHnw=; b=O7Cy9QQYLxWH/lCZz05IpYJHJFW3MFZ07XscUusjbVVaUACqadiMgR4TRY8km6iCtD Qj9wNjCGlQNLkH6vU3VD0jo4/iB+qmhbc0RM5qvJJoNQWjwt7UCFpZRBVMTc7NlSfB04 DY1PnyppnKqXPdS/vEbZQJH6VHht/I3xn/CrjDwpJ63UsdvCLrNOzEVn7tNEU2O5lTud F08TRAPHKeRVRlq5GHvjZLrQOZe45hdop83gF76FymYRpkF7nTT1rXq9fCoBz1u+tYvx YltfpSaaaHbJ0QuAxK396N0qxuqlBmKu2umyJizAwEceagG2OuyT41evW5poZpyhtv9K ObGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=n+KK15Vp; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c10-20020a63ea0a000000b00438b79bcf26si8231896pgi.151.2022.10.16.01.09.39; Sun, 16 Oct 2022 01:10:13 -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=@ibm.com header.s=pp1 header.b=n+KK15Vp; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229661AbiJPHzK (ORCPT + 99 others); Sun, 16 Oct 2022 03:55:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51286 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229600AbiJPHzI (ORCPT ); Sun, 16 Oct 2022 03:55:08 -0400 Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D4B0E20375; Sun, 16 Oct 2022 00:55:01 -0700 (PDT) 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 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,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: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