From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpauth00.csee.onr.siteprotect.com ([64.26.60.144]) by bombadil.infradead.org with esmtp (Exim 4.68 #1 (Red Hat Linux)) id 1KV8E5-0002w7-8m for linux-mtd@lists.infradead.org; Mon, 18 Aug 2008 17:09:05 +0000 Message-ID: <48A9ACA8.2010009@boundarydevices.com> Date: Mon, 18 Aug 2008 10:08:56 -0700 From: Troy Kisky MIME-Version: 1.0 To: Frans Meulenbroeks Subject: Re: [RESUBMIT] [PATCH] [MTD] NAND nand_ecc.c: rewrite for improved performance References: <1218789997.3184.64.camel@pmac.infradead.org> <1218793271.3184.77.camel@pmac.infradead.org> <1218795140.3184.84.camel@pmac.infradead.org> <48A5D154.2000409@boundarydevices.com> <48A8B486.5070900@boundarydevices.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: linux-mtd@lists.infradead.org, David Woodhouse List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Frans Meulenbroeks wrote: > 2008/8/18, Troy Kisky : >>> + if (nr_bits == 11) { /* correctable error */ >> >> This is a necessary, but NOT sufficient condition to >> determine that it is a 1 bit error. > > The test for 11 bits is in accordance to the ST datasheet I used > (http://www.st.com/stonline/books/pdf/docs/10123.pdf, see section > 3.4). > What other check do you feel should be needed. The original check. I'll try to send you a program to demonstrate the difference after I get off work. Troy