From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GQlDo-0007GT-U0 for qemu-devel@nongnu.org; Fri, 22 Sep 2006 09:37:40 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GQlDm-0007EW-4u for qemu-devel@nongnu.org; Fri, 22 Sep 2006 09:37:40 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GQlDm-0007ET-0c for qemu-devel@nongnu.org; Fri, 22 Sep 2006 09:37:38 -0400 Received: from [81.255.54.11] (helo=mx.laposte.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GQlHT-0003q9-OC for qemu-devel@nongnu.org; Fri, 22 Sep 2006 09:41:30 -0400 Received: from bibi (217.128.241.130) by mx.laposte.net (7.2.060.1) (authenticated as jerome.arbez-gindre) id 4508B9C9004ECE65 for qemu-devel@nongnu.org; Fri, 22 Sep 2006 15:37:31 +0200 References: <87fyels3aw.fsf@bibi.net> From: jerome.arbez-gindre@laposte.net (=?iso-8859-15?q?J=E9r=F4me_Arbez-Gindre?=) Date: 22 Sep 2006 15:33:06 +0200 In-Reply-To: <87fyels3aw.fsf@bibi.net> Message-ID: <87irjgni0d.fsf@bibi.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: Quoted-Printable Subject: [Qemu-devel] Re: DMA transfer failing most of the time 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@nongnu.org jerome.arbez-gindre@laposte.net (J=E9r=F4me 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. >=20 > In the emulation, I'm performing DMA transfers by calls to >=20 > cpu_physical_memory_rw() >=20 > and then, I'm generating a interrupt. >=20 > 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). >=20 > In your opinion, is their something I'm missing ? >=20 > Any help would be appreciated. >=20 > Thanks, >=20 > J=E9r=F4me. I have found my mistake, which had nothing to do with Qemu. Thanks and apologies. J=E9r=F4me