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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id C6A22C4332F for ; Wed, 9 Mar 2022 15:08:35 +0000 (UTC) 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=Ne4BA8Hm7DaR+CPl6dpx1kCPakBS8D41mPA0KLuEz2Q=; b=DaBBdzBvypr67L Ke38Tzbr/TU49eJtcBzu6pctY2hvUQ+jQ12feguERcNaSBwt7iUxfgv1CRF0H14irCSwb6464qJHG cIoHxTB9H0dmp9KaSbV1dYmyrZ59MP+xOiglgu982uik5//S/LcFAyZD01XfNnnJM4Vmbeysv2YgW KAKKh7sZcGFRcsmZgVsBJqgqfNZOnNKC5i2tdikSK0gRmaYyPq0Ulw7uZg6aA70mkh+U6sSM+k4DF JzUoUEzbdbAAi0yNX5lqwLjhyuSp5MUtwb+cAW1t8Ctoc5DX8oB/LCS339fMdDwPASQlPWxIDKIse O3TvGvjshjpKqyckHngA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nRxuB-00974u-F6; Wed, 09 Mar 2022 15:07:11 +0000 Received: from pandora.armlinux.org.uk ([2001:4d48:ad52:32c8:5054:ff:fe00:142]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nRxu7-00973B-Hx for linux-arm-kernel@lists.infradead.org; Wed, 09 Mar 2022 15:07:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=CJjpvJ4D4oTHJIjBPxT3Y89iE6XRNUaLU9GXpNtInfs=; b=H7OaOGWjz19gTjjW4S4SqlPnjc a5h0H3XnKuP2v/h+dtFrdEgwN6wzr7OyrYdu6GA5cvXsD7jhiOiNS9Ul8PC1SMlshTQOpILMLft64 GvTxp/TgNH2Sv/LnYe1t1H51u2cMSp9bb+ZxnquJgWs8NC9RKKnsz4AqtCEQZDaHHPrsx1B3RyIrK KwGdQQuU/0FrDGGzExnbUcqhJS0ETYJKJVwasum8XWSiYeTcUmEhcnRrAi5OFFK6UNGMmjiuj2MxZ E3eqMaXoymwhaNJmPv6ZmGvJcOAdW0m8baVUq3xQFSIgkY2Yy4NtKFOuYTbfU5LF4hFb0rAqG2ofU mNITWItQ==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:57744) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nRxu0-0001yY-8z; Wed, 09 Mar 2022 15:07:00 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1nRxtw-000828-Uq; Wed, 09 Mar 2022 15:06:56 +0000 Date: Wed, 9 Mar 2022 15:06:56 +0000 From: "Russell King (Oracle)" To: Ard Biesheuvel Cc: Naresh Kamboju , open list , Linux-Next Mailing List , Linux ARM , Linus Walleij , Arnd Bergmann , Corentin Labbe , Stephen Rothwell Subject: Re: [next] arm: Internal error: Oops: 5 PC is at __read_once_word_nocheck Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220309_070707_619959_AA4B8950 X-CRM114-Status: GOOD ( 19.64 ) 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, Mar 09, 2022 at 03:57:32PM +0100, Ard Biesheuvel wrote: > On Wed, 9 Mar 2022 at 15:44, Naresh Kamboju wrote: > > > > On Wed, 9 Mar 2022 at 19:37, Naresh Kamboju wrote: > > > > > > On Wed, 9 Mar 2022 at 16:16, Ard Biesheuvel wrote: > > > > > > > > On Wed, 9 Mar 2022 at 11:37, Russell King (Oracle) > > > > wrote: > > > > > > > > > > On Wed, Mar 09, 2022 at 03:18:12PM +0530, Naresh Kamboju wrote: > > > > > > While boting linux next-20220308 on BeagleBoard-X15 and qemu arm the following > > > > > > kernel crash reported which is CONFIG_KASAN enabled build [1] & [2]. > > > > > > > > > > The unwinder is currently broken in linux-next. Please try reverting > > > > > 532319b9c418 ("ARM: unwind: disregard unwind info before stack frame is > > > > > set up") > > > > I have reverted the suggested commit and built and boot failed due to reported > > kernel crash [1]. > > > > - Naresh > > > > Thanks Naresh, > > This looks like it might be related to the issue Russell just sent a fix for: > https://lore.kernel.org/linux-arm-kernel/CAMj1kXEqp2UmsyUe1eWErtpMk3dGEFZyyno3nqydC_ML0bwTLw@mail.gmail.com/T/#t > > Could you please try that? Well, we unwound until: __irq_svc from migrate_disable+0x0/0x70 and then crashed - and the key thing there is that we're at the start of migrate_disable() when we took an interrupt. For some reason, this triggers an access to address 0x10, which faults. We then try unwinding again, and successfully unwind all the way back to the same point (the line above) which then causes the unwinder to again access address 0x10, and the cycle repeats with the stack growing bigger and bigger. I'd suggest also testing without the revert but with my patch. Thanks. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel