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 DEB8AC433EF for ; Sun, 17 Apr 2022 21:39:05 +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=QKk7J1x83iLRSwkZa3ZY8COG9gElHly3seIEj1GSAmk=; b=eO6Dc0EuvsSF3g KfeZQ4Os6BFpmtWNTevnT3nqD9PZRhmHWpWL/V7LG+pZGYnuHaXKbEEFa6RpPNijDkeROTuwzelx8 6UCKQ6NyeySNTAy80oIQfUnh365GgzodT483hXC1QzzzAcNxRij//7kAr2d/Qcv9+IJuynB7B4cpr rHiQNd3sxYq2TZE/ZRRzEs5g8wKQozVykkUwgFySiLmppBpgmrJKLFcl1jTUEyiH7zRHN2TGpWDns QCHysmk83LE5CnfGBYIO00tnC6wDV+pSbFG0Hfs1l/WvFVa2G3skTTgi7OZIGApNAQNssadnYAHmT ssAfp9VYv6wvaGBZhlAw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ngCam-00F0F3-AE; Sun, 17 Apr 2022 21:38:00 +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 1ngCai-00F0EY-Mj for linux-arm-kernel@lists.infradead.org; Sun, 17 Apr 2022 21:37:58 +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=ktZT26pD6ugTCaIJ8GEgt2ZdilYJ8ARxIKWzeEr/mng=; b=nqag5EDcE2ap4gklXJldqnsSrw 4c6UgFhPFpk26Yf71ZsXaEkwUJlsvjmPXmxVhB5ff9bsx8i/9nI2u/sZpnGo9ZZ6huMD1Pu9Q1Anu n+IG2LkbpJgDPRS4EI7vd3eYF9fFKToQ8JAV7scTt6pM9GVASNpn+XVPoDeD+8mncDj3TLQ+cDBxN BJu2WUX89mVx7Z0MSbl28bBARRXfAIbcNueNhwXGhf3q2UBs3QRhvw3mhLbqpOBYdFOUZZZDKaPJw r72gWU47QGZufuKnqpmcra5OpceICxNKoky5gbWNBio4iyyEqhAmGlgaEuXjDSuVbC99F2q75ncIz EfJWhfWA==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:58306) 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 1ngCad-0007YZ-S4; Sun, 17 Apr 2022 22:37:51 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1ngCab-0007Tt-9X; Sun, 17 Apr 2022 22:37:49 +0100 Date: Sun, 17 Apr 2022 22:37:49 +0100 From: "Russell King (Oracle)" To: Mark Brown Cc: Catalin Marinas , kernelci-results@groups.io, bot@kernelci.org, gtucker@collabora.com, linux-arm-kernel@lists.infradead.org Subject: Re: mainline/master bisection: baseline.login on odroid-xu3 Message-ID: References: <625c0133.1c69fb81.448c1.e6db@mx.google.com> 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-20220417_143756_779170_00C4477D X-CRM114-Status: GOOD ( 20.57 ) 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 Sun, Apr 17, 2022 at 10:27:58PM +0100, Russell King (Oracle) wrote: > On Sun, Apr 17, 2022 at 08:35:29PM +0100, Mark Brown wrote: > > On Sun, Apr 17, 2022 at 04:59:47AM -0700, KernelCI bot wrote: > > > > The KernelCI bisection bot found a boot regression on Odroid-XU3 with > > commit 8d9d651ff2270 (ARM: use LOADADDR() to get load address of > > section). It appears to trigger a deadlock somehow at some point after > > the secondary CPUs come up: > > If the primary CPU is still happy, then the secondary CPUs should be. > Quite simply, if something is broken in the setup of the vectors, the > primary CPU would also be affected by this commit. However... > > > <6>[ 0.133301] smp: Bringing up secondary CPUs ... > > <6>[ 0.138439] CPU1: thread -1, cpu 1, socket 1, mpidr 80000101 > > <6>[ 0.139400] CPU2: thread -1, cpu 2, socket 1, mpidr 80000102 > > <6>[ 0.140325] CPU3: thread -1, cpu 3, socket 1, mpidr 80000103 > > <6>[ 0.141167] CPU4: thread -1, cpu 0, socket 0, mpidr 80000000 > > <6>[ 0.141185] CPU4: Spectre v2: using ICIALLU workaround > > <6>[ 0.168676] CPU4: Spectre BHB: using loop workaround > > Given that there was a problem with the loop implementation, please > ensure that when you bisect, you have the following commit in place > every time you test a bisect point: > > 6c7cb60bff7a ("ARM: fix Thumb2 regression with Spectre BHB") > > Otherwise, yes, it is known that Thumb2 will be broken. Also, I should say, if this commit is really the case: 8d9d651ff227 ("ARM: use LOADADDR() to get load address of sections") then I need to see two vmlinux binaries (the decompressed kernel ELF image) for analysis of why this commit is causing the failure. Basically, I need to disassemble the code and see what the toolchain is doing to screw up the kernel. If it isn't obvious from that, then I have no idea why this commit would cause such a strange regression. -- 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