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 D30ADFD0048 for ; Sun, 1 Mar 2026 01:53:33 +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:Date:Subject:Cc :To:From: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=LSZkH16s+1/BINMJRtpI+hxjwUXIc0LAGLkN1dAsa3Q=; b=KUNa2cffq0uJtv e8XAPZSX2+kaPdVl2qHnbdU+lczdASqGFD+OYYtWG53z4RzSsCk0ey/RvhQuGxXgszGGF/+Fzmk4I x0fyAVPczz99SKWfDqjDZPYe7FgLNeSB3FTXJ7YkHUXQ59rZOMzUmLV6IpvWXCRq0vzQxYzu/1Acr x8+Xzf7wUQ4J+/HJPq4PDhyu7k2+iPbTkx/WwKFuuO4GGOm8MV4o6VtIJjmAAUXYVR6rU5/OI48KG p0Ht8qY2WI9DY+UBR3aX7LBurR7EBcAhxJ3665st+Os8ua4AL2WJLd7SCIpkKDWj53F7f61H7YgaQ qn5uHGtFIn9MLAHOe7dA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vwVzw-0000000AgUY-30GQ; Sun, 01 Mar 2026 01:53:32 +0000 Received: from tor.source.kernel.org ([2600:3c04:e001:324:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vwVzv-0000000AgTY-1gBB for linux-mtd@lists.infradead.org; Sun, 01 Mar 2026 01:53:31 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id B87286012A; Sun, 1 Mar 2026 01:53:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C7C63C19425; Sun, 1 Mar 2026 01:53:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772330010; bh=KeF1EjDxd9GxW048ylxTKI+8UBUwg/UtPEADTnoQPdA=; h=From:To:Cc:Subject:Date:From; b=fTJw4NzHVBVXxWOLM0vSrn4DAnGkaB6Ke+//bOuFSKAKIQxKHoXF8YYvU5XEUTHDy hxYh5XX5P0F0NOruIfv/6WQi52NZ11lstnBg6GRDqiTgKInRouZxxXFr3a3y12MLgs 9D+XsbKcAqE6V3GDpg5176m/JrCSogDWs3B6zyrGIHrWATT2yWStwMIUdgzb/PnVjU aT/kRVIcE9CBFnGoKla3jqQJ9aVJ2mQQZcVk8ZK9dW5gG/6JbvY06I/eSquU3nv8AJ k6Te377RzsY6iNk+80pnTMAtsBxMGfAyWWg75BUZt4skHp/eF//cZthXKrX6PAE2r7 5XShXsvq4IHtw== From: Sasha Levin To: stable@vger.kernel.org, andrea.scian@dave.eu Cc: stable@kernel.org, Miquel Raynal , linux-mtd@lists.infradead.org Subject: FAILED: Patch "mtd: rawnand: pl353: Fix software ECC support" failed to apply to 5.15-stable tree Date: Sat, 28 Feb 2026 20:53:28 -0500 Message-ID: <20260301015328.1720267-1-sashal@kernel.org> X-Mailer: git-send-email 2.51.0 MIME-Version: 1.0 X-Patchwork-Hint: ignore X-stable: review 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 The patch below does not apply to the 5.15-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . Thanks, Sasha ------------------ original commit in Linus's tree ------------------ >From 89b831ebdaca0df4ca3b226f7e7a1d1db1629060 Mon Sep 17 00:00:00 2001 From: Andrea Scian Date: Wed, 4 Feb 2026 18:41:44 +0100 Subject: [PATCH] mtd: rawnand: pl353: Fix software ECC support We need to set also write_page_raw in ecc structure to allow choosing SW ECC instead of HW one, otherwise write operation fail. Fixes: 08d8c62164a322 ("mtd: rawnand: pl353: Add support for the ARM PL353 SMC NAND controller") Signed-off-by: Andrea Scian Cc: stable@kernel.org Signed-off-by: Miquel Raynal --- drivers/mtd/nand/raw/pl35x-nand-controller.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/nand/raw/pl35x-nand-controller.c b/drivers/mtd/nand/raw/pl35x-nand-controller.c index 11bd90e3f18cb..7f012b7c3eaec 100644 --- a/drivers/mtd/nand/raw/pl35x-nand-controller.c +++ b/drivers/mtd/nand/raw/pl35x-nand-controller.c @@ -976,6 +976,7 @@ static int pl35x_nand_attach_chip(struct nand_chip *chip) fallthrough; case NAND_ECC_ENGINE_TYPE_NONE: case NAND_ECC_ENGINE_TYPE_SOFT: + chip->ecc.write_page_raw = nand_monolithic_write_page_raw; break; case NAND_ECC_ENGINE_TYPE_ON_HOST: ret = pl35x_nand_init_hw_ecc_controller(nfc, chip); -- 2.51.0 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/