[PATCH 2/2] MTD: pxa3xx_nand: Fix blank page ECC mismatch

Daniel Mack zonque at gmail.com
Sat Jun 25 07:48:56 EDT 2011


On Tue, Jun 7, 2011 at 2:28 PM, Lei Wen <adrian.wenl at gmail.com> wrote:
> On Tue, Jun 7, 2011 at 7:17 PM, Artem Bityutskiy <dedekind1 at gmail.com> wrote:
>> On Tue, 2011-06-07 at 03:01 -0700, Lei Wen wrote:
>>> From: Daniel Mack <zonque at gmail.com>
>>>
>>> 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 <zonque at gmail.com>
>>> Acked-by: Lei Wen <leiwen at marvell.com>
>>> Cc: Haojian Zhuang <haojian.zhuang at marvell.com>
>>> Cc: David Woodhouse <David.Woodhouse at intel.com>
>>> 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



More information about the linux-mtd mailing list