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 X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C0226C433E0 for ; Mon, 15 Jun 2020 08:59:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A35792065F for ; Mon, 15 Jun 2020 08:59:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729133AbgFOI7a (ORCPT ); Mon, 15 Jun 2020 04:59:30 -0400 Received: from relay12.mail.gandi.net ([217.70.178.232]:38947 "EHLO relay12.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728496AbgFOI7a (ORCPT ); Mon, 15 Jun 2020 04:59:30 -0400 Received: from localhost.localdomain (unknown [91.224.148.103]) (Authenticated sender: miquel.raynal@bootlin.com) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 43EF6200015; Mon, 15 Jun 2020 08:59:27 +0000 (UTC) From: Miquel Raynal To: Kamal Dasu , computersforpeace@gmail.com, miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com Cc: bcm-kernel-feedback-list@broadcom.com, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 2/2] mtd: rawnand: brcmnand: ECC error handling on EDU transfers Date: Mon, 15 Jun 2020 10:59:25 +0200 Message-Id: <20200615085925.22266-1-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200612212902.21347-3-kdasu.kdev@gmail.com> References: MIME-Version: 1.0 X-linux-mtd-patch-notification: thanks X-linux-mtd-patch-commit: 33d5c3d07abfc06a44fba577cec76fe8099a0cdc Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2020-06-12 at 21:29:02 UTC, Kamal Dasu wrote: > Implement ECC correctable and uncorrectable error handling for EDU > reads. If ECC correctable bitflips are encountered on EDU transfer, > read page again using PIO. This is needed due to a NAND controller > limitation where corrected data is not transferred to the DMA buffer > on ECC error. This applies to ECC correctable errors that are reported > by the controller hardware based on set number of bitflips threshold in > the controller threshold register, bitflips below the threshold are > corrected silently and are not reported by the controller hardware. > > Fixes: a5d53ad26a8b ("mtd: rawnand: brcmnand: Add support for flash-edu for dma transfers") > Signed-off-by: Kamal Dasu Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks. Miquel