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 7EDEEC48260 for ; Tue, 13 Feb 2024 11:22:08 +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:MIME-Version: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:In-Reply-To:References: List-Owner; bh=j7NOuBuycoHW0xKp8HPc1NMoeDkHqW6OTkTFs95Mdyo=; b=oGL+WNxFc+tnPy +iKuahgfIxq82dG+eroivipns8hjs452LigaJTrzzifFBg5Zfn0QD1NkO/UJyEmYeZA7yrNDhShZJ 7fsGDGYNAWBHCLC3O6rNI+JECoX2WCPwJN/9YkfxAtmL7GhEjOIn9S2E/dyAPC7uJaQFxhlQlAdyv DEBjG06djVbDMns40S/chOWnwQAKoY7IIMuUOlh+zzdQccPETFTI4j0tUMQNES+nzPRFPgbxiOm1s jdISPs/bLHkYwilEWn4cuBaeLCwi0crzmwHz6teUj23PrYIoE4IGFTLIJ3kD3TibA1/49nt00Jy0N 7ej9IHqGQXv6eII4bBkA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZqrN-00000008zeg-3jLR; Tue, 13 Feb 2024 11:21:57 +0000 Received: from mail11.truemail.it ([2001:4b7e:0:8::81]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZqrK-00000008zd4-24iI for linux-arm-kernel@lists.infradead.org; Tue, 13 Feb 2024 11:21:56 +0000 Received: from francesco-nb (unknown [5.170.16.17]) by mail11.truemail.it (Postfix) with ESMTPA id 1BAE620FCD; Tue, 13 Feb 2024 12:21:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dolcini.it; s=default; t=1707823311; bh=ePi7b1L8+8ZVCVaSbDzz3it0zkxtnGBp2AkmJlONslA=; h=From:To:Subject; b=VzqN+8YrhaAH5gFOKOiKHNv5ot8N4b+dQmpn+TsRdwQGqy6O1k5ZUsoSKz3UMjTHd QqqIJfLJEuzkYWXjuz2n9Z66RzE/7dfkbD6ceGdl9rOkTAJ6NtevIfzQDgzvpbacrE PrwZ0DY+V2cezvwDxhUyYfFD3XToC7llcOYXQZFOBcMWA2wYRezDTHBAl08Dv1mVGQ Ym0xDPQdScBccV/LX/96IftYdMGlfeyWOuq/OWSfbEkJ1CMnUszGZRA6SZUA137h0t b9XEFTeofAMWBAKsbpYeYrhDyvG1DtUnVqJSNlSkjP/Ntp0H3kXLha9yvNfPhNvk+Y 633QCgKlW2Ziw== Date: Tue, 13 Feb 2024 12:21:46 +0100 From: Francesco Dolcini To: Sasha Levin , stable@vger.kernel.org, Greg Kroah-Hartman Cc: Alexander Stein , Shawn Guo , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, regressions@lists.linux.dev, Max Krummenacher , Miquel Raynal Subject: Regression, i.MX7 boot failure, Linux v6.1.77 Message-ID: <20240213112146.GA5874@francesco-nb> MIME-Version: 1.0 Content-Disposition: inline X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240213_032154_721379_3CFD1567 X-CRM114-Status: UNSURE ( 7.89 ) X-CRM114-Notice: Please train this message. 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 Hello Sasha, kernel v6.1.77 introduces a regression, with a boot failure, on i.MX7, with commit db30f469ae8b ("ARM: dts: imx7s: Fix nand-controller #size-cells"). The issue is known [1][2], changing `#size-cells = <0>` is formally correct, but do not play well with the firmware that are deployed on those embedded devices, leading to a boot failure. A mitigation was implemented in the Linux kernel, commit 84549c816dc3 ("mtd: parsers: ofpart: add workaround for #size-cells 0") that was merged into v6.3, the firmware was also fixed, however existing device using old firmware will not boot anymore if updating to a newer kernel. I would ask you to drop such a patch from any stable patches queue and not backport it to any older kernel. To fix v6.1.y I see two options: - backport 84549c816dc3 - revert db30f469ae8b What do you prefer? Should I send myself a patch? [1] https://lore.kernel.org/all/Y4dgBTGNWpM6SQXI@francesco-nb.int.toradex.com/ [2] https://lore.kernel.org/all/20221202071900.1143950-1-francesco@dolcini.it/ Francesco _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel