From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from db3ehsobe006.messaging.microsoft.com ([213.199.154.144] helo=DB3EHSOBE006.bigfish.com) by canuck.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QvWzO-0002C3-R2 for linux-mtd@lists.infradead.org; Mon, 22 Aug 2011 16:04:39 +0000 Message-ID: <4E527E0F.1010500@freescale.com> Date: Mon, 22 Aug 2011 11:04:31 -0500 From: Scott Wood MIME-Version: 1.0 To: Ivan Djelic Subject: Re: [PATCH v3] mtd/nand : workaround for Freescale FCM to support large-page Nand chip References: <1313634783-8855-1-git-send-email-b35362@freescale.com> <4E4D452C.7050805@parrot.com> <4E4DD661.5080006@freescale.com> <4E4E2571.20409@parrot.com> <4E4EA70B.9050203@freescale.com> <1314010719.2644.114.camel@sauron> <20110822152530.GA16794@parrot.com> In-Reply-To: <20110822152530.GA16794@parrot.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: Artem Bityutskiy , LiuShuo , Matthieu Castet , "linuxppc-dev@ozlabs.org" , "linux-mtd@lists.infradead.org" , "dwmw2@infradead.org" List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 08/22/2011 10:25 AM, Ivan Djelic wrote: > Did you take into account the fact that because MTD thinks this a 2K chip, > you will have to wait twice for the nand busy read time (typically 25 us) per > each 4K read. In other words, to read 4 kBytes you will do: > > 1. send read0 (00), send address, send read1 (30) > 2. wait tRB > 3. transfer 2 kBytes > 4. send read0 (00), send address, send read1 (30) > 5. wait tRB > 6. transfer 2 kBytes > > Same problem for writes (but rather 100 us instead of 25 us). > > How does that compare with hw ecc gain in terms of performance ? We'd have the double-delay with the sw ecc plus buffering approach as well. To eliminate it we'd need to do an extra data transfer without reissuing the command, which Shuo was unable to get to work. And it's not worse than having an actual 2K chip. :-) -Scott