From patchwork Sat Aug 29 00:01:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 11743831 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 129FB14E5 for ; Sat, 29 Aug 2020 00:01:24 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id BFF2520CC7 for ; Sat, 29 Aug 2020 00:01:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="XnN3KDJe" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BFF2520CC7 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id BA6AD6B0003; Fri, 28 Aug 2020 20:01:22 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id B311C6B0006; Fri, 28 Aug 2020 20:01:22 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A1EC66B0007; Fri, 28 Aug 2020 20:01:22 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0088.hostedemail.com [216.40.44.88]) by kanga.kvack.org (Postfix) with ESMTP id 8BDF56B0003 for ; Fri, 28 Aug 2020 20:01:22 -0400 (EDT) Received: from smtpin12.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 3C5E7181AEF21 for ; Sat, 29 Aug 2020 00:01:22 +0000 (UTC) X-FDA: 77201651604.12.group15_1d0ae0e27079 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin12.hostedemail.com (Postfix) with ESMTP id 0CF771800EB0A for ; Sat, 29 Aug 2020 00:01:22 +0000 (UTC) X-Spam-Summary: 1,0,0,ef57690e35ce06e7,d41d8cd98f00b204,rdunlap@infradead.org,,RULES_HIT:41:355:379:541:800:960:967:973:988:989:1260:1311:1314:1345:1431:1437:1515:1534:1541:1711:1730:1747:1777:1792:2393:2525:2559:2564:2682:2685:2859:2933:2937:2939:2942:2945:2947:2951:2954:3022:3138:3139:3140:3141:3142:3352:3870:3876:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4321:5007:6261:6653:7875:9025:9040:10004:11026:11473:11658:11914:12043:12114:12296:12297:12517:12519:12555:12696:12737:12895:12986:13069:13221:13229:13311:13357:13845:13846:13894:14096:14181:14384:14394:14721:21080:21451:21627:21811:30054:30064,0,RBL:205.233.59.134:@infradead.org:.lbl8.mailshell.net-62.8.55.100 64.201.201.201;04y8fc1pnkgn4hebuyriz5zd8h4x9ocaztx7zedmkskfi9b5ktzig4jbmzoboi5.cmbhqezhkgj1ee3ypqr4oejy7c7rzqyw84wsqygbnu1tntriq78dj8oujq79tsc.r-lbl8.mailshell.net-223.238.255.100,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime: 25,LUA_S X-HE-Tag: group15_1d0ae0e27079 X-Filterd-Recvd-Size: 3418 Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by imf13.hostedemail.com (Postfix) with ESMTP for ; Sat, 29 Aug 2020 00:01:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=VZBQ4C/lsfFT4AafE4ufQjnGxwhG0L0ghO6R1ZlHtsI=; b=XnN3KDJeKJtFNCfoVkMtKlrVyR GlmJsBTNhQI6+RhENQdeipat54DivxP8qth6eEsfzGhg8fOqDRePciLOj5gMOlXHI6o6jaI+DXSSI LP60M35YthVIXePOQaEhPqtqrRcsYcNkm66ozN+fKw7XctxkohKbBhXid8uhPozJZbN4sBp9YQbQm ec9NrtVm5BL4ut3jxGckXwlywN0gvQf5gZ//wpccrVmUTb/CpWFdjv6CRrv/INOPmqgwO2T5GnWDU 2Ti9blJ7Wyq25ggiMhZnj5UnQIceSFeFkWGT3ESMRbilGDE3ZFdYjC77J/2pbgebxMwiNaLWLoa+L nz86w0tw==; Received: from [2601:1c0:6280:3f0::19c2] (helo=smtpauth.infradead.org) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1kBoJ2-0006wn-Kp; Sat, 29 Aug 2020 00:01:17 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , kernel test robot , linux-mm@kvack.org, Andrew Morton , David Rientjes , Mike Rapoport , Michal Simek , Michal Simek Subject: [PATCH] microblaze: fix min_low_pfn/max_low_pfn build errors Date: Fri, 28 Aug 2020 17:01:10 -0700 Message-Id: <20200829000110.2408-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 X-Rspamd-Queue-Id: 0CF771800EB0A X-Spamd-Result: default: False [0.00 / 100.00] X-Rspamd-Server: rspam05 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: 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 Acked-by: David Rientjes Acked-by: 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);