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 A414FC4321E for ; Fri, 2 Dec 2022 12:44:29 +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:In-Reply-To:MIME-Version:References: 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: List-Owner; bh=pzbMELZcyIT4CYbOCDhtA/+kxFTdPkT531VvTpeR5NU=; b=LADTJCaDuSr6aT Q9ZVhRNPbEgTxP2ow178UI7TtBW8ITRBQclSv5Bx9lI8LM+AzN3XfTp05r1awwXb5XO6Bw3Qxokw8 Wesr+/H4KHoouiEvxkX4ed0sVA0BrgXM20rsLss2OKG/Ynp4GrF8iV3ZZWw7R+04NhbDCg6Vxlaji 5xl+Mfi94xdT5PDT60OeaXuy4ly3pF2wbtXKJRKbE/ykl7gStZunCWUJ6TcOc6ul3r6ZE2ZXiR8mV 8c9+FOlQx3Tg3+nYM1BDqUl+9/tQWs5ceLhiUUa4YBUjU32a07gIASk/WH/4GcHloZFPh/A0U+3tU gBhduBJPrUbZPb73WFRw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p15OC-00GPLE-N5; Fri, 02 Dec 2022 12:43:36 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p15O8-00GPJf-HD; Fri, 02 Dec 2022 12:43:33 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 0D34E622A8; Fri, 2 Dec 2022 12:43:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EEBE1C433D6; Fri, 2 Dec 2022 12:43:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1669985011; bh=SlPWDsDwwQu2Oj8FLpJROoW39Zgawt2f5E5M5aku0BE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Jpy1DcdVemi6pmnKy8RCnvkm0is357EOivfdWR/gvZ6euYHvyFpUKK/umSAULfr4C Bhz15gdd9jivBlfjFlpoThRIpXN+W780s8/J08nb+hzyHNPu9TE/MXHUK0MpCrljCC +7HOSP9STmSd9NKyNMD2oTSFOrtipyBHVR23+HLc= Date: Fri, 2 Dec 2022 13:43:26 +0100 From: Greg KH To: Francesco Dolcini Cc: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , linux-mtd@lists.infradead.org, Marek Vasut , Francesco Dolcini , Shawn Guo , linux-arm-kernel@lists.infradead.org, stable@vger.kernel.org Subject: Re: [PATCH v1] mtd: parsers: ofpart: Fix parsing when size-cells is 0 Message-ID: References: <20221202071900.1143950-1-francesco@dolcini.it> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20221202071900.1143950-1-francesco@dolcini.it> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221202_044332_623402_5458D59E X-CRM114-Status: GOOD ( 15.22 ) 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 On Fri, Dec 02, 2022 at 08:19:00AM +0100, Francesco Dolcini wrote: > From: Francesco Dolcini > > Add a fallback mechanism to handle the case in which #size-cells is set > to <0>. According to the DT binding the nand controller node should have > set it to 0 and this is not compatible with the legacy way of > specifying partitions directly as child nodes of the nand-controller node. > > This fixes a boot failure on colibri-imx7 and potentially other boards. > > Cc: stable@vger.kernel.org > Fixes: 753395ea1e45 ("ARM: dts: imx7: Fix NAND controller size-cells") > Link: https://lore.kernel.org/all/Y4dgBTGNWpM6SQXI@francesco-nb.int.toradex.com/ > Signed-off-by: Francesco Dolcini > --- > drivers/mtd/parsers/ofpart_core.c | 11 +++++++++++ > 1 file changed, 11 insertions(+) Reviewed-by: Greg Kroah-Hartman _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel