From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=55991 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PM12O-0008Jy-C5 for qemu-devel@nongnu.org; Fri, 26 Nov 2010 11:20:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PM12N-0002xe-8C for qemu-devel@nongnu.org; Fri, 26 Nov 2010 11:20:40 -0500 Received: from mx1.redhat.com ([209.132.183.28]:26236) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PM12M-0002xN-Sw for qemu-devel@nongnu.org; Fri, 26 Nov 2010 11:20:39 -0500 From: Kevin Wolf Date: Fri, 26 Nov 2010 17:21:28 +0100 Message-Id: <1290788492-17703-1-git-send-email-kwolf@redhat.com> Subject: [Qemu-devel] [PATCH 0/4] ide: Some DMA related fixes List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, stefanha@gmail.com, mjt@tls.msk.ru These are some fixes for the DMA code in IDE that I came up with when debugging the crash in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=604869 This doesn't fix the cause of the I/O errors (which is somewhere in vvfat), but rather improves how the error situation is handled. Kevin Wolf (4): ide: Factor ide_dma_set_inactive out ide: Set bus master inactive on error ide: Ignore double DMA transfer starts/stops ide: Reset current_addr after stopping DMA hw/ide/core.c | 31 +++++++++++++-------------- hw/ide/pci.c | 62 ++++++++++++++++++++++++++++++-------------------------- 2 files changed, 48 insertions(+), 45 deletions(-) -- 1.7.2.3