From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.nokia.com ([192.100.122.233] helo=mgw-mx06.nokia.com) by bombadil.infradead.org with esmtps (Exim 4.69 #1 (Red Hat Linux)) id 1N0AXX-0000SG-K2 for linux-mtd@lists.infradead.org; Tue, 20 Oct 2009 08:58:03 +0000 Subject: Re: [PATCH v5 0/3] MTD: OneNAND: multiblock erase support From: Artem Bityutskiy To: Mika Korhonen , Adrian Hunter In-Reply-To: <1255341165-1972-1-git-send-email-ext-mika.2.korhonen@nokia.com> References: <1255341165-1972-1-git-send-email-ext-mika.2.korhonen@nokia.com> Content-Type: text/plain; charset="UTF-8" Date: Tue, 20 Oct 2009 11:57:19 +0300 Message-Id: <1256029039.29856.145.camel@localhost> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: amul.saha@samsung.com, Kyungmin Park , linux-mtd@lists.infradead.org Reply-To: Artem.Bityutskiy@nokia.com List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Similarly, waiting for Adrian to review this. He said he'll do soon. On Mon, 2009-10-12 at 12:52 +0300, Mika Korhonen wrote: > (v5) Adjust patches to apply on current tree. Use __func__ in printk's. > Fix mistakes found by K. Park. > > (v4) This patch series is a reworked version of > > http://lists.infradead.org/pipermail/linux-mtd/2009-September/027138.html > http://lists.infradead.org/pipermail/linux-mtd/2009-September/027139.html > http://lists.infradead.org/pipermail/linux-mtd/2009-September/027140.html > > based on comments by Adrian Hunter and Kyungmin Park. This version should > address the issues pointed out by them. > > The original patch is: > http://lists.infradead.org/pipermail/linux-mtd/2009-June/026130.html > > I split the original patch in two for readability: the first part extracts > the execution of erase command to a separate function for easier integration > of different erase method. The second part implements the multiblock erase > function in case multiple blocks are requested to be erased and the chip is > not Flex. > > This is useful for flashing applications that need to do their work as > fast as possible. For full 64 eraseblock case the erase speed is up to 30x > faster. (Samsung: 64 MB/s vs 2.1 GB/s, I got 1.4 GB/s on Linux kernel) > > > Mika Korhonen (3): > MTD: OneNAND: move erase method to a separate function > MTD: OneNAND: multiblock erase support > MTD: OneNAND: fix double printing of function name > > drivers/mtd/onenand/omap2.c | 22 +++- > drivers/mtd/onenand/onenand_base.c | 289 +++++++++++++++++++++++++++++------ > include/linux/mtd/flashchip.h | 4 +- > include/linux/mtd/onenand_regs.h | 2 + > 4 files changed, 262 insertions(+), 55 deletions(-) > > > ______________________________________________________ > Linux MTD discussion mailing list > http://lists.infradead.org/mailman/listinfo/linux-mtd/ -- Best Regards, Artem Bityutskiy (Артём Битюцкий)