Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp3025883rwb; Mon, 5 Sep 2022 05:27:53 -0700 (PDT) X-Google-Smtp-Source: AA6agR7fVK/qnBuHWpgySi3N3/t9AbwYn1kfTh3HT3GmcafRVvhP9qX3B89AP2WFnCllJJ3WA7oC X-Received: by 2002:a05:6402:3506:b0:43e:954b:bc8a with SMTP id b6-20020a056402350600b0043e954bbc8amr44179455edd.266.1662380872936; Mon, 05 Sep 2022 05:27:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662380872; cv=none; d=google.com; s=arc-20160816; b=APksXJba13I2UR7QQABquO+g+FtRc4PFH0I9ZtnWZi9FtIJ+Z4T4x8gKxLMrOb14m4 dTOYjJWigGUsmjEsykW/UPWjfDz0jj2EZE62LAHIMSbjpDMnAKAvHAqAZlg5zhzGm76P KR3T7R6b0p9Pm1yU3pRKXeCgOgZ1GGhsVt0cXqR1HE9hODrjgDLTIRSCEiX9dvwAZpRJ 8kf2Xoki20KXQtMSLG9kt8Kj7M5xiZOiUBNfooS2S2okFZOfRjiUDcF2z1Kzxo/Ydv/K HQNDXEhzjAHzHb/cddj/yqf0fgt8nZiFZW3PyklCm+FElZcZ8eWkwD82g8uG2qGLIhR5 03cw== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:feedback-id:dkim-signature:dkim-signature; bh=op1yRLnR46V+ZLMlfknvMWSBqZoTtN/TWGfyjTb8Utc=; b=iyGhIB1KLdp4j1VYI2US/gmpm/Ug09TlJNbrsZeFWFDfUaESPvuy2jTDnCkydv5i+a QAipYEj4gkZqG/uWGiiB0Rlf9pVN60XwY2XWmxetcuJAXYL1Z1XdyDJBuDvWq66FWksl LDt2lMWw8VodYLWV/DY7lV+QVpKT0TZl9IfUYdjppaAixQAsJHYR3m1ndrJIvhwWpb9k ghBW74a4yBpTy766jR06PM6iU+H94aWU20gXB4VfbIp6Vawj8CxKqbdmYWM2AL0UjSWp NUn+Fek+xHbZeeF4QDfqdAYyon4WJgaz19LsS8TLn6VXaymDD1oCcot3H2iWetF8Jd+8 V5KQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm3 header.b=lODUPrGK; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=gMQcgkbJ; 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=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p13-20020a056402074d00b00447a7af56b2si482172edy.326.2022.09.05.05.27.25; Mon, 05 Sep 2022 05:27:52 -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=@cerno.tech header.s=fm3 header.b=lODUPrGK; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=gMQcgkbJ; 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=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237613AbiIELSw (ORCPT + 99 others); Mon, 5 Sep 2022 07:18:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51742 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238219AbiIELSo (ORCPT ); Mon, 5 Sep 2022 07:18:44 -0400 Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4EBA15AC5F; Mon, 5 Sep 2022 04:18:37 -0700 (PDT) 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> X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,T_SCC_BODY_TEXT_LINE, T_SPF_TEMPERROR 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, 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