Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2989707rdb; Tue, 13 Feb 2024 03:45:01 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX4xeGhkzPSutdWxcbGpsCCsWPfaDXvDmqaxZTyIFusNKstrWzS8LDETMV5lRE+fTxg1HUzHOKG9f2vzBODQS1pzVOqRBkJW/QxD9QLWA== X-Google-Smtp-Source: AGHT+IH+y6LvCP1CwmBtufVwnIIvrd1FVPbbXb3ijMezze26TlndYjGAf7eZWf84lgpGNNKmQrvr X-Received: by 2002:ad4:5d61:0:b0:686:9e8a:a695 with SMTP id fn1-20020ad45d61000000b006869e8aa695mr4491904qvb.17.1707824701298; Tue, 13 Feb 2024 03:45:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707824701; cv=pass; d=google.com; s=arc-20160816; b=SO1VniAoBtt7Xlv1Tok2FkpgdV5bOWbwK5tPFIYgwcM49ouU2AP1Nz4KMPRDEF2YCT xPPsWr1SbFFM+Fs//v+aYTHM45VIs85OLQ4+mfmLaEzrsb2YFPYlOyCK3qnjpHPxTCDX hEAfQCvDuNfrpxJcGyE84gzkiroIUdEHilxPq6r/8rC5JwyxcHrukRUIyeGSIYFcYH/p ZPdwg+xeXCEHOufyYAScEmw4JoMEAN/9xk3SWEW7qUS70Tq2gY09Ody6emCuRgglaYiP ga4uSCzv/ADW3OXE+Dp9iDOx7ELSeGvnReGktFxnr0mjcQDd0cSA60Upr1ZCqadC7WfE QXCQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=ps9Y3zYYiOvZIS+bDBjJd+nvPRqPMA0QmQHNhaLbDD8=; fh=h+xJ738LluT7PZgAzmp6DBcnewX3QcTNMueh9H659S8=; b=ko42QH2qUOoufe+uk5K/Nj1SiJ1Rj2kWNnQpknH11u8hU6XnVNmLUVeONaAtlrB7vS twdTTEu4cYEWejBhlMOLnf/stEhKlbl8Ap1pbnN9X/1uvmsnnj/dNhmv4vyN0mExAKiJ z3fdsXXwIkQYFyJbOp5SbttwGvu/4zQfvkXMI5WWWVGm1CgUe4jhLQ2HEK5S+Jo59SW8 uGXZqpTzgbSvb5IZMUkKU9YZyyxZdqFgJlsP1koEstGjnPH9Z26XrhyVHJQppDO7SiL0 Y95uXqYToLkf3LnLiPI9alSs2lJx4hwSDusQVvm2hxTUNtLxldZfGvl6OBfhvp/UjbPs n7sQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=QiErncEu; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-63456-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63456-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org X-Forwarded-Encrypted: i=2; AJvYcCVhOqhrRjLNn2TvzI0giWDxkiWbY1FjFeDGzXqyBDBTvH43saqR9bM89lYZG3g7z+nhoX8hJNcnh0GZMjDx1ZNGT8L7BwRj/dbcvIAx/g== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id gi4-20020a056214248400b0068ceaf50961si2654398qvb.208.2024.02.13.03.45.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 03:45:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-63456-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=QiErncEu; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-63456-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63456-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 10DFA1C252BF for ; Tue, 13 Feb 2024 11:45:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 99471381A0; Tue, 13 Feb 2024 11:44:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="QiErncEu" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 73B1A374DB; Tue, 13 Feb 2024 11:44:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707824692; cv=none; b=pWIvbWpFJScPGkbM6P/b1vQt6hqlxR7T2Wk4V2Wqj1MU0sCNB2EmmNIDIzHdiPlgioUb0DPTqQ5oyDNJMTJ5uMDDMIv7KtYjfQnek+p4HDD7P9D8YekenUV3a+FDJ2ovu4YOKgOJln8RP33c8Nh3DVM8RLbncx7yrGN7x68BBIk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707824692; c=relaxed/simple; bh=YsA5rcnQOqQefsgkqKUHu8Tcv5mndPsFn90D+UEQJHQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=oU9S1toKrQenrTs7pYNxI1n93f21kz1Bs7kZx7oJ618kA8cnTIzgDE2qLVJhnB/aryZBtNIQWO6HMX9JUV0w9H2eWtbTC7tWKNBN8MccjwWTZwrW4Xelxkj4uje42mhc9dh/x4PjDI296w20sqW9GMB4yVNRF3Of9V3sAKnOfM8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=QiErncEu; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3C6CAC433F1; Tue, 13 Feb 2024 11:44:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1707824691; bh=YsA5rcnQOqQefsgkqKUHu8Tcv5mndPsFn90D+UEQJHQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=QiErncEuoyi8s1KPCXYV5phn5M8hM+j0J3fGc2+jIZyiVxzwEqvhnwjS/DFFTa+8B 6ZDRFXR5Ja9uyaf3cmL+bW3vn6YdLg04ZHDg4+4od9Cd65KDHwAf6n7IiLhdXcl6FC lDhtgbS/vDOh5OjWTQ0IswHaK7nf6LEeNiXYZI1I= Date: Tue, 13 Feb 2024 12:44:48 +0100 From: Greg Kroah-Hartman To: Francesco Dolcini Cc: Sasha Levin , stable@vger.kernel.org, Alexander Stein , Shawn Guo , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, regressions@lists.linux.dev, Max Krummenacher , Miquel Raynal Subject: Re: Regression, i.MX7 boot failure, Linux v6.1.77 Message-ID: <2024021300-traverse-anyplace-7910@gregkh> References: <20240213112146.GA5874@francesco-nb> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240213112146.GA5874@francesco-nb> On Tue, Feb 13, 2024 at 12:21:46PM +0100, Francesco Dolcini wrote: > 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? Backport would be best, that way we are in sync with newer releases. I'll go queue it up now, thanks. greg k-h