From mboxrd@z Thu Jan 1 00:00:00 1970 From: zonque@gmail.com (Daniel Mack) Date: Sat, 25 Jun 2011 13:48:56 +0200 Subject: [PATCH 2/2] MTD: pxa3xx_nand: Fix blank page ECC mismatch In-Reply-To: References: <1307440867-18993-1-git-send-email-leiwen@marvell.com> <1307440867-18993-2-git-send-email-leiwen@marvell.com> <1307445467.11104.80.camel@localhost> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Tue, Jun 7, 2011 at 2:28 PM, Lei Wen wrote: > On Tue, Jun 7, 2011 at 7:17 PM, Artem Bityutskiy wrote: >> On Tue, 2011-06-07 at 03:01 -0700, Lei Wen wrote: >>> From: Daniel Mack >>> >>> This bug was introduced in f8155a40 ("mtd: pxa3xx_nand: rework irq >>> logic") and causes the PXA3xx NAND controller fail to operate with NAND >>> flash that has empty pages. According to the comment in this block, the >>> hardware controller will report a double-bit error for empty pages, >>> which can and must be ignored. >>> >>> This patch restores the original behaviour of the driver. >>> >>> Signed-off-by: Daniel Mack >>> Acked-by: Lei Wen >>> Cc: Haojian Zhuang >>> Cc: David Woodhouse >>> Cc: stable at kernel.org >> >> This was introduced in 2.6.38, so let's make it: >> >> Cc: stable at kernel.org [2.6.38+] >> > Thanks for correcting this. Has anyone queued this for 3.0 yet? This fixes a serious regression, so we need this merged, along with Lei's other patch titled "MTD: pxa3xx_nand: fix nand detection issue". Thanks, Daniel