Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp745175ybe; Mon, 2 Sep 2019 08:30:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqw505C+Q36CwHAYVKFzqIEou+tyFd8/CeAZSUQ+ZOQOpetr1HqF0zWcKBhlyng0ZgffUHLQ X-Received: by 2002:a62:1955:: with SMTP id 82mr18985399pfz.256.1567438205961; Mon, 02 Sep 2019 08:30:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567438205; cv=none; d=google.com; s=arc-20160816; b=KIqsAfx4xNeBAFw/ycMIuDIDpD6iuiLm0Cs1gFSlFHygmzRu7mt4IV1IafzIO3spv/ aUY2TdgmKzgirCsrNf/w8DQiWvkRYCSlCUmoa3FW8Bu4NA0X2rsiw7p3v7nUrgkzpFja A6E5xnh4Nx9BVbVy+6O5B+PHnXvQwXMmZdup7XV9UDeGPQUVO4uvWn1p5zBBF2mQ+Sml lrUDm8hKlPZXlSxtTxcjXWa+jDDbMQhjGPxXl2FQTsVvOnYWRfHC0ELAmvaRHjKiseFb 9TxFdV9ilVdJAx0rD7KZjMp4fqbTF6tZf8fZWverLGqEwCwx96eqH4ZTpNiRDaC6JySq j9Ig== 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:mime-version:user-agent:date :message-id:autocrypt:openpgp:from:references:cc:to:subject:reply-to :dkim-signature; bh=IJfZs1FIeN0qAS3R/QbMVOeaCNq5DoNpVOVfOw6okm0=; b=oXmEl2uZvX6Trul1a4LykmSqBrHdXeQXcW14CMr3SS3tQc9lnt1EOSaAp4gz5idF8V LHetM1eLOzVPhefgRo4RuY5VHPcx3W4mxW8tiODWfEJ6qCI5SKdtBNS2nlh7qFX6WVBs kh1NLRZXClL3v7jdif+Vbys4aJ9TN3AIjeSbL7s05Is6wvNh/dQ5wEuHCEy8ppj2kV90 wjfBqZriaT5jB0KTobqNICtsKx1f238cqKFC9YQaaADsv2h+W3mGDNNcAXZGs/mb3XKM sgLbCI9T88sGaH0P2kwCGY6Y+D3H2QLicm9fOGyy0h0Qrl8wC3Q69lAyivAYaMwsjCCN ty3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=LjKbeoJb; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o2si6493654pgm.359.2019.09.02.08.29.50; Mon, 02 Sep 2019 08:30:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=LjKbeoJb; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730356AbfIBNvs (ORCPT + 99 others); Mon, 2 Sep 2019 09:51:48 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:43106 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729823AbfIBNvr (ORCPT ); Mon, 2 Sep 2019 09:51:47 -0400 Received: by mail-wr1-f68.google.com with SMTP id y8so14086478wrn.10 for ; Mon, 02 Sep 2019 06:51:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=reply-to:subject:to:cc:references:from:openpgp:autocrypt:message-id :date:user-agent:mime-version:in-reply-to; bh=IJfZs1FIeN0qAS3R/QbMVOeaCNq5DoNpVOVfOw6okm0=; b=LjKbeoJbg4FdihvJn9aDISNrO90EAmpGT1N3IKTy/vPuIl9FgEr7FCuBkpx4ho0tdL T7rAzussmpl7KgYDWEOxZC+FxlErPA7lF45e1YB/+qfnNZe2D8R0ETPR+ROb2LSN+g3B gdQINPvaILrMSVk0V2QyzpbifvgDNxaKx/2ShZwkONPuqvhdkaQ6Sr92SvvWplCLdS7q tRGIf2/Ulw/Gz7niT9rAGPrWkRB6jwEkx8FF4iXhjtrScc3uEf//gKACByko0YG/H3yR 6ngOkv9IrvIXx9CPrADU8p3G7AKjkRZNMaC/jhbendK8PjUe0+YHJP3NSBXTcelnCsMN r1IQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:reply-to:subject:to:cc:references:from:openpgp :autocrypt:message-id:date:user-agent:mime-version:in-reply-to; bh=IJfZs1FIeN0qAS3R/QbMVOeaCNq5DoNpVOVfOw6okm0=; b=tvMpHRF+s+rREmUW9d8+YWJmJ79wzBtTbcyCL40MVta+wjzKuti+PUHOK8S6fphLd1 b2TNMY8ML8N1uYG46gBIfTRtiykjgyl6EuadP/dq9WNCVTlh9k+ogVn5l1osRzMUUWRI 1eWCyMwf5zrgNwGEI3Z3RE7lcb9H5wnuapzD3tDiCx3TefylIWIGgV1eeB7F9g6GduiB Pu1+leMGTUteMT/Qw0pGVsCtEp7hTWDaRKBTfiGFRvAlTI5tzBbel2D//C0MuLD+QMDQ r/8ZF5u4XbvbeyxrbN+4dLJW2yom2l+8lQrHdiNIbMT8ozOh1he0A2xtFi8MfW2h3G2w g79w== X-Gm-Message-State: APjAAAUq3DBRIn9+y+DumJIFtdK+SmkJ3dt1HvcHGCTuEjs5962cmh5k AQutRxdS1wK8JwqWtAubr2TshQ== X-Received: by 2002:adf:9050:: with SMTP id h74mr36008433wrh.191.1567432303286; Mon, 02 Sep 2019 06:51:43 -0700 (PDT) Received: from [74.125.206.109] ([149.199.62.131]) by smtp.gmail.com with ESMTPSA id 20sm16082340wmj.45.2019.09.02.06.51.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Sep 2019 06:51:42 -0700 (PDT) Reply-To: monstr@monstr.eu Subject: Re: microblaze HAVE_MEMBLOCK_NODE_MAP dependency (was Re: [PATCH v2 0/5] mm: Enable CONFIG_NODES_SPAN_OTHER_NODES by default for NUMA) To: Mike Rapoport , Michal Hocko Cc: Benjamin Herrenschmidt , Heiko Carstens , "open list:MEMORY MANAGEMENT" , Paul Mackerras , "H . Peter Anvin" , "sparclinux@vger.kernel.org" , Alexander Duyck , Will Deacon , "linux-s390@vger.kernel.org" , Michael Ellerman , "x86@kernel.org" , "willy@infradead.org" , Christian Borntraeger , Ingo Molnar , Hoan Tran OS , Catalin Marinas , Open Source Submission , Pavel Tatashin , Vasily Gorbik , Will Deacon , Borislav Petkov , Thomas Gleixner , Vlastimil Babka , Oscar Salvador , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Andrew Morton , "linuxppc-dev@lists.ozlabs.org" , "David S . Miller" , Randy Dunlap References: <730368c5-1711-89ae-e3ef-65418b17ddc9@os.amperecomputing.com> <20190730081415.GN9330@dhcp22.suse.cz> <20190731062420.GC21422@rapoport-lnx> <20190731080309.GZ9330@dhcp22.suse.cz> <20190731111422.GA14538@rapoport-lnx> <20190731114016.GI9330@dhcp22.suse.cz> <20190731122631.GB14538@rapoport-lnx> <20190731130037.GN9330@dhcp22.suse.cz> <20190731142129.GA24998@rapoport-lnx> <20190731144114.GY9330@dhcp22.suse.cz> <20190731171510.GB24998@rapoport-lnx> From: Michal Simek Openpgp: preference=signencrypt Autocrypt: addr=monstr@monstr.eu; prefer-encrypt=mutual; keydata= mQINBFFuvDEBEAC9Amu3nk79+J+4xBOuM5XmDmljuukOc6mKB5bBYOa4SrWJZTjeGRf52VMc howHe8Y9nSbG92obZMqsdt+d/hmRu3fgwRYiiU97YJjUkCN5paHXyBb+3IdrLNGt8I7C9RMy svSoH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P9Fw6fg1SLY9xyszHJ2b5wY/LYu eBGqL7/LnXN7j0ov0QD+I9ThUwZBY1yPv3DUpbtVchCPmE8BiUcPxlAmhNlyBmYJEDd8fyH+ PR+RtCwP/RiiOd4ycB+d9xfVSI7ixtWCiYVZjYGoCfodyUEm/KLXy/xZpRoQZrgaHGXBQ07d XBsWQtFunQ5k9oyWzfntmlgw7OS2fEFyx7k973cvzTpgIodErrwoZaH3gj9NsflTP4Wmm2qj riCRyjPVZfi9Ub4TN/P+YkDgIAGsWns1PsvyLvsc4OOOHO7cNbNs0AmNIihAm52IRpmkuFpj 87GgTV/ZB/kVtKEKjyhvK9JlApnULIWme6WobNHUpHmIhM7t2KLly7chJ5at6RrfTr9Adasm CO6Xn1wIXuMfyojv+ULAaZWFRL+CJjDuzdWLzgSTlMquOX3NkCCV2unW+As7Tld3H00CoCJB 5WOlgSQVIdBK8lLEPJGJ8hT1lGS7p5/j1PBs+6i0yu9PTXgbidWIFgjBB9Wj9S2zwFRKoHaX wQsNt9G6u8axwNqFb9UXIw+LZ0gL/cUAFouTtulm2LTGdrUNk6UhMBrM5ABqJG9fyMvZVX3P EwIAdQuPb2h1QLk5KnknUNikjdIZa9yRC5OnUDwV3ffG4Gsb+xtEL7eTLlbFPgBRUmvy6QbE 9GjRSSvlab6Mj5tocPBA0CSsonfLCiHlOLvjdMsdmX5NDUpDCo5QMSNEfHEmV3p+A/NOQ/Hk Qg41tpHgK85MlNXw6MBWLgdXBSGdD0zVX4S4Gz+vwyY1 Message-ID: Date: Mon, 2 Sep 2019 15:51:25 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20190731171510.GB24998@rapoport-lnx> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="D19tTfHRF2QuIUUzbbAPQ12tjJW2Zl1nR" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --D19tTfHRF2QuIUUzbbAPQ12tjJW2Zl1nR Content-Type: multipart/mixed; boundary="qZIZzQB7m0rVymNdwsbZ2zyiI1LguDOGl"; protected-headers="v1" From: Michal Simek Reply-To: monstr@monstr.eu To: Mike Rapoport , Michal Hocko Cc: Benjamin Herrenschmidt , Heiko Carstens , "open list:MEMORY MANAGEMENT" , Paul Mackerras , "H . Peter Anvin" , "sparclinux@vger.kernel.org" , Alexander Duyck , Will Deacon , "linux-s390@vger.kernel.org" , Michael Ellerman , "x86@kernel.org" , "willy@infradead.org" , Christian Borntraeger , Ingo Molnar , Hoan Tran OS , Catalin Marinas , Open Source Submission , Pavel Tatashin , Vasily Gorbik , Will Deacon , Borislav Petkov , Thomas Gleixner , Vlastimil Babka , Oscar Salvador , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Andrew Morton , "linuxppc-dev@lists.ozlabs.org" , "David S . Miller" , Randy Dunlap Message-ID: Subject: Re: microblaze HAVE_MEMBLOCK_NODE_MAP dependency (was Re: [PATCH v2 0/5] mm: Enable CONFIG_NODES_SPAN_OTHER_NODES by default for NUMA) References: <730368c5-1711-89ae-e3ef-65418b17ddc9@os.amperecomputing.com> <20190730081415.GN9330@dhcp22.suse.cz> <20190731062420.GC21422@rapoport-lnx> <20190731080309.GZ9330@dhcp22.suse.cz> <20190731111422.GA14538@rapoport-lnx> <20190731114016.GI9330@dhcp22.suse.cz> <20190731122631.GB14538@rapoport-lnx> <20190731130037.GN9330@dhcp22.suse.cz> <20190731142129.GA24998@rapoport-lnx> <20190731144114.GY9330@dhcp22.suse.cz> <20190731171510.GB24998@rapoport-lnx> In-Reply-To: <20190731171510.GB24998@rapoport-lnx> --qZIZzQB7m0rVymNdwsbZ2zyiI1LguDOGl Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 31. 07. 19 19:15, Mike Rapoport wrote: > On Wed, Jul 31, 2019 at 04:41:14PM +0200, Michal Hocko wrote: >> On Wed 31-07-19 17:21:29, Mike Rapoport wrote: >>> On Wed, Jul 31, 2019 at 03:00:37PM +0200, Michal Hocko wrote: >>>> >>>> I am sorry, but I still do not follow. Who is consuming that node id= >>>> information when NUMA=3Dn. In other words why cannot we simply do >>> =20 >>> We can, I think nobody cared to change it. >> >> It would be great if somebody with the actual HW could try it out. >> I can throw a patch but I do not even have a cross compiler in my >> toolbox. >=20 > Well, it compiles :) > =20 >>>> diff --git a/arch/microblaze/mm/init.c b/arch/microblaze/mm/init.c >>>> index a015a951c8b7..3a47e8db8d1c 100644 >>>> --- a/arch/microblaze/mm/init.c >>>> +++ b/arch/microblaze/mm/init.c >>>> @@ -175,14 +175,9 @@ void __init setup_memory(void) >>>> =20 >>>> start_pfn =3D memblock_region_memory_base_pfn(reg); >>>> end_pfn =3D memblock_region_memory_end_pfn(reg); >>>> - memblock_set_node(start_pfn << PAGE_SHIFT, >>>> - (end_pfn - start_pfn) << PAGE_SHIFT, >>>> - &memblock.memory, 0); >>>> + memory_present(0, start_pfn << PAGE_SHIFT, end_pfn << PAGE_SHIFT)= ; >>> >>> memory_present() expects pfns, the shift is not needed. >> >> Right. Sorry for slow response on this. In general regarding this topic. Microblaze is soft core CPU (now there are hardcore versions too but not running Linux). I believe there could be Numa system with microblaze/microblazes (SMP is not supported in mainline). This code was added in 2011 which is pretty hard to remember why it was done in this way. It compiles but not working on HW. Please take a look at log below. Thanks, Michal [ 0.000000] Linux version 5.3.0-rc6-00007-g54b01939182f-dirty (monstr@monstr-desktop3) (gcc version 8.2.0 (crosstool-NG 1.20.0)) #101 Mon Sep 2 15:44:05 CEST 2019 [ 0.000000] setup_memory: max_mapnr: 0x40000 [ 0.000000] setup_memory: min_low_pfn: 0x80000 [ 0.000000] setup_memory: max_low_pfn: 0xb0000 [ 0.000000] setup_memory: max_pfn: 0xc0000 [ 0.000000] start pfn 0x80000 [ 0.000000] end pfn 0xc0000 [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000080000000-0x00000000afffffff] [ 0.000000] Normal empty [ 0.000000] HighMem [mem 0x00000000b0000000-0x00000000bfffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 1: [mem 0x0000000080000000-0x00000000bfffffff] [ 0.000000] Could not find start_pfn for node 0 [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000000000000] [ 0.000000] earlycon: ns16550a0 at MMIO 0x44a01000 (options '115200n8'= ) [ 0.000000] printk: bootconsole [ns16550a0] enabled [ 0.000000] setup_cpuinfo: initialising [ 0.000000] setup_cpuinfo: Using full CPU PVR support [ 0.000000] wt_msr_noirq [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=3D1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists, mobility grouping off. Total pages: 0 [ 0.000000] Kernel command line: earlycon [ 0.000000] Dentry cache hash table entries: -2147483648 (order: -13, 0 bytes, linear) [ 0.000000] Inode-cache hash table entries: -2147483648 (order: -13, 0 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Oops: kernel access of bad area, sig: 11 [ 0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 5.3.0-rc6-00007-g54b01939182f-dirty #101 [ 0.000000] Registers dump: mode=3D805B9EA8 [ 0.000000] r1=3D000065A0, r2=3DC05B7AE6, r3=3D00000000, r4=3D0000000= 0 [ 0.000000] r5=3D00080000, r6=3D00080B50, r7=3D00000000, r8=3D0000000= 4 [ 0.000000] r9=3D00000000, r10=3D0000001F, r11=3D00000000, r12=3D0000= 6666 [ 0.000000] r13=3D4119DCC0, r14=3D00000000, r15=3DC05EFF8C, r16=3D000= 00000 [ 0.000000] r17=3DC0604408, r18=3DFFFC0000, r19=3DC05B9F6C, r20=3DBFF= EC168 [ 0.000000] r21=3DBFFEC168, r22=3DEFFF9AC0, r23=3D00000001, r24=3DC06= 06874 [ 0.000000] r25=3DBFE6B74C, r26=3D80000000, r27=3D00000000, r28=3D900= 00040 [ 0.000000] r29=3D01000000, r30=3D00000380, r31=3DC05C02F0, rPC=3DC06= 04408 [ 0.000000] msr=3D000046A0, ear=3D00000004, esr=3D00000D12, fsr=3DFFF= FFFFF [ 0.000000] Oops: kernel access of bad area, sig: 11 --=20 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 --qZIZzQB7m0rVymNdwsbZ2zyiI1LguDOGl-- --D19tTfHRF2QuIUUzbbAPQ12tjJW2Zl1nR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQQbPNTMvXmYlBPRwx7KSWXLKUoMIQUCXW0eXQAKCRDKSWXLKUoM IQSRAJ95LhdDRja4rjrT7nFf2urcLyUsawCgh/Ho29ldM07jS/qDcder85B3TdA= =d2ww -----END PGP SIGNATURE----- --D19tTfHRF2QuIUUzbbAPQ12tjJW2Zl1nR--