From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GQPac-00054x-7k for qemu-devel@nongnu.org; Thu, 21 Sep 2006 10:31:46 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GQPaZ-00051L-Va for qemu-devel@nongnu.org; Thu, 21 Sep 2006 10:31:45 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GQPaZ-00051A-S3 for qemu-devel@nongnu.org; Thu, 21 Sep 2006 10:31:43 -0400 Received: from [81.255.54.11] (helo=mx.laposte.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GQPe6-0002WP-EP for qemu-devel@nongnu.org; Thu, 21 Sep 2006 10:35:22 -0400 Received: from bibi (217.128.241.130) by mx.laposte.net (7.2.060.1) (authenticated as jerome.arbez-gindre) id 4508BCA800455785 for qemu-devel@nongnu.org; Thu, 21 Sep 2006 16:31:41 +0200 Subject: [Qemu-devel] DMA transfer failing most of the time From: jerome.arbez-gindre@laposte.net (=?iso-8859-15?q?J=E9r=F4me_Arbez-Gindre?=) Date: 21 Sep 2006 16:27:19 +0200 Message-ID: <87fyels3aw.fsf@bibi.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: Quoted-Printable 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 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=E9r=F4me.