Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp1948482pxa; Sat, 29 Aug 2020 08:42:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzgf5VaoIuN4fXpe2h1l2vil1QONR5luF8Mv2wbBYCoz8JW5w5pilm8RLYIcdtFK927GyBM X-Received: by 2002:a05:6402:787:: with SMTP id d7mr3972860edy.234.1598715726919; Sat, 29 Aug 2020 08:42:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598715726; cv=none; d=google.com; s=arc-20160816; b=es+womr6I6RVSNhpVVZJB2s58jsACd/6K1fb4eVglmtCzadYyQHv7DE0Hcgh1CrHqj TDJlIW9Q05h1sB9apAHQGF6ecEfUyFkPXb0SDu7PjxWo6WNeMBj+BD8LRX7cCxMG6UL4 NcoSxaxaax6/UH3oO1eB9DD03yiB7ACdEfhMqlyJkVQjaZd6zlHCkTukddhOV/GTmWSu e1QWGHZF/taBe+XsVjrGYx5ZMdoORpmA2I+MVJ6bhcmI+Pgti//fwSJaFmjvyE7Yu0s1 8YDfVT/RJOGAOvysE7k94n0mvm6YKvL8WStUo+pAPJwksodgi0D6Ox7KLABTrw8omAVZ Y+CQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=93vPl4ISVwqsT/rzN0zFT8sEJycYYCjRF7JumF/z/7A=; b=VbpS07F4hy27riWMaxPeqndMzmu/jlmDewx6jCbHzwWeAHwL/qHzBJms7z8aDxKoeo xgkevQ+5KHoJ3Wm/xv2e7t0hancdqN6ZOdzGLgzD8eF/gGHPK/BgtBpziHslv6FsPsUb XwJ1YUclwZV8oKJ3hrYQ7FZ8taFQhmu13KNICsDf6TNiJqX8A6sV6H6mwwmKwgXCDPKH TgMmBhjYMMHJVx6isgohezsyMMYY7bfuOv05Owu0jAvTtpxtcCHy5X0WTgBXYlrtsYyu /uJ1X41OOHLKISAcWWedolaD9pskiIfp+3xQSpVQ+XVCYGfJOZjZjaiqFnhKMfgamvVj X+YA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=NvYz6Vfw; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b6si2057818ejb.68.2020.08.29.08.41.43; Sat, 29 Aug 2020 08:42:06 -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=fail header.i=@infradead.org header.s=merlin.20170209 header.b=NvYz6Vfw; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728363AbgH2PlD (ORCPT + 99 others); Sat, 29 Aug 2020 11:41:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35354 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728196AbgH2PlC (ORCPT ); Sat, 29 Aug 2020 11:41:02 -0400 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 10D79C061236; Sat, 29 Aug 2020 08:41:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description; bh=93vPl4ISVwqsT/rzN0zFT8sEJycYYCjRF7JumF/z/7A=; b=NvYz6VfwpyD+r3/mz8kVTJNDWh oDcq20Px1L3OdYCXwdOTRowfxBe6Jgun2w/lOWw5H+CXzIMgFULh5o3BJdzMLMuhND59XX8x38tpW hCRZK+G1byqOABRJiqOMG2g56vu60fb7ObDIYg9bL5fTf7Tja9a5Ej9PoCff5agINSDREwe0pXMa3 qQXc3ggYYnkjpFiHLKbUDkzDSS4LlshQ/AiA1tLITGOQ5ollyJbVMP6RNOG+vNotSQuG4BADxICEW 4nLPsmTgilYClQbOoYaM/RjadHGFCCZZm6R79XhRmLmBHek5NbY1qpFuVFgv40DFOPLx8mxlb7Tc2 BW1f9NVw==; Received: from [2601:1c0:6280:3f0::19c2] by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1kC2yQ-0002UI-Bu; Sat, 29 Aug 2020 15:40:58 +0000 Subject: Re: [ALTERNATE PATCH] memblock: fix min_low_pfn/max_low_pfn build errors To: Mike Rapoport 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 References: <20200829000139.2513-1-rdunlap@infradead.org> <20200829130429.GG167163@linux.ibm.com> From: Randy Dunlap Message-ID: Date: Sat, 29 Aug 2020 08:40:51 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <20200829130429.GG167163@linux.ibm.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. thanks. -- ~Randy