From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752796AbcAGCvF (ORCPT ); Wed, 6 Jan 2016 21:51:05 -0500 Received: from mail-pa0-f49.google.com ([209.85.220.49]:36378 "EHLO mail-pa0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752291AbcAGCu5 (ORCPT ); Wed, 6 Jan 2016 21:50:57 -0500 Date: Wed, 6 Jan 2016 18:50:54 -0800 From: Brian Norris To: Boris Brezillon Cc: David Woodhouse , linux-mtd@lists.infradead.org, "Franklin S Cooper Jr." , Maxim Levitsky , Nicolas Ferre , Jean-Christophe Plagniol-Villard , Alexandre Belloni , linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 2/5] mtd: nand: use nand_check_erased_ecc_chunk in default ECC read functions Message-ID: <20160107025054.GA109450@google.com> References: <1451503927-10831-1-git-send-email-boris.brezillon@free-electrons.com> <1451503927-10831-3-git-send-email-boris.brezillon@free-electrons.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1451503927-10831-3-git-send-email-boris.brezillon@free-electrons.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 30, 2015 at 08:32:04PM +0100, Boris Brezillon wrote: > The default NAND read functions are relying on the underlying controller > driver to correct bitflips, but some of those controllers cannot properly > fix bitflips in erased pages. > Check for bitflips in erased pages in default core functions if the driver > delegated the this check by setting the NAND_ECC_GENERIC_ERASED_CHECK flag. > > Signed-off-by: Boris Brezillon Pushed to l2-mtd.git