qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Thorsten Zitterell <the.real.hik@gmx.net>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH] hw/pxa2xx_dma.c
Date: Thu, 15 Nov 2007 10:53:27 +0100	[thread overview]
Message-ID: <473C1717.4040206@gmx.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 123 bytes --]

The following patch fixes the problem that DMA transfers are not performed when 
the DCSR_STOPINTR bit is set.
--
Thorsten

[-- Attachment #2: qemu-patch-pxa2xx_dma --]
[-- Type: text/plain, Size: 674 bytes --]

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)

             reply	other threads:[~2007-11-15  9:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-15  9:53 Thorsten Zitterell [this message]
2007-11-17 15:12 ` [Qemu-devel] [PATCH] hw/pxa2xx_dma.c andrzej zaborowski
2007-11-17 15:26   ` andrzej zaborowski
2007-11-17 15:42     ` Thorsten Zitterell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=473C1717.4040206@gmx.net \
    --to=the.real.hik@gmx.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).