From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52316) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WOCgb-0004SN-1l for qemu-devel@nongnu.org; Thu, 13 Mar 2014 16:57:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WOCgU-0004Sg-Fw for qemu-devel@nongnu.org; Thu, 13 Mar 2014 16:57:04 -0400 Message-ID: <53221B67.5000205@reactos.org> Date: Thu, 13 Mar 2014 21:56:07 +0100 From: =?UTF-8?B?SGVydsOpIFBvdXNzaW5lYXU=?= MIME-Version: 1.0 References: <1383606592-12783-1-git-send-email-hpoussin@reactos.org> <1383606592-12783-6-git-send-email-hpoussin@reactos.org> <5321E667.5080104@web.de> In-Reply-To: <5321E667.5080104@web.de> Content-Type: multipart/mixed; boundary="------------090402040306050407000508" Subject: Re: [Qemu-devel] [PATCH v3 05/10] raven: set a correct PCI I/O memory region List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= Cc: Mark Cave-Ayland , qemu-ppc@nongnu.org, qemu-devel@nongnu.org This is a multi-part message in MIME format. --------------090402040306050407000508 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Le 13/03/2014 18:09, Andreas F=C3=A4rber a =C3=A9crit : > Am 05.11.2013 00:09, schrieb Herv=C3=A9 Poussineau: >> PCI I/O region is 0x3f800000 bytes starting at 0x80000000. >> Do not use global QEMU I/O region, which is only 64KB. >> >> Signed-off-by: Herv=C3=A9 Poussineau > > With this patch I get only a blank screen in OHW/Etch. There seems to be conflict with the PCI I/O region added by this patch wi= th the memory region registered by PReP machine to handle non-contiguous = I/O. Attached patch fixes it, but it may break non-contiguous I/O up to patch = 08/10 (I've no mean to test it) Another possibility is to merge patches 05 and 08 into one, as 06/10 and = 07/10 can be freely reordered. Regards, Herv=C3=A9 --------------090402040306050407000508 Content-Type: text/x-patch; name="0001-prep-repair-PReP-boot.patch" Content-Disposition: attachment; filename="0001-prep-repair-PReP-boot.patch" Content-Transfer-Encoding: quoted-printable >>From 62cdb27e3902101a468fe34462f690d50f511c6b Mon Sep 17 00:00:00 2001 From: =3D?UTF-8?q?Herv=3DC3=3DA9=3D20Poussineau?=3D Date: Thu, 13 Mar 2014 21:53:08 +0100 Subject: [PATCH] prep: repair PReP boot MIME-Version: 1.0 Content-Type: text/plain; charset=3DUTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Herv=C3=A9 Poussineau --- hw/ppc/prep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/ppc/prep.c b/hw/ppc/prep.c index 9f8538c..f1476e8 100644 --- a/hw/ppc/prep.c +++ b/hw/ppc/prep.c @@ -624,7 +624,7 @@ static void ppc_prep_init(QEMUMachineInitArgs *args) /* Register 8 MB of ISA IO space (needed for non-contiguous map) */ memory_region_init_io(PPC_io_memory, NULL, &PPC_prep_io_ops, sysctrl= , "ppc-io", 0x00800000); - memory_region_add_subregion(sysmem, 0x80000000, PPC_io_memory); + memory_region_add_subregion_overlap(sysmem, 0x80000000, PPC_io_memor= y, -1); =20 /* init basic PC hardware */ pci_vga_init(pci_bus); --=20 1.7.10.4 --------------090402040306050407000508--