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 X-Spam-Level: X-Spam-Status: No, score=-5.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 523A2C47088 for ; Wed, 26 May 2021 15:07:52 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1B5506139A for ; Wed, 26 May 2021 15:07:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1B5506139A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=u5913cM0GJ6O1GiL7yaaBduna50Ft7LX79sLC+kzetw=; b=hm5Uwabf+Up3zR funScV21iOeNTDxXRSuZp5LLZQXUMDf69dEKT1KURYliFnEiK3Alt25oVJsfXumLmwKWGmS1iNe1i 1jLQE80+wfC90wmKPyhZ0PFZvr0b3OAlefCJNdpc2EFtbU4mV847bH4byB0aJ9aa1VCiSgsTs2TEu 9TOVWkN5RhuWRFizLOR094rgJU4atw6NtgOYJizrRSURmPPPEY1rg/bkG9Jcl9fd55Q/1KSB2CivD O7yHIepyJnSmrRAalHvGkTpjMEmjIInsFNF2/iwddX3xHvyyUNodVX8omsQMQHSBXh9EH0aYtoD6h JLz6XqmUNjv/NmIO9vnw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1llv6E-00FBZi-4e; Wed, 26 May 2021 15:05:35 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lltT4-00ENyM-Kt for linux-arm-kernel@lists.infradead.org; Wed, 26 May 2021 13:21:07 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 64B35613C3; Wed, 26 May 2021 13:20:59 +0000 (UTC) Date: Wed, 26 May 2021 14:20:56 +0100 From: Catalin Marinas To: Will Deacon Cc: Naresh Kamboju , Linux-Next Mailing List , linux-mm , Linux ARM , lkft-triage@lists.linaro.org, regressions@lists.linux.dev, Arnd Bergmann , Andrew Morton , Mike Rapoport , Ard Biesheuvel , Stephen Rothwell , Anders Roxell Subject: Re: [next] arm64: boot failed next-20210526 Message-ID: <20210526132056.GE19992@arm.com> References: <20210526131936.GA19341@willie-the-truck> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210526131936.GA19341@willie-the-truck> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210526_062102_792072_2481E8CC X-CRM114-Status: GOOD ( 15.14 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, May 26, 2021 at 02:19:37PM +0100, Will Deacon wrote: > On Wed, May 26, 2021 at 06:12:34PM +0530, Naresh Kamboju wrote: > > While booting Linux next-20210526 tag on arm64 the following crash noticed. > > > > [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] > > [ 0.000000] Linux version 5.13.0-rc3-next-20210526 > > (tuxmake@52aac593b9ff) (aarch64-linux-gnu-gcc (Debian 11.1.0-1) > > 11.1.0, GNU ld (GNU Binutils for Debian) 2.36.1) #1 SMP PREEMPT Wed > > May 26 08:29:48 UTC 2021 > > [ 0.000000] Machine model: linux,dummy-virt > > [ 0.000000] earlycon: pl11 at MMIO 0x0000000009000000 (options '') > > [ 0.000000] printk: bootconsole [pl11] enabled > > [ 0.000000] efi: UEFI not found. > > [ 0.000000] NUMA: No NUMA configuration found > > [ 0.000000] NUMA: Faking a node at [mem > > 0x0000000040000000-0x00000000bfffffff] > > [ 0.000000] NUMA: NODE_DATA [mem 0xbfc00d40-0xbfc03fff] > > [ 0.000000] Zone ranges: > > [ 0.000000] DMA [mem 0x0000000040000000-0x00000000bfffffff] > > [ 0.000000] DMA32 empty > > [ 0.000000] Normal empty > > [ 0.000000] Device empty > > [ 0.000000] Movable zone start for each node > > [ 0.000000] Early memory node ranges > > [ 0.000000] node 0: [mem 0x0000000040000000-0x00000000bfffffff] > > [ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x00000000bfffffff] > > [ 0.000000] cma: Reserved 32 MiB at 0x00000000bb800000 > > [ 0.000000] kasan: KernelAddressSanitizer initialized > > [ 0.000000] psci: probing for conduit method from DT. > > [ 0.000000] psci: PSCIv1.0 detected in firmware. > > [ 0.000000] psci: Using standard PSCI v0.2 function IDs > > [ 0.000000] psci: Trusted OS migration not required > > [ 0.000000] psci: SMC Calling Convention v1.1 > > [ 0.000000] percpu: Embedded 500 pages/cpu s2009624 r8192 d30184 u2048000 > > [ 0.000000] ------------[ cut here ]------------ > > [ 0.000000] kernel BUG at arch/arm64/kernel/traps.c:406! > > [ 0.000000] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP > > [ 0.000000] Modules linked in: > > [ 0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G T > > 5.13.0-rc3-next-20210526 #1 c8ad07b8a918e7b0a25b795f9cc1c902737164cf > > [ 0.000000] Hardware name: linux,dummy-virt (DT) > > [ 0.000000] pstate: 404000c5 (nZcv daIF +PAN -UAO -TCO BTYPE=--) > > [ 0.000000] pc : do_undefinstr+0x88/0xc0 > > [ 0.000000] lr : do_undefinstr+0x88/0xc0 > > [ 0.000000] sp : ffff800014267be0 > > [ 0.000000] x29: ffff800014267be0 x28: ffff80001429b040 x27: 0000000000000000 > > [ 0.000000] x26: 0000000000000000 x25: 0000000000000000 x24: 0000000000000000 > > [ 0.000000] x23: 00000000604000c5 x22: ffff800010038528 x21: 0000000002000000 > > [ 0.000000] x20: 0000000000000005 x19: ffff800014267c50 x18: 0000000000000000 > > [ 0.000000] x17: 000c0400bb44ffff x16: 00000032b5503510 x15: 0000000000000000 > > [ 0.000000] x14: 00000000bfc12000 x13: 0000001000000000 x12: 00000000f1f1f1f1 > > [ 0.000000] x11: dfff800000000000 x10: ffff70000284cf44 x9 : ffff8000128bf2e0 > > [ 0.000000] x8 : ffff700002854905 x7 : 1ffff00002854904 x6 : ffff700002854904 > > [ 0.000000] x5 : dfff800000000000 x4 : ffff8000142a4820 x3 : ffff80001429b040 > > [ 0.000000] x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 > > [ 0.000000] Call trace: > > [ 0.000000] do_undefinstr+0x88/0xc0 > > [ 0.000000] el1_undef+0x30/0x80 > > [ 0.000000] el1_sync_handler+0xc0/0x140 > > [ 0.000000] el1_sync+0x7c/0x100 > > [ 0.000000] __cpuinfo_store_cpu+0xe8/0x440 > > [ 0.000000] cpuinfo_store_boot_cpu+0x54/0xb4 > > [ 0.000000] smp_prepare_boot_cpu+0x68/0x1a4 > > [ 0.000000] start_kernel+0x128/0x870 > > [ 0.000000] __primary_switched+0x94/0x98 > > [ 0.000000] Code: aa1403e1 940dda91 b4000074 940dd94f (d4210000) > > [ 0.000000] random: get_random_bytes called from > > oops_exit+0x54/0xc0 with crng_init=0 > > [ 0.000000] ---[ end trace 0000000000000000 ]--- > > [ 0.000000] Kernel panic - not syncing: Oops - BUG: Fatal exception > > [ 0.000000] ---[ end Kernel panic - not syncing: Oops - BUG: Fatal > > exception ]--- > > I'm guessing that's due to the newly introduced read of GMID_EL1, which does > indeed appear to be undefined on cpus without FEAT_MTE2. > > Catalin -- I'll drop your patches for now. Yeah, I just noticed. I'll fix them and repost. -- Catalin _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel