From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55367) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XDDg1-0001xu-CV for qemu-devel@nongnu.org; Fri, 01 Aug 2014 10:19:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XDDfw-0000MK-IY for qemu-devel@nongnu.org; Fri, 01 Aug 2014 10:19:21 -0400 Received: from mx1.redhat.com ([209.132.183.28]:2076) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XDDfw-0000Li-AP for qemu-devel@nongnu.org; Fri, 01 Aug 2014 10:19:16 -0400 Message-ID: <53DBA1D9.6070505@redhat.com> Date: Fri, 01 Aug 2014 16:19:05 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <20140723200925.9787.75225.stgit@joelaarch64.amd.com> <53DB7CF4.1020702@redhat.com> <53DB9DE8.3020805@amd.com> In-Reply-To: <53DB9DE8.3020805@amd.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] arm64: 64K pages and > 1024MB guest List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Joel Schopp , Peter Maydell Cc: QEMU Developers Il 01/08/2014 16:02, Joel Schopp ha scritto: >> > >> > I think the patch is right but, besides these considerations, does this >> > bug still manifest itself after Andrew fixed the start address of the >> > device at 0x90010000 (IIRC it was the pl031)? > The device I see with that address is: > hw/arm/virt.c: [VIRT_RTC] = { 0x90010000, 0x1000 }, > > The bug still manifests itself with that in the tree (without my patch > applied). In 2.1-rc5 it is [VIRT_RTC] = { 0x9010000, 0x1000 }, with one zero less: commit 1373e140f0b0554a8b3aba9761cd96df49520f97 Author: Andrew Jones Date: Tue Jul 29 18:32:01 2014 +0200 hw/arm/virt: fix pl031 addr typo pl031's base address should be 0x9010000, not 0x90010000, otherwise it sits in ram when configuring a guest with greater than 1G. Signed-off-by: Andrew Jones Signed-off-by: Peter Maydell diff --git a/hw/arm/virt.c b/hw/arm/virt.c index 405c61d..89532bd 100644 --- a/hw/arm/virt.c +++ b/hw/arm/virt.c @@ -104,7 +104,7 @@ static const MemMapEntry a15memmap[] = { [VIRT_GIC_DIST] = { 0x8000000, 0x10000 }, [VIRT_GIC_CPU] = { 0x8010000, 0x10000 }, [VIRT_UART] = { 0x9000000, 0x1000 }, - [VIRT_RTC] = { 0x90010000, 0x1000 }, + [VIRT_RTC] = { 0x9010000, 0x1000 }, [VIRT_MMIO] = { 0xa000000, 0x200 }, /* ...repeating for a total of NUM_VIRTIO_TRANSPORTS, each of that size */ /* 0x10000000 .. 0x40000000 reserved for PCI */ Paolo