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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7E5DFC6FA83 for ; Mon, 5 Sep 2022 11:18:38 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 1336F8D0064; Mon, 5 Sep 2022 07:18:38 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 0BC618D0050; Mon, 5 Sep 2022 07:18:38 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id E9F4C8D0064; Mon, 5 Sep 2022 07:18:37 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id DDCE08D0050 for ; Mon, 5 Sep 2022 07:18:37 -0400 (EDT) Received: from smtpin27.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id A812E16052C for ; Mon, 5 Sep 2022 11:18:37 +0000 (UTC) X-FDA: 79877783874.27.285DB5A Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by imf09.hostedemail.com (Postfix) with ESMTP id ED80014007C for ; Mon, 5 Sep 2022 11:18:36 +0000 (UTC) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 64EE05C00F5; Mon, 5 Sep 2022 07:18:36 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Mon, 05 Sep 2022 07:18:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1662376716; x= 1662463116; bh=op1yRLnR46V+ZLMlfknvMWSBqZoTtN/TWGfyjTb8Utc=; b=l ODUPrGKWnoO/osLX47ab+/OHTSXXWAyXr8GDMLV5svuAY72F2G2rSGebrJFRYCoo wP+4WbeUyWjCk5/7bxW5iAIYhQKjFP1awGajj/W5qEZ50zJgZhTYmqGyNIwPR9hn rsstGwV9coWmlSC17nwO/ETqxp1hpzdzvQRWGVIT2jf6zCWID5LeRXEVfLptAqQW peVg6rVLZQaZJh5AWejupaObb3T86aOSe4LqChtVzZFDw2p87pLh9fHmf1lUrVbh kifcKar8W91vc3NTo0CLkiJWIAoVozx/kr/SAdgk1zy78Ge/9s6L878okorIKloi Ia1QLcxFc4/ArFde8k6Iw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1662376716; x= 1662463116; bh=op1yRLnR46V+ZLMlfknvMWSBqZoTtN/TWGfyjTb8Utc=; b=g MQcgkbJvhd4TP6ESCNHedc31cRMW5OTi/2skiY5KdhJ/n9ZmbwyWtJiI6TdgQ9y3 3xQgEKQLn4hPSpcAa4ct2rxD/yDMjMv5A8InpqAc9vXDXn6UOqbBIQMazOASvvZY ZFoQjGn5ug+yGIuHsaOw8ZE2+BABqAgqqKJD+KbxIa7487F88TgWVuXcYj7rIPF5 g9nSI+DXj21v3ECPNMFCTOR9Zy4r+5q/xxBMZCZdwwEizoUiC2OlLmXGzvuKKZXR aT/o1TuacFQrQPrmeWUcweKju8pRPlepH56MskqcGaaAEA0SRcjhMVCAFMlmzOdg hWRzUdVtung2x2Y7v8bug== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdeliedgfeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggugfgjsehtqhertddttddvnecuhfhrohhmpeforgig ihhmvgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrf grthhtvghrnheptefgleeggfegkeekgffgleduieduffejffegveevkeejudektdduueet feetfefgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epmhgrgihimhgvsegtvghrnhhordhtvggthh X-ME-Proxy: Feedback-ID: i8771445c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 5 Sep 2022 07:18:34 -0400 (EDT) Date: Mon, 5 Sep 2022 13:18:32 +0200 From: Maxime Ripard To: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Arnd Bergmann , Olof Johansson , Catalin Marinas , Will Deacon , Daniel Vetter , David Airlie , Maarten Lankhorst , Thomas Zimmermann , Christoph Lameter , Pekka Enberg , David Rientjes , Joonsoo Kim , Andrew Morton , Vlastimil Babka , Roman Gushchin Cc: Martin Roukala , netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: RaspberryPi4 Panic in net_ns_init() Message-ID: <20220905111832.73nqtlzpiuwpj7lx@houat> References: <20220831144205.iirdun6bf3j5v6q4@houat> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20220831144205.iirdun6bf3j5v6q4@houat> ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1662376717; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=op1yRLnR46V+ZLMlfknvMWSBqZoTtN/TWGfyjTb8Utc=; b=nWyQr1Kzsgc0Y5tyCflLHwsq2m+B5uYIvb9GKmZPrFQfhiqJGq6dCr6ovzpJdmsBgXDoI0 11zEyn7eMLlw4ds5JB3iOCqJhvwAeg7XLMPGdXLE0gyQnMzvbfZRYQ5fNfWBBdQ6XfJO1f 5ceAfGpJcutytUHhJZ5GGlQ+tRSGPXk= ARC-Authentication-Results: i=1; imf09.hostedemail.com; dkim=pass header.d=cerno.tech header.s=fm3 header.b="l ODUPrG"; dkim=pass header.d=messagingengine.com header.s=fm1 header.b="g MQcgkb"; spf=pass (imf09.hostedemail.com: domain of maxime@cerno.tech designates 66.111.4.29 as permitted sender) smtp.mailfrom=maxime@cerno.tech; dmarc=pass (policy=none) header.from=cerno.tech ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1662376717; a=rsa-sha256; cv=none; b=BUt+/odFqEIQuOPnp7Xt448Ep3s/6sl0BreePOVDz8dToOY2CS/UbkrHbl8LO6AslWWrII hfdpAhHaoGxEvzgJkM68kU5uOeDPFLty0IQWpxTxoFDrReiIxmZomzt7f4GFVAavwJMqeL oh9YFnWGOezKSQOiKB+/SNqf4ywufbE= X-Rspam-User: X-Stat-Signature: cdqddmi7gsgkukg6ocgz5h4hcqjiby3o X-Rspamd-Queue-Id: ED80014007C Authentication-Results: imf09.hostedemail.com; dkim=pass header.d=cerno.tech header.s=fm3 header.b="l ODUPrG"; dkim=pass header.d=messagingengine.com header.s=fm1 header.b="g MQcgkb"; spf=pass (imf09.hostedemail.com: domain of maxime@cerno.tech designates 66.111.4.29 as permitted sender) smtp.mailfrom=maxime@cerno.tech; dmarc=pass (policy=none) header.from=cerno.tech X-Rspamd-Server: rspam04 X-HE-Tag: 1662376716-659046 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Wed, Aug 31, 2022 at 04:42:05PM +0200, Maxime Ripard wrote: > Sorry for the fairly broad list of recipients, I'm not entirely sure > where the issue lies exactly, and it seems like multiple areas are > involved. >=20 > Martin reported me an issue discovered with the VC4 DRM driver that > would prevent the RaspberryPi4 from booting entirely. At boot, and > apparently before the console initialization, the board would just die. >=20 > It first appeared when both DYNAMIC_DEBUG and DRM_VC4 were built-in. We > started to look into what configuration would trigger it. >=20 > It looks like a good reproducer is: >=20 > ARCH=3Darm64 CROSS_COMPILE=3Daarch64-linux-gnu- make -j18 defconfig mod2y= esconfig > ./scripts/config -e CONFIG_DYNAMIC_DEBUG > ARCH=3Darm64 CROSS_COMPILE=3Daarch64-linux-gnu- make -j18 olddefconfig Interestingly, this was making the kernel Image cross the 64MB boundary. I've compiled the same configuration but with -Os, and then tried to boot the failing configuration with U-Boot instead of the RaspberryPi firmware, and both of them worked. I guess that leaves us with a bootloader bug, and nothing related to Linux after all. Sorry for the noise, Maxime