[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <A765B125120D1346A63912DDE6D8B6310BF4CEC3@NTXXIAMBX02.xacn.micron.com>
Date: Mon, 28 Sep 2015 07:02:35 +0000
From: Bean Huo 霍斌斌 (beanhuo)
<beanhuo@...ron.com>
To: "dedekind1@...il.com" <dedekind1@...il.com>,
"adrian.hunter@...el.com" <adrian.hunter@...el.com>,
"computersforpeace@...il.com" <computersforpeace@...il.com>,
"baruch@...s.co.il" <baruch@...s.co.il>,
"asierra@...-inc.com" <asierra@...-inc.com>,
"guz.fnst@...fujitsu.com" <guz.fnst@...fujitsu.com>,
"gsi@...x.de" <gsi@...x.de>, "richard@....at" <richard@....at>,
Boris Brezillon <boris.brezillon@...e-electrons.com>
CC: Boris Brezillon <boris.brezillon@...e-electrons.com>,
David Woodhouse <dwmw2@...radead.org>,
"linux-mtd@...ts.infradead.org" <linux-mtd@...ts.infradead.org>,
Artem Bityutskiy <dedekind1@...il.com>,
Richard Weinberger <richard@....at>,
Frank Liu 刘群 (frankliu)
<frankliu@...ron.com>, Andrea Scian <rnd4@...e-tech.it>,
Peter Pan 潘柏宏 (peterpan)
<peterpan@...ron.com>,
Karl Zhang 张双锣 (karlzhang)
<karlzhang@...ron.com>,
Iwo Mergler <Iwo.Mergler@...commwireless.com>,
"Jeff Lauruhn (jlauruhn)" <jlauruhn@...ron.com>,
Stefan Roese <sr@...x.de>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: [PATCH 0/9] drivers:mtd:UBI: add bakvol module for MLC NAND paired
page issue
Hello,
This series aims at adding a bakvol module for MLC NAND paired page
Power loss protection.
MLC NAND paired page power loss is a known issue so far, MLC NAND pages are
coupled in a sense that if you cut power while writing to a page, you corrupt not only
this page, but also one of the previous pages which is paired with the current one.
Currently, there is no a perfect solution for this.
This paired page solution is based on NAND multiple plane program feature. For this
Patch, only used dual plane page program, means two different plane pages can
Be programmed together at the same time.
Dual plane page program only implements in backup operation. Only lower page data
Be duplicated and back up into a internal log volume by dual plane program method.
This patch has been testing on Micron 70s/80s/90s MLC NAND.
Of course there are some places needed to be improved and simplified.
Any suggestion and comments welcomed.
Bean Huo (9):
drivers:nand:mtd: add support for UBI bakvol in mtd layer
drivers:mtd:ubi:add definition for UBI bakvol operation
drivers:mtd:ubi:add metadata struct for UBI bakvol
fs:ubifs: add hook for UBI bakvol in ubifs layer
drivers:mtd:ubi:add support for getting block according to plane
drivers:mtd:ubi:add hook for UBI bakvol in ubi_io_write
drivers:mtd:add NAND dual plane program support
drivers:mtd:ubi:init UBI bakvol and recover corrupted lower page
drivers:mtd:ubi:add bakvol module in UBI layer
drivers/mtd/mtdpart.c | 21 +
drivers/mtd/nand/nand_base.c | 401 +++++++++++++++
drivers/mtd/ubi/Kconfig | 15 +
drivers/mtd/ubi/Makefile | 2 +
drivers/mtd/ubi/attach.c | 26 +-
drivers/mtd/ubi/bakvol.c | 1106 ++++++++++++++++++++++++++++++++++++++++++
drivers/mtd/ubi/build.c | 7 +
drivers/mtd/ubi/io.c | 63 ++-
drivers/mtd/ubi/ubi-media.h | 40 ++
drivers/mtd/ubi/ubi.h | 17 +
drivers/mtd/ubi/wl.c | 134 +++++
fs/ubifs/super.c | 6 +
fs/ubifs/ubifs.h | 1 +
include/linux/mtd/mtd.h | 19 +
include/linux/mtd/nand.h | 4 +
include/linux/mtd/ubi.h | 9 +
16 files changed, 1862 insertions(+), 9 deletions(-)
create mode 100644 drivers/mtd/ubi/bakvol.c
--
1.9.1
Powered by blists - more mailing lists