From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4FCF9D3A66F for ; Tue, 29 Oct 2024 16:24:22 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id A96206B009C; Tue, 29 Oct 2024 12:24:21 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id A45276B009D; Tue, 29 Oct 2024 12:24:21 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 8E6946B009E; Tue, 29 Oct 2024 12:24:21 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 7134B6B009C for ; Tue, 29 Oct 2024 12:24:21 -0400 (EDT) Received: from smtpin19.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id DEE3140164 for ; Tue, 29 Oct 2024 16:24:20 +0000 (UTC) X-FDA: 82727161188.19.661774F Received: from nyc.source.kernel.org (nyc.source.kernel.org [147.75.193.91]) by imf02.hostedemail.com (Postfix) with ESMTP id 5398C80014 for ; Tue, 29 Oct 2024 16:23:32 +0000 (UTC) Authentication-Results: imf02.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b="s9/1Oxfn"; spf=pass (imf02.hostedemail.com: domain of rppt@kernel.org designates 147.75.193.91 as permitted sender) smtp.mailfrom=rppt@kernel.org; dmarc=pass (policy=quarantine) header.from=kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1730218901; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=LqW3jaG/bt4ycnq/0fpYN97zEHChSP+Wv6VyTR7B5Y0=; b=TbMKGxWaFUKwAvB3sHUEDLXFdX8GuLPLAlcCju5o6Bi3uQuZ5GBQUeTc61Gf8N/0Hk6qys 8BCxdg/lxNan5BFwPNoRlyh1WUrlcXW8M2KRy5ozk/wu5zictPu7GKEbHDj0VaEmXU84Oi ZcFEwHM+JVzyb+NsWXifvygShogderg= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1730218901; a=rsa-sha256; cv=none; b=E81w6PysR/pR0oorHMU3JGM0CbpOZJSh/RW+1WPOLoCYYzLNSfYjJI3cDENhOeCBveC23p Nkh61e33gYSRab5RPH/a9NssLPSDGcJ0rcxW6CC/OK/vIqESmo/ojxQkfsavZCdmb2ztN4 eppscdf5TOhJTaFffgdbAkr3mn5q70s= ARC-Authentication-Results: i=1; imf02.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b="s9/1Oxfn"; spf=pass (imf02.hostedemail.com: domain of rppt@kernel.org designates 147.75.193.91 as permitted sender) smtp.mailfrom=rppt@kernel.org; dmarc=pass (policy=quarantine) header.from=kernel.org Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id C4442A42E7B; Tue, 29 Oct 2024 16:22:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AB128C4CECD; Tue, 29 Oct 2024 16:24:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1730219058; bh=NOaPvxkToVhU79onE/sW9k0JS2iIC2jJuOMIw51wRx8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=s9/1Oxfn14anXZ89hpcXZKgHXYYEUz+zOs6G3JukRct4h9UUAAeHvuqCn2wcU6xQO /p9IMc4V4mxQFujNSk6RKXn81xudvQDuyQn6u8V2TY/G4ecSFJUACMAUqrPotEmLGi vhHrURVNY6XRelm/0OaJMAuC5TdJgeZiiMBNWdM6TKEezYODxnh0c4k0n4jvJOyred /YK6+zhm8BjAYC8ZkZqWcG2p2p5nWHt18sxfI0330+OuAIiNPAbRQ5MU+adiQ0wnY0 935VVRbOXo6IbMnVXXmjJTe8AS7StekkfYConmC3zBoEDTXa9IXaGaoNIGjUxAZHTB vAn0KPxx9ElRA== Date: Tue, 29 Oct 2024 18:20:22 +0200 From: Mike Rapoport To: Jan Stancek Cc: Zi Yan , linux-mm@kvack.org, Linux ARM , Jonathan.Cameron@huawei.com, dan.j.williams@intel.com, David Hildenbrand , linux-tegra@vger.kernel.org, Thierry Reding , Jonathan Hunter Subject: Re: [bug] aarch64 host no longer boots after 767507654c22 ("arch_numa: switch over to numa_memblks") Message-ID: References: <525593F0-1AA8-4BCB-9B6D-630505C49F10@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Rspamd-Queue-Id: 5398C80014 X-Stat-Signature: unw3bzcwfbyubp5isbbruyppeftfu181 X-Rspamd-Server: rspam09 X-Rspam-User: X-HE-Tag: 1730219012-254245 X-HE-Meta: U2FsdGVkX18UnC8oq3oc7lZSeLPi2B/ZP5ChEFyCJou2iqrjAgm/1xXi1qpwnPTpm4nUwqb0x8Py7RIobj0VJ2OnSPqxxDS+9esAzGwBN++f4CUpX1IoBUN+MhjnEDG6iC9Ly4DebPjERkt+BzOqcsfNAt3JFoDrTjJEt/2ldggl9iwmZPiaN+A779S8PRTavN4UfCv30eTfZGZo5vNsAGwRa2bgO/TRUYvLXnkl0pfAiG90PB+hwOMmZ8vlJ99n+yj0LGBs/rFkoKv6DI/ZoBTdZ5jkpGz3TVCzv6iEAQS+Kcz9e+xmyF9B2fUfqsaStmsYlO/4nPMqnc4RXLSNRq8Irn4g0P5jdn5nke2KxztOIXFPvVE7Gy6msVPt0SBY1gK+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QsQ4iPP0WxHyn2D591JbhHgx4F7c2V29QYqNGt3uGR9R1mgEZsd0AFFWmUsXrHUM1kuX4/elMbIRu8nHgEg== 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: List-Subscribe: List-Unsubscribe: On Tue, Oct 29, 2024 at 04:43:39PM +0100, Jan Stancek wrote: > On Tue, Oct 29, 2024 at 4:07 PM Zi Yan wrote: > > > > +tegra mailing list and maintainers > > > > On 29 Oct 2024, at 8:47, Jan Stancek wrote: > > > > > Hi, > > > > > > I'm seeing a regression on Nvidia IGX system, which no longer boots. > > > > > > bisect points at commit 767507654c22 ("arch_numa: switch over to numa_memblks"). > > > It hangs very early, with 4k or 64k pages, with no kernel messages printed: > > > > > > EFI stub: Booting Linux Kernel... > > > EFI stub: Using DTB from configuration table > > > EFI stub: Exiting boot services... > > > > > > > > > > Is it possible to have earlycon output? It is hard to debug without any > > information except kernel fails to boot. > > I know it was a long shot, so far I haven't had luck getting it to work. Does it boot with numa=off and numa=fake? In the log from successful boot it seems there is no NUMA information in the device tree, can you send the device tree as well please? > > Since the previous commit boots and I assume both kernels are compiled > > with the same gcc toolchain, this should not be caused by the binuils > > bug in 2.42[1]. Is your binutils version 2.42? > > Yes, both are compiled locally, with binutils 2.41 > > > > > Thanks. > > > > > > [1] https://sourceware.org/bugzilla/show_bug.cgi?id=31924 > > > > > Here's a log from successful boot with previous commit: > > > https://people.redhat.com/jstancek/aarch64_numa_boot/console-log-good.txt > > > and config: https://people.redhat.com/jstancek/aarch64_numa_boot/config > > > > > > # lscpu > > > Architecture: aarch64 > > > CPU op-mode(s): 32-bit, 64-bit > > > Byte Order: Little Endian > > > CPU(s): 12 > > > On-line CPU(s) list: 0-11 > > > Vendor ID: ARM > > > BIOS Vendor ID: NVIDIA > > > Model name: Cortex-A78AE > > > BIOS Model name: Not Specified Not Specified CPU @ 0.0GHz > > > BIOS CPU family: 257 > > > Model: 1 > > > Thread(s) per core: 1 > > > Core(s) per cluster: 12 > > > Socket(s): 1 > > > Cluster(s): 1 > > > Stepping: r0p1 > > > CPU(s) scaling MHz: 100% > > > CPU max MHz: 1971.2000 > > > CPU min MHz: 115.2000 > > > BogoMIPS: 62.50 > > > Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 > > > atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp uscat ilrcpc > > > flagm paca pacg > > > Caches (sum of all): > > > L1d: 768 KiB (12 instances) > > > L1i: 768 KiB (12 instances) > > > L2: 3 MiB (12 instances) > > > L3: 6 MiB (3 instances) > > > NUMA: > > > NUMA node(s): 1 > > > NUMA node0 CPU(s): 0-11 > > > Vulnerabilities: > > > Gather data sampling: Not affected > > > Itlb multihit: Not affected > > > L1tf: Not affected > > > Mds: Not affected > > > Meltdown: Not affected > > > Mmio stale data: Not affected > > > Reg file data sampling: Not affected > > > Retbleed: Not affected > > > Spec rstack overflow: Not affected > > > Spec store bypass: Mitigation; Speculative Store Bypass > > > disabled via prctl > > > Spectre v1: Mitigation; __user pointer sanitization > > > Spectre v2: Mitigation; CSV2, BHB > > > Srbds: Not affected > > > Tsx async abort: Not affected > > > > > > Regards, > > > Jan > > > > > > Best Regards, > > Yan, Zi > > > -- Sincerely yours, Mike.