From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38998) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIghg-0005Ii-Dr for qemu-devel@nongnu.org; Tue, 03 Feb 2015 11:52:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YIghc-00012B-2P for qemu-devel@nongnu.org; Tue, 03 Feb 2015 11:51:56 -0500 Received: from mx1.redhat.com ([209.132.183.28]:1415) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIghb-000121-RR for qemu-devel@nongnu.org; Tue, 03 Feb 2015 11:51:51 -0500 Message-ID: <54D0FC85.4000204@redhat.com> Date: Tue, 03 Feb 2015 17:51:17 +0100 From: Laszlo Ersek MIME-Version: 1.0 References: <1422520633-13456-1-git-send-email-zhaoshenglong@huawei.com> <1422520633-13456-10-git-send-email-zhaoshenglong@huawei.com> <20150203171958.0ecb698b@nial.brq.redhat.com> In-Reply-To: <20150203171958.0ecb698b@nial.brq.redhat.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC PATCH v2 09/11] hw/arm/virt-acpi-build: Generate XSDT table List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Igor Mammedov , Shannon Zhao Cc: peter.maydell@linaro.org, hangaohuai@huawei.com, mst@redhat.com, a.spyridakis@virtualopensystems.com, claudio.fontana@huawei.com, qemu-devel@nongnu.org, peter.huangpeng@huawei.com, hanjun.guo@linaro.org, wanghaibin.wang@huawei.com, pbonzini@redhat.com, christoffer.dall@linaro.org On 02/03/15 17:19, Igor Mammedov wrote: > On Thu, 29 Jan 2015 16:37:11 +0800 > Shannon Zhao wrote: > >> XDST points to other tables except FACS & DSDT. > Is there any reason to use XSDT instead of RSDT? > If ACPI tables are below 4Gb which probably would > be the case then RSDT could be used just fine and > we could share more code between x86 and ARM. > > Laszlo, > Do you know if OVMF allocates memory below 4G address range? Yes, it does. https://github.com/tianocore/edk2/blob/master/OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpi.c#L162 RSDT should suffice. Thanks, Laszlo