[PATCH 1/2] mtd: nand: add erased-page bitflip correction

Ricard Wanderlof ricard.wanderlof at axis.com
Tue Mar 18 03:55:51 EDT 2014


On Mon, 17 Mar 2014, Brian Norris wrote:

> I would think even a hardware designer could figure out that flagging an
> ECC error every time you read an all-0xff erased page would be a bad
> idea. And that has nothing to do with bit error rates.

One would think so, but I've come across two NAND controllers lately where 
the hardware designers apparently had no clue this was an issue.

The same controllers also have no way of letting the rest of the world 
knowing how many bitflips were corrected during ECC correction. Which 
makes their ECC functionality almost worthless with flashes that exhibit a 
significant amount of bitflips, as it is impossible to know if it's just a 
bit or two that has flipped, or we are close to the error correction 
capability limit.

I think we software poeple have to be more vocal towards the hardware 
people in terms of want we want to see from a software point of view. The 
attitide taken by the hardware side seems to be "let's just correct the 
bits transparently so the software doesn't need to worry", which was 
alright in the 1-bit era but is not a sustainable philosophy nowadays.

/Ricard
-- 
Ricard Wolf Wanderlöf                           ricardw(at)axis.com
Axis Communications AB, Lund, Sweden            www.axis.com
Phone +46 46 272 2016                           Fax +46 46 13 61 30



More information about the linux-mtd mailing list