From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IsbPo-00030o-6I for qemu-devel@nongnu.org; Thu, 15 Nov 2007 04:53:40 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IsbPn-0002zB-24 for qemu-devel@nongnu.org; Thu, 15 Nov 2007 04:53:39 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IsbPm-0002yv-KI for qemu-devel@nongnu.org; Thu, 15 Nov 2007 04:53:38 -0500 Received: from atlas.informatik.uni-freiburg.de ([132.230.150.3]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IsbPm-0001hm-BO for qemu-devel@nongnu.org; Thu, 15 Nov 2007 04:53:38 -0500 Received: from mafia.informatik.uni-freiburg.de ([132.230.150.87]) by atlas.informatik.uni-freiburg.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1IsbPj-0004sK-4A for qemu-devel@nongnu.org; Thu, 15 Nov 2007 10:53:35 +0100 Message-ID: <473C1717.4040206@gmx.net> Date: Thu, 15 Nov 2007 10:53:27 +0100 From: Thorsten Zitterell MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------010508070305070702080105" Subject: [Qemu-devel] [PATCH] hw/pxa2xx_dma.c Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org This is a multi-part message in MIME format. --------------010508070305070702080105 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit The following patch fixes the problem that DMA transfers are not performed when the DCSR_STOPINTR bit is set. -- Thorsten --------------010508070305070702080105 Content-Type: text/plain; name="qemu-patch-pxa2xx_dma" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="qemu-patch-pxa2xx_dma" Index: hw/pxa2xx_dma.c =================================================================== RCS file: /sources/qemu/qemu/hw/pxa2xx_dma.c,v retrieving revision 1.5 diff -u -r1.5 pxa2xx_dma.c --- hw/pxa2xx_dma.c 11 Nov 2007 19:47:58 -0000 1.5 +++ hw/pxa2xx_dma.c 15 Nov 2007 09:28:22 -0000 @@ -186,7 +186,8 @@ s->running = 1; for (c = 0; c < s->channels; c ++) { ch = &s->chan[c]; - + + ch->state &= ~DCSR_STOPINTR; while ((ch->state & DCSR_RUN) && !(ch->state & DCSR_STOPINTR)) { /* Test for pending requests */ if ((ch->cmd & (DCMD_FLOWSRC | DCMD_FLOWTRG)) && !ch->request) --------------010508070305070702080105--