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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 852EAC2BA4C for ; Wed, 26 Jan 2022 10:52:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233444AbiAZKw2 (ORCPT ); Wed, 26 Jan 2022 05:52:28 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:47651 "EHLO relay3-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233434AbiAZKw1 (ORCPT ); Wed, 26 Jan 2022 05:52:27 -0500 Received: (Authenticated sender: miquel.raynal@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id E96EE6000E; Wed, 26 Jan 2022 10:52:23 +0000 (UTC) From: Miquel Raynal To: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Tudor Ambarus , Pratyush Yadav , Michael Walle , linux-mtd@lists.infradead.org, Mark Brown , linux-spi@vger.kernel.org Cc: Julien Su , Jaime Liao , Thomas Petazzoni , Boris Brezillon , Xiangsheng Hou Subject: Re: [PATCH v9 13/13] spi: mxic: Add support for pipelined ECC operations Date: Wed, 26 Jan 2022 11:52:23 +0100 Message-Id: <20220126105223.882479-1-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20220104083631.40776-14-miquel.raynal@bootlin.com> References: MIME-Version: 1.0 X-linux-mtd-patch-notification: thanks X-linux-mtd-patch-commit: b'493b08141c0086ddb2126179cca7a8a7936b3582' Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org On Tue, 2022-01-04 at 08:36:31 UTC, Miquel Raynal wrote: > Some SPI-NAND chips do not have a proper on-die ECC engine providing > error correction/detection. This is particularly an issue on embedded > devices with limited resources because all the computations must > happen in software, unless an external hardware engine is provided. > > These external engines are new and can be of two categories: external > or pipelined. Macronix is providing both, the former being already > supported. The second, however, is very SoC implementation dependent > and must be instantiated by the SPI host controller directly. > > An entire subsystem has been contributed to support these engines which > makes the insertion into another subsystem such as SPI quite > straightforward without the need for a lot of specific functions. > > Signed-off-by: Miquel Raynal > Reviewed-by: Mark Brown Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git spi-mem-ecc. Miquel