Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp691527iog; Wed, 15 Jun 2022 10:10:54 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tHlfo4S1KFAIluxA8utEOhCsRbZNSW0+fPbFh4r9q58hQT/FQlEZqO/92W+DB/8c2EFV5B X-Received: by 2002:a17:907:3d8a:b0:70e:6b1:b004 with SMTP id he10-20020a1709073d8a00b0070e06b1b004mr741332ejc.61.1655313054710; Wed, 15 Jun 2022 10:10:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655313054; cv=none; d=google.com; s=arc-20160816; b=I4E7OgdxmJvZJe9h3YlhCZlwvPyRMuq4lcWBzsq1ACpAZuV0Oy3ckzHP3J1U0eEBVn 0JuHwLbUaQKTHy2+RtHtCrM1fOmatSfWK8/wHPgLgTrHuuYzi29KBKcxtVrkcgFaVTsd LdsMt6Y0vfa9wplfTrHNpemUbfwM6NqkEl65RKn1gl+N43Qc2HQfDT2hF2nf1TkBbaVo IVIOLyszXXGGD4iDnqxdhsuR64zFgg4D4/Ho1Bg9eLmSFTcj876Q5Hq1rfjKKwBpUyQ2 aYo6eYVQQMbKR8K99RwzCvHO/ns+7jYU2JvF4clsZ2tglypT9yZGAPrKVeKd4vr9bDfa 6wSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=TVxUPTfO0hu4AGabf4c0ym38vWrRw1TSRFIcByfylSk=; b=xXFLoG4mXmXgjGJ7437/4jTH40t/AIpabXyYyrudVOfy0eQf9s3L73y0j0bIJERl+b XXnT5sewOY1JvIlOLe/DyiUN1Aqyl770EiNxF5M0wFsrVVzifqUAAO4cCRVFrygqQvFp QGmAmUKG/SfyurmGnLtSAzhBS0Ukn+bvKgUrmxxlRqRmHNQHgZQXjOMxggMYiWRmDMtG q4Raz5zrTxSin9jkCB9jopCxG5s9AyjGT3PkdKrLkwPE6vuT2jW3DrIc9n47alvUCsEM a85tp8+1gtXD2MX7UkNCpyDydz5xGtZgkGMJkyRbilS+yO9GYLenTVthpUgnvcIrVUxN O0SA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=Qgr2omBy; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b="M/VYh5tM"; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e26-20020a50ec9a000000b0042de92df698si13616353edr.432.2022.06.15.10.10.19; Wed, 15 Jun 2022 10:10:54 -0700 (PDT) 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=pass header.i=@suse.cz header.s=susede2_rsa header.b=Qgr2omBy; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b="M/VYh5tM"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1356894AbiFOQj7 (ORCPT + 99 others); Wed, 15 Jun 2022 12:39:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43714 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241710AbiFOQj6 (ORCPT ); Wed, 15 Jun 2022 12:39:58 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 52B014BB90; Wed, 15 Jun 2022 09:39:57 -0700 (PDT) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 0B2621F963; Wed, 15 Jun 2022 16:39:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1655311196; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=TVxUPTfO0hu4AGabf4c0ym38vWrRw1TSRFIcByfylSk=; b=Qgr2omByqxvkI9MmyIwGTpWrpq6ocW18Hhtf6rwr0nFGrcOyzWH9GjC/F0xLdx+jaEtjoo YFdxFuL0yfnjhzGisYgIxMVyL+tn7ZIBI0H4Q2H/xkJ23PichcvgmSkmbr1ZgbAt2dEAQT jGNsQzVpHFlaoDhGAu+DeY4r9KjxTgY= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1655311196; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=TVxUPTfO0hu4AGabf4c0ym38vWrRw1TSRFIcByfylSk=; b=M/VYh5tM+kZEYsijqThrHs/SGSJ8RVv2zieejoHwwyAxBZEO5v/pzySncZUp64Wnp5Rz7P ymZz65DaMYPCkXCw== Received: from quack3.suse.cz (unknown [10.163.28.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id AD85B2C141; Wed, 15 Jun 2022 16:39:55 +0000 (UTC) Received: by quack3.suse.cz (Postfix, from userid 1000) id ED3C3A062E; Wed, 15 Jun 2022 18:39:49 +0200 (CEST) Date: Wed, 15 Jun 2022 18:39:49 +0200 From: Jan Kara To: Alexandru Elisei Cc: Petr Mladek , jack@suse.cz, 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: <20220615163949.z22puioui322ktla@quack3.lan> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,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 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 Honza -- Jan Kara SUSE Labs, CR