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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8B29FC433EF for ; Fri, 15 Jul 2022 12:28:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234262AbiGOM2x (ORCPT ); Fri, 15 Jul 2022 08:28:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42632 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234794AbiGOM2h (ORCPT ); Fri, 15 Jul 2022 08:28:37 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6187D10BB; Fri, 15 Jul 2022 05:28:35 -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 ams.source.kernel.org (Postfix) with ESMTPS id 01048B82BE8; Fri, 15 Jul 2022 12:28:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0AD41C34115; Fri, 15 Jul 2022 12:28:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657888112; bh=1WQoyyAkCDerK4uyFTm/h5bbBttlBNT3gkioRS+yT4Y=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GtQSWdXWimjAGo9or4zJmG2+2tsw4HN0iHXYVpGNl89aAImmBwL64ArkXHldkKw/I bcGKV1BefgjFF++jixQWnTgaMAnTUx8lGwKv3eYOFFrIY+GqVy/tGdfDlatSjypDVc +vNamPpzPcODKA8y0sUT7EAT3OscJ3cLneHRmJW1uRzXNbqIsz+QM4pHW49ed/CAIc OzrC8zBQmDWAwzBwC+DVCMcnKnbGza6fopTQEAf2C671TLy8PZ8J/rxRHDMRNvH8XG MAs5rUAFiO6gPN0z/i+rNACDwsqCh+Rd5zXlYGkjChseWipB5euOtoGEXkSYm3sJNc QA2OvVZlCct8g== Date: Fri, 15 Jul 2022 13:28:26 +0100 From: Mark Brown To: Naresh Kamboju Cc: Mark Rutland , open list , Linux-Next Mailing List , Linux ARM , lkft-triage@lists.linaro.org, regressions@lists.linux.dev, Catalin Marinas , Will Deacon , 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="H1Sr8Wku87tqrIFD" Content-Disposition: inline In-Reply-To: X-Cookie: You dialed 5483. Precedence: bulk List-ID: X-Mailing-List: linux-next@vger.kernel.org --H1Sr8Wku87tqrIFD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 14, 2022 at 07:35:50PM +0530, Naresh Kamboju wrote: > On Thu, 14 Jul 2022 at 19:09, Mark Rutland wrote: > > When *only* using the initial loading into memory, that blows up in sta= ckdepot > > and with a subsequent bogus pointer dereference (full log below), and w= hen > > loaded via semihosting that just works. Note that my kernel is based on= the > > arm64 for-next/core branch, which itself is based on v5.19-rc3. > > Naresh, please can you fix your boot flow before reporting any further = issues? >=20 > Yes. If you don't *need* to use u-boot for any reason then it might be worth looking into using EDK2 instead, it will dynamically place loaded images so you don't need to worry about size issues unless you actually run out of memory which is a whole other problem. --H1Sr8Wku87tqrIFD Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmLRXWkACgkQJNaLcl1U h9Dsggf8CuVIwr2J6sCd8w1lFG4bdwpcsGZVeZQTGRFo7mhscUcQA/DVbERphMa5 rm/R+juwkEXldiHj1CHQvCBsNsW3a8WuDVVx5BWgiSuwFmKUmr95T4Sj2mNsCXPb T3qKNT9Ub1TA/h1zIpo53co/2p4kl+BaQO9cQm64TTuP4ACX+X8wH7q8oSp/kC2n /Xux0I+gA/BX2U6ppSGaIdBvck/hl5kF4NSaMx6kcojedaX/lpQjdZxUTOsz6rVj DfJ7E2nB38IVH+QJor1+274rd+zPrUNaHJRhKmuEtLMQb+iiSvRBq7se5lHVHFen JxJtedtwJe2QJQkEjSvrSoH6dM3/6Q== =hWus -----END PGP SIGNATURE----- --H1Sr8Wku87tqrIFD--