From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47362) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2dyx-0001eh-Cz for qemu-devel@nongnu.org; Fri, 26 Jul 2013 05:06:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V2dyw-0003wd-AH for qemu-devel@nongnu.org; Fri, 26 Jul 2013 05:06:39 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45825) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2dyw-0003wZ-2G for qemu-devel@nongnu.org; Fri, 26 Jul 2013 05:06:38 -0400 Message-ID: <51F23C1A.7030103@redhat.com> Date: Fri, 26 Jul 2013 11:06:34 +0200 From: Gerd Hoffmann MIME-Version: 1.0 References: <1374681580-17439-1-git-send-email-mst@redhat.com> <1374681580-17439-15-git-send-email-mst@redhat.com> <51F122D1.4010600@redhat.com> <20130725132301.GA2575@redhat.com> <51F13D0C.20602@redhat.com> <20130725151435.GE3758@redhat.com> In-Reply-To: <20130725151435.GE3758@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v3 14/14] i386: ACPI table generation code from seabios List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: Anthony Liguori , qemu-devel@nongnu.org Hi, >> You can look at the tables without doing a full linker pass first, so >> the firmware can easily initialize the hardware according to what it >> finds in specific acpi tables. Check FADT for pm_base. Check MCFG for >> mmconf xbar location. >> >> cheers, >> Gerd > > That's something I think that it's best for firmware to avoid. > Much better to load tables in memory and use standard ACPI > methods to find specific tables. Problem is this happens relatively late in the firmware boot process. > It's a general thing: paravirtualization is often easier > but let's use standard interfaces where possible. Sure. Thats why I want read the info from the acpi tables. Being able to do that without a full acpi table linker pass makes this easier for the firmware, especially for informations needed very early in the initialization process. What is wrong with etc/acpi/fadt ? > Sticking everything in one file will serve to keep firmware > honest and not let it cut corners. Parse error. cheers, Gerd