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 29014C43334 for ; Wed, 15 Jun 2022 16:50:49 +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=7cDiTYY/B9rjB+w96t/j/QJ2k+NqRzgEG+WVU/TjkMA=; b=hIeDh7CQuYLJyL bKWc/55xQCf0LIhI/ViBisZMAkfb/Lbc7a74EMuVkvimSbxlk6FU/QlzEPksFmV0NudVD3FgkWdgj z74IPZaysHBJhR5kTWCukSHRjzL6m2+1pUvDUbXQcehOEvuf1ROBiHMHclaknOKT81KssRowVd1Lr lEZ9hWFSDc/5Ftv806Aazynl45GzsoipwgdmrpC47QCAPiKAZNiadEiJnfRsAmT8oQoxL0hhT8XDN FQndMrNC31N2O/z5IcksZVlsrWp79+nC/YLfFu2UwijGyq76RgTJcECOY5ErI+26Vx8i9mTdE6SBT Llnlx/vGb4yG5yLltz9w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o1WDB-00FUkT-Cq; Wed, 15 Jun 2022 16:49:45 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o1WD7-00FUiY-B2; Wed, 15 Jun 2022 16:49:44 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 691F2153B; Wed, 15 Jun 2022 09:49:39 -0700 (PDT) Received: from monolith.localdoman (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id CE5EA3F7F5; Wed, 15 Jun 2022 09:49:35 -0700 (PDT) Date: Wed, 15 Jun 2022 17:49:58 +0100 From: Alexandru Elisei To: Jan Kara Cc: Petr Mladek , sunjunchao2870@gmail.com, viro@zeniv.linux.org.uk, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, senozhatsky@chromium.org, rostedt@goodmis.org, john.ogness@linutronix.de, keescook@chromium.org, anton@enomsg.org, ccross@android.com, tony.luck@intel.com, heiko@sntech.de, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, maco@android.com, hch@lst.de, gregkh@linuxfoundation.org, jirislaby@kernel.org Subject: Re: [BUG] rockpro64 board hangs in console_init() after commit 10e14073107d Message-ID: References: <20220615163949.z22puioui322ktla@quack3.lan> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220615163949.z22puioui322ktla@quack3.lan> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220615_094941_475538_B44B9DE1 X-CRM114-Status: GOOD ( 23.71 ) 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 Hi, On Wed, Jun 15, 2022 at 06:39:49PM +0200, Jan Kara wrote: > Hi Alexandru! > > On Wed 15-06-22 13:50:24, Alexandru Elisei wrote: > > On Tue, Jun 14, 2022 at 05:00:04PM +0200, Petr Mladek wrote: > > > > > > I've booted a kernel compiled with CONFIG_PROVE_LOCKING=y, as the offending > > > > > > commit fiddles with locks, but no splat was produced that would explain the > > > > > > hang. I've also tried to boot a v5,19-rc2 kernel on my odroid-c4, the board > > > > > > is booting just fine, so I'm guessing it only affects of subset of arm64 > > > > > > boards. > > > > > > > > > > You might try to switch the order of console_init() and lockdep_init() > > > > > in start_kernel() in init/main.c > > > > > > > > Did so above. > > > > > > Unfortunately, it did not print anything :-( > > > > With this patch [1] I was able to succefully boot the board. So I guess > > problem should be fixed. > > > > [1] https://lore.kernel.org/all/20220614124618.2830569-1-suzuki.poulose@arm.com/ > > Can you please try booting with the patch I've posted at [2]? After some > discussion with Linus that would be a preferable fix... Thanks! > > [2] https://lore.kernel.org/all/20220615133845.o2lzfe5s4dzdfvtg@quack3.lan The patch works for me, thank you! Do you also need me to reply to the discussion? Alex > > Honza > > -- > Jan Kara > SUSE Labs, CR _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel