Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp993669pxk; Mon, 31 Aug 2020 07:09:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxkpj2TwsByPziHM976PuAjVQh/MtK46mFOXZhJ2YT+lvtbkTOvh1bwOF6rjf5Xrm7QQSPG X-Received: by 2002:a17:906:eb4f:: with SMTP id mc15mr1292896ejb.435.1598882952761; Mon, 31 Aug 2020 07:09:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598882952; cv=none; d=google.com; s=arc-20160816; b=LC/QUnFng2ptIRgxJCF722FWVhhQeI/aaN/pLud5B0fxepjZ8dwwqqEL21ms2gsmY1 EtM8NXdCRIP/o1/Qxv+TzEfrfqwkmGJsPXDhQZ39ncitu+gEkrqLgAYxz23rS5fsOHd2 CiQC2mJPxxXopylJqmS8OG96qUjkQR2a2RkuNVr+Ksq8L5/JPAymOfnQlXBnF5gbE9PR YxCAS2+0cJOivLzsKrdAooQ7/YKCUg7vKwTw/HQ7R2O2xcNqLrczowtY6dxry9FrVfz3 oauRyEMSOSQOHq6E1g8lAginpuloYWXI3Oj1wq7OEpG0/M+etUsUpqasQ6hsOmAO/XkT XdEw== 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:autocrypt:from:references:cc:to:subject:dkim-signature; bh=6Ry2Q0kzv/qurwxYMhXYJrzUcomQoSuew+ttulBrFuY=; b=L6OgD2TtIbIoPLepevovu09Lznjq7jqqelhd3g3HL9bNBKcG/rrUc27ANG6oMHFxN4 eFEm4UJHyu581QjrS1yaAXH0Ya46wOWoODnJVGMrPTv40TEvt/Mx1Ep7/c+WCSIp0R5J PfZF8LIATb+1mq2FO1Yeu7WhvKpT9bxxuxuTzCjkVCpW6sNyEKQVR/uivaP1P9PAYFKh bBS1LJYrY2aK4i3YfDWozBePQgZuHPgb5AK9BMJ49AJH11E7Aisi5yrgkBoqfXpPX9RI oIiyyKzaKmd0+D1g5cSX4M0rcwZfb1cD+6hzi7EZQ0tUNEgCzOJ46Zu4FZyI63BuVJvn qa7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=CdclwL2z; 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 ch7si5650775ejb.689.2020.08.31.07.08.47; Mon, 31 Aug 2020 07:09:12 -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=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=CdclwL2z; 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 S1726858AbgHaOFV (ORCPT + 99 others); Mon, 31 Aug 2020 10:05:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726144AbgHaOFL (ORCPT ); Mon, 31 Aug 2020 10:05:11 -0400 Received: from mail-ed1-x544.google.com (mail-ed1-x544.google.com [IPv6:2a00:1450:4864:20::544]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DFC33C061573 for ; Mon, 31 Aug 2020 07:05:10 -0700 (PDT) Received: by mail-ed1-x544.google.com with SMTP id n13so5532062edo.10 for ; Mon, 31 Aug 2020 07:05:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:autocrypt:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=6Ry2Q0kzv/qurwxYMhXYJrzUcomQoSuew+ttulBrFuY=; b=CdclwL2zPX2jHjO37vT6RFNbgyydLdmvz/680TEtg8MQwEj75QYd+f0g7taLlLln4I Zj8eZZEjX3vgheePgU8mAN7kUnhREtKUv1VvQH0kQyYnuuo6mnZ4kBi9/P/XjEN5Tor6 pPICpaE7RiaNsnMXpcGh4Nhxo8U8KW2V5z5ycCZ9FC9JF9OcuDg/J85a/YgCs7HPmDkR A+ByROk+PFxjro1n9oCSuf9w7enYJd4if0Tr02QHBHxWDNeq2ilVqky8aLI4VB8xbNFd EYYoM2GuMiupt/cm9x7Kx1DsqdUH41Y5h9C+vSsR5OyGdhxuqwR2SBCMBDUFdxvjz1CC HgNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=6Ry2Q0kzv/qurwxYMhXYJrzUcomQoSuew+ttulBrFuY=; b=I9ScuRjiVrog8zwq6dMysq4s7Q/dcU0Pnoz9VB4t+6mfI3AIk4tkXg0PFK1XIn4mU3 Khwd2b2CDOpbHcVk/YdWN8F+Xl6sCkVatAdqN3PoXVFqncxioBWmnqjK13jtrh82M+cA +msFzs6JMwYBq/cbTQ6Dx4J16+/lf9Za3XoTBl32fSavfsegHvgR7+dVpkwpYUC33Ci4 UN3Z6oB0dX8ZengwyYvMBmHoe7DPRiNykL9TNGUTiQV6DYBexwIEg4HvPfgcFNi91NTX /uhdgZarnaiMVAoIDehDDUvQyHObn+YknjHLaa3yVcj5LhB6RWGWjufmnvca+h0bAkRx 4+ww== X-Gm-Message-State: AOAM531GnivJ1w8Lcm+oFvr5WcvvrQUtghpW71SbmL+IrI+8jznTAO+8 k8gD82Z/JjMs7GVsTxsW7NiBZw== X-Received: by 2002:a50:d9c1:: with SMTP id x1mr1449581edj.283.1598882709513; Mon, 31 Aug 2020 07:05:09 -0700 (PDT) Received: from [192.168.0.105] (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id bd13sm7828547edb.38.2020.08.31.07.04.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 31 Aug 2020 07:05:03 -0700 (PDT) Subject: Re: [PATCH] microblaze: fix min_low_pfn/max_low_pfn build errors To: Randy Dunlap , linux-kernel@vger.kernel.org Cc: kernel test robot , linux-mm@kvack.org, Andrew Morton , David Rientjes , Mike Rapoport , Michal Simek , Michal Simek References: <20200829000110.2408-1-rdunlap@infradead.org> From: Michal Simek Autocrypt: addr=monstr@monstr.eu; keydata= xsFNBFFuvDEBEAC9Amu3nk79+J+4xBOuM5XmDmljuukOc6mKB5bBYOa4SrWJZTjeGRf52VMc howHe8Y9nSbG92obZMqsdt+d/hmRu3fgwRYiiU97YJjUkCN5paHXyBb+3IdrLNGt8I7C9RMy svSoH4WcApYNqvB3rcMtJIna+HUhx8xOk+XCfyKJDnrSuKgx0Svj446qgM5fe7RyFOlGX/wF Ae63Hs0RkFo3I/+hLLJP6kwPnOEo3lkvzm3FMMy0D9VxT9e6Y3afe1UTQuhkg8PbABxhowzj SEnl0ICoqpBqqROV/w1fOlPrm4WSNlZJunYV4gTEustZf8j9FWncn3QzRhnQOSuzTPFbsbH5 WVxwDvgHLRTmBuMw1sqvCc7CofjsD1XM9bP3HOBwCxKaTyOxbPJh3D4AdD1u+cF/lj9Fj255 Es9aATHPvoDQmOzyyRNTQzupN8UtZ+/tB4mhgxWzorpbdItaSXWgdDPDtssJIC+d5+hskys8 B3jbv86lyM+4jh2URpnL1gqOPwnaf1zm/7sqoN3r64cml94q68jfY4lNTwjA/SnaS1DE9XXa XQlkhHgjSLyRjjsMsz+2A4otRLrBbumEUtSMlPfhTi8xUsj9ZfPIUz3fji8vmxZG/Da6jx/c a0U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V6+56QGpb+4WDMUb0A/o+Xnt R//PfnDsh1KH48AGfbdKSMI83IJd3V+N7FVR2BWU1rZ8CFDFAuWj374to8KinC7BsJnQlx7c 1CzxB6Ht93NvfLaMyRtqgc7Yvg2fKyO/+XzYPOHAwTPM4xrlOmCKZNI4zkPleVeXnrPuyaa8 LMGqjA52gNsQ5g3rUkhp61Gw7g83rjDDZs5vgZ7Q2x3CdH0mLrQPw2u9QJ8K8OVnXFtiKt8Q L3FaukbCKIcP3ogCcTHJ3t75m4+pwH50MM1yQdFgqtLxPgrgn3U7fUVS9x4MPyO57JDFPOG4 oa0OZXydlVP7wrnJdi3m8DnljxyInPxbxdKGN5XnMq/r9Y70uRVyeqwp97sKLXd9GsxuaSg7 QJKUaltvN/i7ng1UOT/xsKeVdfXuqDIIElZ+dyEVTweDM011Zv0NN3OWFz6oD+GzyBetuBwD 0Z1MQlmNcq2bhOMzTxuXX2NDzUZs4aqEyZQ= Message-ID: Date: Mon, 31 Aug 2020 16:04:56 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <20200829000110.2408-1-rdunlap@infradead.org> 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 Hi, On 29. 08. 20 2:01, Randy Dunlap wrote: > Fix min_low_pfn/max_low_pfn build errors for arch/microblaze/: (e.g.) > > ERROR: "min_low_pfn" [drivers/rpmsg/virtio_rpmsg_bus.ko] undefined! > ERROR: "min_low_pfn" [drivers/hwtracing/intel_th/intel_th_msu_sink.ko] undefined! > ERROR: "min_low_pfn" [drivers/hwtracing/intel_th/intel_th_msu.ko] undefined! > ERROR: "min_low_pfn" [drivers/mmc/core/mmc_core.ko] undefined! > ERROR: "min_low_pfn" [drivers/md/dm-crypt.ko] undefined! > ERROR: "min_low_pfn" [drivers/net/wireless/ath/ath6kl/ath6kl_sdio.ko] undefined! > ERROR: "min_low_pfn" [crypto/tcrypt.ko] undefined! > ERROR: "min_low_pfn" [crypto/asymmetric_keys/asym_tpm.ko] undefined! > > Mike had/has an alternate patch for Microblaze: > https://lore.kernel.org/lkml/20200630111519.GA1951986@linux.ibm.com/ > > David suggested just exporting min_low_pfn & max_low_pfn in > mm/memblock.c: > https://lore.kernel.org/lkml/alpine.DEB.2.22.394.2006291911220.1118534@chino.kir.corp.google.com/ > > Reported-by: kernel test robot > Signed-off-by: Randy Dunlap > Cc: linux-mm@kvack.org > Cc: Andrew Morton > Cc: David Rientjes > Cc: Mike Rapoport > Cc: Michal Simek > Cc: Michal Simek > --- > arch/microblaze/mm/init.c | 3 +++ > 1 file changed, 3 insertions(+) > > --- linux-next-20200825.orig/arch/microblaze/mm/init.c > +++ linux-next-20200825/arch/microblaze/mm/init.c > @@ -46,6 +46,9 @@ unsigned long memory_size; > EXPORT_SYMBOL(memory_size); > unsigned long lowmem_size; > > +EXPORT_SYMBOL(min_low_pfn); > +EXPORT_SYMBOL(max_low_pfn); > + > #ifdef CONFIG_HIGHMEM > pte_t *kmap_pte; > EXPORT_SYMBOL(kmap_pte); > Acked-by: Michal Simek Mike: Feel free to take it via memblock tree as you mentioned in alternate patch. Thanks, Michal -- Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Xilinx Microblaze Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs