Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp275997pxk; Sun, 30 Aug 2020 02:58:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyjMD3Jl3J6O8f71T3235Nd1tyVtgHrvMWH1UDcSauboRXr1W/hL4tNtJwFygYFyfV3X8Gi X-Received: by 2002:aa7:d750:: with SMTP id a16mr2546273eds.362.1598781509223; Sun, 30 Aug 2020 02:58:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598781509; cv=none; d=google.com; s=arc-20160816; b=LCXvQGGOGb7tpK08DfvLFisSgLwvjgqb4AOQmA8m21/aQUVikrvdqsVcGTjqXhiyQH cEeFBpGBPMLMjcGBYhHoKmYXXX3L3zwI3/jF/+8tXOV7XW1V52pdfGH+B2d4EsC3aRbm VWnKknHcMOvbtJOvItutCxIeYb2YKb9HJHgw3Cm034Xos4OS75QHXEKEz2YIPjOybjRB S/7Hfp416ne8Wl1pVcMtAuVVv50U0UC7077qMTv8te/F0/n595H4CNeRksl9x+i5FQeA 39vqJ6q3oU9f4OgD9CGA4lghAo2a1z0z/5tRqzv+hTz8jZU7o6omp32B1A4sbxzKD2nt YGGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=zZZaGO9f6qJS5ucPnn8G8zA+KB54agYzgvVLkqVDWi8=; b=VsDTMj2RgNtJtskaMd+iioVvD4uXALzlqSwqZD9d+xHMAEnXDPIoArw4avgKEq/1BU 6LyVh2un2/wDJb5gOpYA/d/oJLaJPJm1DCSIw5Yy9EQomJ0VDHDg5VRUI23mxPVvnFVK x4EgygZ3RoLeRi+iF6PFw54TQbySTc5V9Vzk6vUmb4k/sCj3viNsg5NL/7lnk65DuHq2 Q4NQElVpRliYy9Vu8dlnPy4c7HR8FWGZvWNI+ZF8jhRyec14Yp43fyMCgvwuc0heGzEr OHoRwdh4ZPJmgMG7zx8gCfcMDEeoD0MWwY+9lg5DkKkq2G2deuF3WWQMjBJxtqd5JKTY 4rfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=tYJF8x20; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l3si3293967eja.690.2020.08.30.02.58.06; Sun, 30 Aug 2020 02:58:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=tYJF8x20; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1728720AbgH3J5H (ORCPT + 99 others); Sun, 30 Aug 2020 05:57:07 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:51096 "EHLO mx0b-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726404AbgH3J5G (ORCPT ); Sun, 30 Aug 2020 05:57:06 -0400 Received: from pps.filterd (m0098417.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 07U9XtR3001438; Sun, 30 Aug 2020 05:56:56 -0400 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=zZZaGO9f6qJS5ucPnn8G8zA+KB54agYzgvVLkqVDWi8=; b=tYJF8x208ofzu7GOhWPgHPcswnpNR+x7iLNKufVbymAkVQJbr0Z1szfJSS9rZGSbrdlI I5XCpB+445wILSWhjn0RPv8AK2byOfb7CoJr7rl4eQ/Jt1AUVIUytGlTCgKkeaAiU491 FZ4VLlD8o54+ncSgWFCPMXAoS6f2pSXQjObOcYzishkRxchsNGZLHck34WXXfOqgfmnX 4q0JHvFMchFLuZaSiECBaqnBI9y2QbNSUeBpl/vq0k792c9Avm40lEmJK1+zxKUQiidj FaQV3owHbWG6duCGlpUg+k249urRc5meKenePZ50ei8fQDoe/LbVMXV2fhJKZdeWnc9E Sw== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com with ESMTP id 3388n6h7x7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 30 Aug 2020 05:56:56 -0400 Received: from m0098417.ppops.net (m0098417.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.36/8.16.0.36) with SMTP id 07U9ZwbG005193; Sun, 30 Aug 2020 05:56:55 -0400 Received: from ppma03ams.nl.ibm.com (62.31.33a9.ip4.static.sl-reverse.com [169.51.49.98]) by mx0a-001b2d01.pphosted.com with ESMTP id 3388n6h7wp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 30 Aug 2020 05:56:55 -0400 Received: from pps.filterd (ppma03ams.nl.ibm.com [127.0.0.1]) by ppma03ams.nl.ibm.com (8.16.0.42/8.16.0.42) with SMTP id 07U9lXWo018395; Sun, 30 Aug 2020 09:56:54 GMT Received: from b06cxnps4075.portsmouth.uk.ibm.com (d06relay12.portsmouth.uk.ibm.com [9.149.109.197]) by ppma03ams.nl.ibm.com with ESMTP id 337en891xs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 30 Aug 2020 09:56:54 +0000 Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com [9.149.105.232]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 07U9upSu25035050 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 30 Aug 2020 09:56:52 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D177652051; Sun, 30 Aug 2020 09:56:51 +0000 (GMT) Received: from linux.ibm.com (unknown [9.145.92.75]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTPS id 65C4352050; Sun, 30 Aug 2020 09:56:50 +0000 (GMT) Date: Sun, 30 Aug 2020 12:56:48 +0300 From: Mike Rapoport To: Randy Dunlap Cc: linux-kernel@vger.kernel.org, kernel test robot , David Rientjes , linux-mm@kvack.org, Andrew Morton , Michal Simek , Michal Simek , Tony Luck , Fenghua Yu , linux-ia64@vger.kernel.org Subject: Re: [ALTERNATE PATCH] memblock: fix min_low_pfn/max_low_pfn build errors Message-ID: <20200830095648.GA424181@linux.ibm.com> References: <20200829000139.2513-1-rdunlap@infradead.org> <20200829130429.GG167163@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235,18.0.687 definitions=2020-08-30_03:2020-08-28,2020-08-30 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 lowpriorityscore=0 bulkscore=0 priorityscore=1501 impostorscore=0 suspectscore=1 clxscore=1015 phishscore=0 adultscore=0 mlxlogscore=927 mlxscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2008300072 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Randy, On Sat, Aug 29, 2020 at 08:40:51AM -0700, Randy Dunlap wrote: > On 8/29/20 6:04 AM, Mike Rapoport wrote: > > On Fri, Aug 28, 2020 at 05:01:39PM -0700, Randy Dunlap wrote: > >> Export min_low_pfn & max_low_pfn in mm/memblock.c to fix build errors > >> on arch/microblaze/ and arch/ia64/: (e.g.) > > > > Please don't. This would give driver developers a wrong impression that > > these variables can be used to query memory boundaries, but this is not > > the case, at least not on all architectures. > > > > I would prefer fixing it up locally for microblaze and ia64. > > I did that. > and that's why this is labeled as an ALTERNATE PATCH. I've seen that, I just wanted to make sure that Andrew wouldn't pick this one :) I can help with taking microblaze and ia64 patches via memblock tree once we have Acks from the arch maintainers. > thanks. > -- > ~Randy > -- Sincerely yours, Mike.