From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51309) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5Inn-0000PV-Ey for qemu-devel@nongnu.org; Wed, 17 Jun 2015 15:15:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5Ini-0003hF-3C for qemu-devel@nongnu.org; Wed, 17 Jun 2015 15:15:11 -0400 Received: from mx1.redhat.com ([209.132.183.28]:36456) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5Inh-0003fx-TT for qemu-devel@nongnu.org; Wed, 17 Jun 2015 15:15:05 -0400 Message-ID: <5581C734.505@redhat.com> Date: Wed, 17 Jun 2015 21:15:00 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1434054631-32241-1-git-send-email-hpoussin@reactos.org> <20150611233006.GA14284@aurel32.net> <557F3943.1040300@reactos.org> <20150616174846.GA17031@aurel32.net> <558130CA.4030502@redhat.com> <5581A9B7.3040700@redhat.com> <5581BCFA.40503@reactos.org> In-Reply-To: <5581BCFA.40503@reactos.org> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] dma/rc4030: do multiple calls to address_space_rw when doing DMA transfers List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?ISO-8859-15?Q?Herv=E9_Poussineau?= , Aurelien Jarno Cc: Peter Maydell , Leon Alrae , qemu-devel@nongnu.org On 17/06/2015 20:31, Herv=E9 Poussineau wrote: >> >=20 > Sure. It works well for my test case. Thanks Paolo! >=20 > However, it breaks PC machines. > mtree gives: > 0000000000000cf8-0000000000000cfb (prio 0, RW): pci-conf-idx > 0000000000000cf9-0000000000000cf9 (prio 1, RW): piix3-reset-control > "make check" wants to write 4 bytes to 0xcf8. Your patch makes it write > only 1 byte, and bad things happen. Yup, that's the same as the Windows XP breakage. Thanks for the test! Paolo