Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932363AbbLBVGb (ORCPT ); Wed, 2 Dec 2015 16:06:31 -0500 Received: from mail-pf0-f171.google.com ([209.85.192.171]:33455 "EHLO mail-pf0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751156AbbLBVG2 (ORCPT ); Wed, 2 Dec 2015 16:06:28 -0500 Date: Wed, 2 Dec 2015 13:06:25 -0800 From: Brian Norris To: Jonas Gorski Cc: Simon Arlott , Florian Fainelli , Kamal Dasu , Linux Kernel Mailing List , MTD Maling List , bcm-kernel-feedback-list , David Woodhouse , Boris Brezillon Subject: Re: [PATCH] mtd: brcmnand: Workaround false ECC uncorrectable errors Message-ID: <20151202210625.GR64635@google.com> References: <5659FF4A.7080203@simon.arlott.org.uk> <565F51D2.4010204@simon.arlott.org.uk> <20151202205415.GQ64635@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151202205415.GQ64635@google.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 Content-Length: 829 Lines: 17 On Wed, Dec 02, 2015 at 12:54:15PM -0800, Brian Norris wrote: > BTW, I think Kamal had code to handle protecting bitflips in erased > pages code in the Broadcom STB Linux BSP. Perhaps he can port that to > upstream with nand_check_erased_ecc_chunk()? IIUC, that would probably > handle your case too, Simon, although it wouldn't be optimal for an > all-0xff check (i.e., bitflip_threshold == 0). I think this was for BCH only, actually. Hamming wasn't used as much on STB. So the above would only help part of this patch. I'm less sure of the behavior for the Hamming engine. Brian -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/