* [Qemu-devel] DMA transfer failing most of the time
@ 2006-09-21 14:27 Jérôme Arbez-Gindre
2006-09-22 13:33 ` [Qemu-devel] " Jérôme Arbez-Gindre
0 siblings, 1 reply; 2+ messages in thread
From: Jérôme Arbez-Gindre @ 2006-09-21 14:27 UTC (permalink / raw)
To: qemu-devel
Hi,
I'm writing a PCI board emulation in Qemu 0.8.1. (i386)
I'm also writing the corresponding Linux 2.6 driver.
In the emulation, I'm performing DMA transfers by calls to
cpu_physical_memory_rw()
and then, I'm generating a interrupt.
In the Linux driver, in the interrupt handler, when I check the
transferred data, the most of the time they are not updated and when
after waiting a little (10ms), I check again the transferred data,
and they are OK (most of the time).
In your opinion, is their something I'm missing ?
Any help would be appreciated.
Thanks,
Jérôme.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Qemu-devel] Re: DMA transfer failing most of the time
2006-09-21 14:27 [Qemu-devel] DMA transfer failing most of the time Jérôme Arbez-Gindre
@ 2006-09-22 13:33 ` Jérôme Arbez-Gindre
0 siblings, 0 replies; 2+ messages in thread
From: Jérôme Arbez-Gindre @ 2006-09-22 13:33 UTC (permalink / raw)
To: qemu-devel
jerome.arbez-gindre@laposte.net (Jérôme Arbez-Gindre) writes:
> Hi,
> I'm writing a PCI board emulation in Qemu 0.8.1. (i386)
> I'm also writing the corresponding Linux 2.6 driver.
>
> In the emulation, I'm performing DMA transfers by calls to
>
> cpu_physical_memory_rw()
>
> and then, I'm generating a interrupt.
>
> In the Linux driver, in the interrupt handler, when I check the
> transferred data, the most of the time they are not updated and when
> after waiting a little (10ms), I check again the transferred data,
> and they are OK (most of the time).
>
> In your opinion, is their something I'm missing ?
>
> Any help would be appreciated.
>
> Thanks,
>
> Jérôme.
I have found my mistake, which had nothing to do with Qemu.
Thanks and apologies.
Jérôme
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-09-22 13:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-21 14:27 [Qemu-devel] DMA transfer failing most of the time Jérôme Arbez-Gindre
2006-09-22 13:33 ` [Qemu-devel] " Jérôme Arbez-Gindre
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).