Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp457456imw; Thu, 14 Jul 2022 04:53:14 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vMx9x1uXQmlCX20F+KcDKQRnmE78xS8F2AZcGY0ZJ+T4lYs/CQFe9uC0m43TTuD6F++vFE X-Received: by 2002:a17:902:6a88:b0:16a:901:3c7c with SMTP id n8-20020a1709026a8800b0016a09013c7cmr8450512plk.100.1657799594437; Thu, 14 Jul 2022 04:53:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657799594; cv=none; d=google.com; s=arc-20160816; b=yN8/ie1uRL0tYGG4sCZFWzh1/2CXzkpnoeGLScyVlR0SMe0p0qKACW6JfVAnZcJUzO OCLPjNdxYoMvnffs6U6QLBt0ItOVbaM8OkxQl6acZV7FXBbteEy+5JbiASPv8Cea2l5o +8ZGzsCKlUs4HVebq/34Sq3DtuwuaEx0aJ5IAI8ha86wzuWw1mbdzagAIl8Xk2W6Hd1g 9svwUWyz4flcZ6mewUFeQ/G1k02DwKXzioJAWmlZsnm0Ai6mUlGxYLTOcsxEEKxqrj4X VYRqreKy5d5LkLQiusaA1XfcViVHzMDotkUb6cklVKzfSrfWQsCuMOnOY6qe9y944iXT swZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Ylc+9PYsKmtxWk4pAeRGwL9scwmc54Pm1DpOOb5LRdI=; b=rtVefiuvZYzhKD/Od/zkREIqlcMZiw0PCEXRFCN6bZyEuNxMZ7yNHG3qfYb823d/MH xnLEeIbrX8+CciO1vD/p6FwihnMEooWj/wSSXcVPDyWSPI5kH6MveJ/tbpux92KdwNqt Kc0xAUCD3N1OiEXJo1Qa98QY7llkClqtw0tuujGYrbYgN7Pq2wtb52yMH5wx2rxeZ7dt OmsAxGr25FQzHfA0VfndDRRvt0wM5LFIwQvXbMP7oiqqShtMfq+hlKch5nPMmYqsqf0Q d+kIsUZ9hBeaXJudMjnXYbnClWs7xmJPX9kG+yZ9N471Wb/i7Og4oBgBUdisGjXBpJDz OaZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SwPu+c5q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h190-20020a6383c7000000b004199286220dsi1703794pge.25.2022.07.14.04.53.02; Thu, 14 Jul 2022 04:53:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SwPu+c5q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239003AbiGNLhN (ORCPT + 99 others); Thu, 14 Jul 2022 07:37:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50368 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238050AbiGNLhJ (ORCPT ); Thu, 14 Jul 2022 07:37:09 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 75EFF5A2DE; Thu, 14 Jul 2022 04:37:08 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 1297061C47; Thu, 14 Jul 2022 11:37:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EB3ECC34115; Thu, 14 Jul 2022 11:37:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657798627; bh=xkb6opBAxI+SFBAgLXN/9AryGAOZRikgAkC+i4w8Uhc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=SwPu+c5quI97M2cWmKO6K7vaWUI4RQvjpT6IsTzFnJMQLAXq9gM1oaA1Jx9Dau2Nq q7iTyQDdzGgEBRbeVR5dcOBbVF4PsKnZg3WIpYk1Na/3n9qcOhFDQkpJIHMGMRZULE p0tejvniIrSHXf2IxO9E+O4Rko6pklnRtypdwnMmczcH6Xklk3ZNs3oFlyJKfnbSIv Eqm++NccuvVRK5oZ59GPy8Hn+0CD77+41mCovNW6MwxBxTTfahqCna1l9kLpdIID9/ r8x4Xc90cQXk+qW/MKFozgovbz+1TNejz4ASQvqNFTvW21WsUtIBWMjT4VC9rsVPPw G2i++Mx6esFOQ== Date: Thu, 14 Jul 2022 12:37:01 +0100 From: Mark Brown To: Naresh Kamboju Cc: open list , Linux-Next Mailing List , Linux ARM , lkft-triage@lists.linaro.org, regressions@lists.linux.dev, Catalin Marinas , Will Deacon , Mark Rutland , Arnd Bergmann , Anders Roxell , Aishwarya TCV Subject: Re: FVP: kernel BUG at arch/arm64/kernel/traps.c:497 - Internal error: Oops - BUG: 0 Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="mp2w4DZId8/NmPQ+" Content-Disposition: inline In-Reply-To: X-Cookie: The devil finds work for idle glands. X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --mp2w4DZId8/NmPQ+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 14, 2022 at 01:07:32AM +0530, Naresh Kamboju wrote: > Here I am providing the available data. > Let me know what I am missing here, so that I will update my setup. > Thanks in advance. > Fast Models 11.17.21 (Feb 16 2022) 11.18 was released since (not that it should make any difference to this issue). > https://storage.tuxboot.com/fvp-aemva/tf-bl1.bin > https://storage.tuxboot.com/fvp-aemva/fvp-base-revc.dtb > https://storage.tuxboot.com/fvp-aemva/fip-uboot.bin Where did you get the TF-A and u-boot from - what versions are they and how are they configured and built? Especially TF-A, u-boot isn't likely to cause any issues here since it isn't responsible for initialising the higher ELs. That said I do seem to be able to boot with those images on my system - it looks like a debug build of TF-A 2.5 and a modified version of u-boot 2021.04. There's newer releases of both, especially with TF-A I'd recommend keeping up with new releases though it doesn't *immediately* look like your issue here. > https://builds.tuxbuild.com/2BnQMpJj3kDTJXoCwd2pY5gW9CN/Image.gz > https://builds.tuxbuild.com/2BnQMpJj3kDTJXoCwd2pY5gW9CN/modules.tar.xz > --data cluster0.cpu0=3D/tuxrun-r4_1075p-lava-1/fvp-base-revc.dtb@0x8600= 0000 > --data cluster0.cpu0=3D/tuxrun-r4_1075p-lava-1/Image@0x80080000 > -C pctl.startup=3D0.0.0.0 > -C bp.secure_memory=3D0 You don't seem to have -C cluster0.mpidr_layout=3D1=20 -C cluster1.mpidr_layout=3D1=20 though I would expect that the system wouldn't get as far as it was without that, it doesn't seem to when I try testing here - it dies running TF-A. You might also want to turn on a few more options -C cluster0.has_fgt=3D1 -C cluster1.has_fgt=3D1 -C cluster0.memory_tagging_support_level=3D3 -C cluster1.memory_tagging_support_level=3D3 -C bp.dram_metadata.is_enabled=3D1=20 to turn on fine grained traps and MTE, plus at least the newer model has more base architecture extensions, though these shouldn't be the issue here. They don't seem to be (and shouldn't be) relevant here though. FGT is an EL2 feature so it'd die earlier. --mp2w4DZId8/NmPQ+ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmLP/9wACgkQJNaLcl1U h9CO2wgAgqBbvnchOc5rWP9J6VZBafqaSkOTJ+F0vZMUJlnTHoJkxMniYeLj6mwH /z+5LKxlGS6P9OyoQ6mwpZxBJyuBgZDp2ps/vqnZiEUEvNhyve017Ad3vZZ7no2I 65W4ZuuokYI0RnXo74cnqDJDwch3XR8l60LAis92D6pmoqKP5+MYgN15DrhEfTHr pi6+Zx08ZqkcMLxeeUq77g9nTYZ4iSwH5+D1Dm2YxT+jSFneogfH/6zLFf/w1Cgo yAruxTrk2EzaHs3b/sqnpogLvFUREqrMlkN2n1EHlmSJv7LQD0WnSLZyvMEbsBnl LM65RgF0G5UWCsgBIwFpqAnIxFtWDw== =KuQS -----END PGP SIGNATURE----- --mp2w4DZId8/NmPQ+--