Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp657051pxm; Wed, 2 Mar 2022 06:05:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJyYfNvLygoTjOZQbDo7gKfeJdIeN+vNZ3gQm9BMghf7AfIGQqs5ndbkun0BOTrUfmRWV3yr X-Received: by 2002:a17:907:161e:b0:6d7:16bf:4998 with SMTP id hb30-20020a170907161e00b006d716bf4998mr4882269ejc.292.1646229918813; Wed, 02 Mar 2022 06:05:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646229918; cv=none; d=google.com; s=arc-20160816; b=GRVCWU+nX/NR57IKZB7bj71vwABtNz7kLJk69T4o6wHjQjuOSbawhClOOo54g0F67a G6iedP4iqIZIDJqFXd8a6LjsGuc+1lBagSShWE+M6rkNxGCgoMDTzeC/IeXz9cvycsb6 LPYeF5RVxu4Oa5DLCzMIk00RrM75DvAZYhhOmF1hdR0jsau3NqnD4PxE6srLizJFPtmb d1lJ4yktAT/1q4lKkXOPQelwPQgDebM+L7ugWC21lIMdIASfeQX2T2eUiHjXX4cHeBoQ kTmI0yDJLXyY40qDR3dsgTtx96gYo0kYlfbFM5VQ88ML5QIf/6D0L1EIKnqNuf+F2z/e TzZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=xOjxxbjIvHJEQNgG9MHTzXo9CLrsd8jMw0niJ2NBupE=; b=mR4xr9R52QW0BARdpplucycCavk2xAUDqBaYFG+ZKoX/4/J9FhHo3uxbr9jDwgeXST Tgt1cskYYK5L8Pbr3zUKQGQi4tNB4ugEv/AQXAl1ZOiaIQtTWQAy2yqB4OvA3lEuVlvp sxx4QUjY/m8P/RweaGYUNEVYUFdASrdQdmU0WPPDZvHkjYJeMN+wrszV6lFiJpr534Js l2RLZp2RUmZ+g8r1ansnTR2XHeh3eaXXzoel6TC1iWtg+pNce6A4jTUlOSBMfZas821b Max5e/E2TiIL20G4b6t0xuV9g43qEDiNYlTDyJOQzTsv7hW66CEz3wbOOhtvllbbULkF T2hQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=JC3WTs6K; 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=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g8-20020a17090670c800b006d0c18ecbafsi9692213ejk.474.2022.03.02.06.04.55; Wed, 02 Mar 2022 06:05:18 -0800 (PST) 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=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=JC3WTs6K; 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=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239571AbiCBLNf (ORCPT + 99 others); Wed, 2 Mar 2022 06:13:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48018 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229973AbiCBLNb (ORCPT ); Wed, 2 Mar 2022 06:13:31 -0500 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71FA025CC for ; Wed, 2 Mar 2022 03:12:43 -0800 (PST) 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=xOjxxbjIvHJEQNgG9MHTzXo9CLrsd8jMw0niJ2NBupE=; b=JC3WTs6K5N5U0vX4VYEytwdASQ URkqrzIMyreoN305X2fZbNGjjihzsrNblNn/2BpTNiQUCrYCj9oEF3aSIO9fMGq/JLDxHNBfXiQje X4bpI3aLp105qQe4S4pcbaEO67Bzus93kIgQeste+JjG8yjmLQvwtZbs3WiwwqbJK0bXl15tRmRzx WubZkhcwNZR4+mXRY7LcP7ZWs+sn0OQavK183X+yMrz4GceNfnPwt6BGFNVBuS42j5i/HTq1jdXNq vf2beZ7wnaZ2OSHqOY0HHcKw+L1N9/n1HrbUorMq6WXtN6ENY7uhSWapZCzjv4BsoQfEPG/jNWcaI KzXvdE8Q==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:57590) 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 1nPMuL-0002JR-9v; Wed, 02 Mar 2022 11:12:37 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1nPMuJ-00085T-Gt; Wed, 02 Mar 2022 11:12:35 +0000 Date: Wed, 2 Mar 2022 11:12:35 +0000 From: "Russell King (Oracle)" To: Corentin Labbe Cc: Ard Biesheuvel , Linus Walleij , Arnd Bergmann , Linux ARM , Linux Kernel Mailing List Subject: Re: boot flooded with unwind: Index not found Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: Russell King (Oracle) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE, 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 On Wed, Mar 02, 2022 at 11:09:49AM +0100, Corentin Labbe wrote: > The crash disappeared (but the suspicious RCU usage is still here). As the trace on those is: [ 0.239629] unwind_backtrace from show_stack+0x10/0x14 [ 0.239654] show_stack from init_stack+0x1c54/0x2000 unwind_backtrace() and show_stack() are both C code, the compiler will emit the unwind information for it. show_stack() isn't called from assembly code, only from C code, so the next function's unwind information should also be generated by the compiler. However, init_stack is not a function - it's an array of unsigned long. There is no way this should appear in the trace, and this suggests that the unwind of show_stack() has gone wrong. I don't see anything obvious in Ard's changes that would cause that though. Did it used to work fine with previous versions of linux-next - those versions where we had Ard's "arm-vmap-stacks-v6" tag merged in (commit 2fa394824493) and did this only appear when I merged "arm-ftrace-for-rmk" (commit 74aaaa1e9bba) ? Did merging "arm-ftrace-for-rmk" cause any change in your .config? -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!