From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59027) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YgEvd-0004qx-TO for qemu-devel@nongnu.org; Thu, 09 Apr 2015 12:03:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YgEvY-0005Ok-PB for qemu-devel@nongnu.org; Thu, 09 Apr 2015 12:03:41 -0400 Received: from mail-ig0-f176.google.com ([209.85.213.176]:38616) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YgEvY-0005Oc-JJ for qemu-devel@nongnu.org; Thu, 09 Apr 2015 12:03:36 -0400 Received: by igbqf9 with SMTP id qf9so68586283igb.1 for ; Thu, 09 Apr 2015 09:03:35 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <5526A204.8060802@redhat.com> References: <1428055432-12120-1-git-send-email-zhaoshenglong@huawei.com> <1428055432-12120-11-git-send-email-zhaoshenglong@huawei.com> <877ftl1n4j.fsf@linaro.org> <20150409151718.5eb49015@nial.brq.redhat.com> <20150409155119.0cf5bc94@nial.brq.redhat.com> <5526A204.8060802@redhat.com> From: Peter Maydell Date: Thu, 9 Apr 2015 17:03:15 +0100 Message-ID: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v4 10/20] hw/arm/virt-acpi-build: Generate RSDT table List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Laszlo Ersek Cc: hangaohuai@huawei.com, "Michael S. Tsirkin" , Alexander Spyridakis , Shannon Zhao , Claudio Fontana , QEMU Developers , "Huangpeng (Peter)" , Paolo Bonzini , Hanjun Guo , Mark Salter , Igor Mammedov , =?UTF-8?B?QWxleCBCZW5uw6ll?= , Christoffer Dall , Shannon Zhao On 9 April 2015 at 17:00, Laszlo Ersek wrote: > On 04/09/15 15:59, Peter Maydell wrote: >> On 9 April 2015 at 14:51, Igor Mammedov wrote: >>> On Thu, 9 Apr 2015 14:27:58 +0100 >>> Peter Maydell wrote: >>> >>>> On 9 April 2015 at 14:17, Igor Mammedov wrote: >>>>> On Thu, 09 Apr 2015 13:50:52 +0100 >>>>> Alex Benn=C3=A9e wrote: >>>>> >>>>>> >>>>>> Shannon Zhao writes: >>>>>>> + for (i =3D 0; i < table_offsets->len; ++i) { >>>>>>> + /* rsdt->table_offset_entry to be filled by Guest linker *= / >>>>>>> + bios_linker_loader_add_pointer(linker, >>>>>>> + ACPI_BUILD_TABLE_FILE, >>>>>>> + ACPI_BUILD_TABLE_FILE, >>>>>>> + table_data, &rsdt->table_of= fset_entry[i], >>>>>>> + sizeof(uint32_t)); >>>>>> >>>>>> Why are these pointers always 32 bit? Can they ever be 64 bit? >>>>> Laszlo, can you confirm that UEFI puts APCI tables below 4G address >>>>> space? > > I confirmed that before, in the v2 discussion: > > http://thread.gmane.org/gmane.comp.emulators.qemu/316670/focus=3D317560 > > But in fact the RSDT / XSDT that QEMU exports for UEFI doesn't matter. If this table is never used, presumably we should just not generate it at all, then? -- PMM