From patchwork Tue Sep 28 22:14:59 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Miquel Raynal X-Patchwork-Id: 12523943 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8BA81C433F5 for ; Tue, 28 Sep 2021 22:17:23 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 46DBC6138D for ; Tue, 28 Sep 2021 22:17:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 46DBC6138D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bootlin.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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=tatxrIUyJQhxlZJGKADeVn+9tS4mHsfhTXF3a8BIfMI=; b=M8ptwv+xKEWoxJ unVEnbxIUq8ITWFcQLHUaxVqHG39oBThF5jIUvz8VwqB3e1Ysp+nbT48cofaMFjxnBwyeTgjkxDtu QFSZBOGdmLN03XqupPOzgW5aCTE/6vcTfnbJILKsID/hEP7Ln+g1HgyaafKyxmeEuGLRZFFS51qZg L/+8XSqyKVFRvtlj6WRXLUd+IJ5ZzXDARvfzDAisrpJee+F6WcWZESi86xPLRpQRjevBou0wXu/w3 JFSaTrZcmf+pTJ92G71tagTlto9DCC8/+/PaYOurT/W5Xt4YENcDCgLwcZgq7vHcpayJo3HPdBFj8 rdadFUBv57jnbhsaDHqA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mVLNj-00900x-Ih; Tue, 28 Sep 2021 22:15:23 +0000 Received: from relay5-d.mail.gandi.net ([217.70.183.197]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mVLNb-008zwC-Hu; Tue, 28 Sep 2021 22:15:19 +0000 Received: (Authenticated sender: miquel.raynal@bootlin.com) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 0E1831C0006; Tue, 28 Sep 2021 22:15:07 +0000 (UTC) From: Miquel Raynal To: Richard Weinberger , Vignesh Raghavendra , Tudor Ambarus Cc: , , , Vladimir Zapolskiy , Miquel Raynal Subject: [PATCH 0/8] Cleanup series about Hamming helpers Date: Wed, 29 Sep 2021 00:14:59 +0200 Message-Id: <20210928221507.199198-1-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210928_151515_787462_841189AA X-CRM114-Status: UNSURE ( 8.53 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hello, The detailed description is available in each patch description but basically: * The FSMC driver was (I believe) still broken so here is a patch for that. * As requested by Linus when he pulled a series of fixes during the 5.13 cycle, the need for declaring individual indentical helpers in each driver using the "raw" Hamming ECC helpers was unjustified: - Here is a proposal for simplifying the situation - Followed by a series of revert (no need to backport these, it's just general cleanup). Thanks, Miquèl Miquel Raynal (8): mtd: rawnand: fsmc: Fix use of SM ORDER mtd: rawnand: Let callers use the bare Hamming helpers Revert "mtd: rawnand: txx9ndfmc: Fix external use of SW Hamming ECC helper" Revert "mtd: rawnand: tmio: Fix external use of SW Hamming ECC helper" Revert "mtd: rawnand: sharpsl: Fix external use of SW Hamming ECC helper" Revert "mtd: rawnand: ndfc: Fix external use of SW Hamming ECC helper" Revert "mtd: rawnand: lpc32xx_slc: Fix external use of SW Hamming ECC helper" Revert "mtd: rawnand: cs553x: Fix external use of SW Hamming ECC helper" drivers/mtd/nand/ecc-sw-hamming.c | 7 ++++--- drivers/mtd/nand/raw/cs553x_nand.c | 12 +----------- drivers/mtd/nand/raw/fsmc_nand.c | 4 +++- drivers/mtd/nand/raw/lpc32xx_slc.c | 15 +-------------- drivers/mtd/nand/raw/ndfc.c | 12 +----------- drivers/mtd/nand/raw/sharpsl.c | 12 +----------- drivers/mtd/nand/raw/tmio_nand.c | 8 +++----- drivers/mtd/nand/raw/txx9ndfmc.c | 5 ++--- 8 files changed, 16 insertions(+), 59 deletions(-)