[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH][RFT] Make DMA timer driven
From: |
Edgar E. Iglesias |
Subject: |
Re: [Qemu-devel] [PATCH][RFT] Make DMA timer driven |
Date: |
Fri, 24 Oct 2008 00:04:54 +0200 |
User-agent: |
Mutt/1.5.16 (2007-06-09) |
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