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 330EEC6FD1F for ; Sat, 30 Mar 2024 16:25:58 +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=5LYMplQGuoGeZRyECd8oRBEhZcVzlLOwLS9AuPRe4pY=; b=B8J0NASo4RMiyR OtUWiFJ9VkWzx7wtIvZ6eaGwIczthMWp6p4YUCdb6zrfYAidla/sU5jMg4RUOmHJG4MeFSOe/TB9w eSI6YS7ohokrmXoQy/UouYiL3MTiMB8WGuHQDEkgo4t4XtXBwFGvzM5jw2xit41RimKqHxbIpXAqs 5Q6hu8cE3Fs590MjOYx5vJ9jL3e25rz/RSPYNqz5uvcS+DwV+v12q+KB3BFnyLQCYejfCabrVNoH3 f8BaajYYhAKZJ7nV/9XyJlcSZ7TAhyheTSs4UKgg97sl6gTLoUOlvD8yeUCIDnOGO3mp9LQA0c2cQ j5vYcw/BxVtQjRt4+wbA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rqbWg-00000003n7r-44kt; Sat, 30 Mar 2024 16:25:50 +0000 Received: from fout8-smtp.messagingengine.com ([103.168.172.151]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rqbWd-00000003n7H-3jSL for linux-mtd@lists.infradead.org; Sat, 30 Mar 2024 16:25:49 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailfout.nyi.internal (Postfix) with ESMTP id 4E4E213800C9; Sat, 30 Mar 2024 12:25:44 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Sat, 30 Mar 2024 12:25:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kroah.com; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1711815944; x=1711902344; bh=6EmT5VAqAf VZEI7t418sTxwaqRhYXuC8xtP73kRinY0=; b=bbofwrgrvDVnvxLRyVZpMTtBre 3+lEQCq38uqaevFNaFjo3X06pEayq8lgfhDzevGBduZp1J/RqVgaVbkgBhxk+67K Fk7Qjb+xwo4hmACFQHbUwyzGh5w2Ww0HNUlVjSkQSNA+lUSf0EZpU45wKkL5YnMq XczmaFq7ej1XSVmxlR/wUQgDxjfFTjF+/yPQY/YgjwkUwLrmX/lorGkR0/Gt9ze+ wOp549tMOGkSu7TLn0Jhwqjr0gY5dYRpbWwCXGukWpvequy7DWYocYlDTdp96NRM rH68WGa/vNCVj1qHK8f9G/K9lW4lPQ6KBWWqRnTuaOhehTsE4LRAF37qGXKg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1711815944; x=1711902344; bh=6EmT5VAqAfVZEI7t418sTxwaqRhY XuC8xtP73kRinY0=; b=Rhc+L6LCWGlBcpLNVsythswcQ8UCZ4CEFaqn5l3aiPG5 5AlUqcVAAozkYzxfFdHYQRc6mCiuPb2ViLA7QmnxZgs6dYl/wrw/ZvTobbJloGGV 0yc0HQPqEqj8vbHw3ggRREfEn/jkY+ZVpu2movy/FJDc/9o9mGlgx+9Dg/MT89CU 7LsdZGkId3Z+vLnP5yBGOTf7dmlntsF2icCMDSjXboCFu7FbZEwEjJ0sZjwUtBip a7zN8g52WxeQgFOV4H4ix//kWz94u9I+EqUQTPkAuDWfyvmcFH1L4ugbAMsYLnFa 3af6wZhq3heyZVFQXUR4pCEU5dBe0Udti+dfCe+6jg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledruddvhedgieeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggujgesthdtredttddtvdenucfhrhhomhepifhrvghg ucfmjfcuoehgrhgvgheskhhrohgrhhdrtghomheqnecuggftrfgrthhtvghrnhepudeife evhefhvddtiefhvdevhfelleefieeffeekieeggfethfdvudetfeetffeknecuffhomhgr ihhnpehkvghrnhgvlhdrohhrghdpghhithhhuhgsrdgtohhmnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepghhrvghgsehkrhhorghhrdgtohhm X-ME-Proxy: Feedback-ID: i787e41f1:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 30 Mar 2024 12:25:43 -0400 (EDT) Date: Sat, 30 Mar 2024 17:25:40 +0100 From: Greg KH To: Hauke Mehrtens Cc: stable@vger.kernel.org, John Audia , Ezra Buehler , linux-mtd@lists.infradead.org, Miquel Raynal Subject: Re: Backport "mtd: spinand: Add support for 5-byte IDs" to 6.6, 6.7 and 6.8 Message-ID: <2024033034-volley-grout-f835@gregkh> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240330_092548_288676_B270925E X-CRM114-Status: GOOD ( 16.12 ) X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-mtd" Errors-To: linux-mtd-bounces+linux-mtd=archiver.kernel.org@lists.infradead.org On Sat, Mar 30, 2024 at 02:49:56PM +0100, Hauke Mehrtens wrote: > Hi, > > Please backport the following commit back to the Linux stable kernels 6.6, > 6.7 and 6.8: > > commit 34a956739d295de6010cdaafeed698ccbba87ea4 > Author: Ezra Buehler > Date: Thu Jan 25 22:01:07 2024 +0200 > > mtd: spinand: Add support for 5-byte IDs > > E.g. ESMT chips will return an identification code with a length of 5 > bytes. In order to prevent ambiguity, flash chips would actually need to > return IDs that are up to 17 or more bytes long due to JEDEC's > continuation scheme. I understand that if a manufacturer ID is located > in bank N of JEDEC's database (there are currently 16 banks), N - 1 > continuation codes (7Fh) need to be added to the identification code > (comprising of manufacturer ID and device ID). However, most flash chip > manufacturers don't seem to implement this (correctly). > > Signed-off-by: Ezra Buehler > Reviewed-by: Martin Kurbanov > Tested-by: Martin Kurbanov > Signed-off-by: Miquel Raynal > Link: > https://lore.kernel.org/linux-mtd/20240125200108.24374-2-ezra@easyb.ch > > > This will fix a regression introduced between Linux kernel 6.6.22 and 6.6.23 > in OpenWrt. The esmt NAND flash is not detected any more: > <3>[ 0.885607] spi-nand spi0.0: unknown raw ID c8017f7f > <4>[ 0.890852] spi-nand: probe of spi0.0 failed with error -524 > See: https://github.com/openwrt/openwrt/pull/14992 > > > The following commit was backported to 6.6.22, but the commit it depends on > was not backported. > commit 4bd14b2fd8a83a2f5220ba4ef323f741e11bfdfd > Author: Ezra Buehler > Date: Thu Jan 25 22:01:08 2024 +0200 > > mtd: spinand: esmt: Extend IDs to 5 bytes Now queued up, thanks. greg k-h ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/