From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NUj7o-00028n-R6 for qemu-devel@nongnu.org; Tue, 12 Jan 2010 10:57:44 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NUj7m-00027J-Kt for qemu-devel@nongnu.org; Tue, 12 Jan 2010 10:57:44 -0500 Received: from [199.232.76.173] (port=56040 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NUj7m-00027A-DE for qemu-devel@nongnu.org; Tue, 12 Jan 2010 10:57:42 -0500 Received: from mail.octasic.com ([70.54.254.106]:23009 helo=MAILEXCH.octasic.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NUj7l-0005Bl-Sp for qemu-devel@nongnu.org; Tue, 12 Jan 2010 10:57:42 -0500 Message-ID: <4B4C96BA.6010302@octasic.com> Date: Tue, 12 Jan 2010 10:35:22 -0500 From: Jean-Hugues Deschenes MIME-Version: 1.0 References: <1263305132-23157-1-git-send-email-edgar.iglesias@gmail.com> In-Reply-To: <1263305132-23157-1-git-send-email-edgar.iglesias@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH 0/1] nand: Support random data reads. List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Edgar E. Iglesias" Cc: qemu-devel@nongnu.org Edgar E. Iglesias wrote: > As promised this is a resend of a patch I posted 2008-12-12. > Thanks. > At some point linux MTD started using random data reads and my NAND > boards stopped working. This patch fixed the issue. > > I received a comment regarding sequential reads that cross page boundaries. > Those won't work but they don't work without the patch either so IMO that > can be addressed with follow-up patches. > I share you opinion. > Would be great if someone with access to guests for other NAND boards could > try this out. Even better with something else than linux guests. > For what it's worth, I have tried this on an ARM-based guest running Linux and it fixed my problem. Note that this (emulated) board integrates a fairly evolved NAND flash controller that takes over most flash device operations. The accesses made to the emulated NAND flash device are then not necessarily the same as would have been done by the stock MTD subsystem. Also tested with u-boot integrating a dumbed-down version of the aforementioned driver. jh