qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Edgar E. Iglesias" <edgar.iglesias@axis.com>
To: qemu-devel@nongnu.org
Cc: Edgar Iglesias <edgar@axis.com>, Anthony Liguori <aliguori@us.ibm.com>
Subject: Re: [Qemu-devel] [PATCH][RFT] Make DMA timer driven
Date: Fri, 24 Oct 2008 00:04:54 +0200	[thread overview]
Message-ID: <20081023220453.GA15547@edgar.se.axis.com> (raw)
In-Reply-To: <1224797417-26044-1-git-send-email-aliguori@us.ibm.com>

On Thu, Oct 23, 2008 at 04:30:17PM -0500, Anthony Liguori wrote:
> The current DMA routines are driven by a call in main_loop_wait() after every
> select.  The effect of this is that the DMA runs at a 10ms frequency depending
> on whether IO is pending.
> 
> This patch converts the DMA code from using this implicit 10ms frequency to
> having an explicit 10ms frequency using a QEMUTimer.  This means boards no
> longer have to stub out DMA_run() functions.
> 
> The only two architectures implementing DMA_run() are cris and i386.  For cris,
> I converted it to a simple repeating timer.  I've only compile tested this so
> I'd appreciate if you could test it Edgar (or point me to an image).

Hello Anthony,

You can find info regarding CRIS/ETRAX testing here:
http://lists.gnu.org/archive/html/qemu-devel/2008-09/msg00279.html

I tested the patch. It works but unfortunately DMA transfers to/from
the ethernet block now seem to emulate very slowly.

Best regards

  reply	other threads:[~2008-10-23 22:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-23 21:30 [Qemu-devel] [PATCH][RFT] Make DMA timer driven Anthony Liguori
2008-10-23 22:04 ` Edgar E. Iglesias [this message]
2008-10-23 23:13   ` Paul Brook
2008-10-24  9:22     ` Edgar E. Iglesias

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=20081023220453.GA15547@edgar.se.axis.com \
    --to=edgar.iglesias@axis.com \
    --cc=aliguori@us.ibm.com \
    --cc=edgar@axis.com \
    --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).