One of the limitations of the NAND devices is the method used to read NAND flash memory may cause bit-flips on the surrounding cells and result in uncorrectable ECC errors. This is known as the read disturb or data retention. Today’s Linux NAND drivers implementation doesn’t address the read disturb and the data retention limitations of the NAND devices. To date these issues could be overlooked since the possibility of their occurrence in today’s NAND devices is very low. With the evolution of NAND devices and the requirement for a “long life” NAND flash, read disturb and data retention can no longer be ignored otherwise there will be data loss over time. The following patch set implements handling of Read-disturb and Data retention by the UBI layer. Tanya Brokhman (2): mtd: ubi: Read disturb infrastructure mtd: ubi: Add sysfs entry to force all pebs' scan Tatyana Brokhman (3): mtd: ubi: Fill read disturb statistics mtd: ubi: Make in_wl_tree function public mtd: ubi: Read threshold verification drivers/mtd/ubi/attach.c | 137 ++++++++++++++++------ drivers/mtd/ubi/build.c | 81 +++++++++++++ drivers/mtd/ubi/debug.c | 11 ++ drivers/mtd/ubi/eba.c | 7 +- drivers/mtd/ubi/fastmap.c | 132 ++++++++++++++++++---- drivers/mtd/ubi/io.c | 28 +++++ drivers/mtd/ubi/ubi-media.h | 32 +++++- drivers/mtd/ubi/ubi.h | 62 +++++++++- drivers/mtd/ubi/vtbl.c | 6 +- drivers/mtd/ubi/wl.c | 270 +++++++++++++++++++++++++++++++++++++++++--- 10 files changed, 690 insertions(+), 76 deletions(-) -- 1.8.5.2 -- QUALCOMM ISRAEL, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html