From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NUhSG-0005n2-Od for qemu-devel@nongnu.org; Tue, 12 Jan 2010 09:10:44 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NUhSC-0005l3-DJ for qemu-devel@nongnu.org; Tue, 12 Jan 2010 09:10:44 -0500 Received: from [199.232.76.173] (port=53000 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NUhSC-0005kz-BL for qemu-devel@nongnu.org; Tue, 12 Jan 2010 09:10:40 -0500 Received: from miranda.se.axis.com ([193.13.178.8]:37789) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NUhSB-0007fr-Mw for qemu-devel@nongnu.org; Tue, 12 Jan 2010 09:10:40 -0500 From: "Edgar E. Iglesias" Date: Tue, 12 Jan 2010 15:05:31 +0100 Message-Id: <1263305132-23157-1-git-send-email-edgar.iglesias@gmail.com> Subject: [Qemu-devel] [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: qemu-devel@nongnu.org Cc: "Edgar E. Iglesias" , Jean-Hugues Deschenes As promised this is a resend of a patch I posted 2008-12-12. 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. 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. I've ran it on CRIS, ARM and MIPS boards but only with linux guests. Cheers Edgar E. Iglesias (1): nand: Correct random data reads. hw/nand.c | 20 +++++++++++++------- 1 files changed, 13 insertions(+), 7 deletions(-)