[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 14/14] i386: ACPI table generation code from
From: |
Michael S. Tsirkin |
Subject: |
Re: [Qemu-devel] [PATCH v3 14/14] i386: ACPI table generation code from seabios |
Date: |
Sun, 28 Jul 2013 10:00:27 +0300 |
On Fri, Jul 26, 2013 at 05:30:29PM +0200, Gerd Hoffmann wrote:
> Hi,
>
> >> 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.
>
> Completely different idea to tackle the issue: use COMMAND_ADD_POINTER
> not only for table pointers, but also register offsets. So the firmware
> doesn't need to parse fadt to figure how it should program pm_base, but
> instead can fixup the fadt according to the pm_base it has used.
>
> That is more in line with how firmware works (pm_base and simliar things
> tends to be #defines and are not runtime-configurable). And I think
> it's also more robust when extending/changing tables for newer acpi spec
> revisions.
>
> cheers,
> Gerd
>
And for newer chipsets. I agree. I plan to add a file to configure how
firmware programs PCI devices at init.
--
MST
- Re: [Qemu-devel] [PATCH v3 11/14] piix: APIs for pc guest info, (continued)
Re: [Qemu-devel] [PATCH v3 11/14] piix: APIs for pc guest info, Gerd Hoffmann, 2013/07/25
[Qemu-devel] [PATCH v3 14/14] i386: ACPI table generation code from seabios, Michael S. Tsirkin, 2013/07/24
- Re: [Qemu-devel] [PATCH v3 14/14] i386: ACPI table generation code from seabios, Gerd Hoffmann, 2013/07/25
- Re: [Qemu-devel] [PATCH v3 14/14] i386: ACPI table generation code from seabios, Michael S. Tsirkin, 2013/07/25
- Re: [Qemu-devel] [PATCH v3 14/14] i386: ACPI table generation code from seabios, Gerd Hoffmann, 2013/07/25
- Re: [Qemu-devel] [PATCH v3 14/14] i386: ACPI table generation code from seabios, Michael S. Tsirkin, 2013/07/25
- Re: [Qemu-devel] [PATCH v3 14/14] i386: ACPI table generation code from seabios, Gerd Hoffmann, 2013/07/26
- Re: [Qemu-devel] [PATCH v3 14/14] i386: ACPI table generation code from seabios, Gerd Hoffmann, 2013/07/26
- Re: [Qemu-devel] [PATCH v3 14/14] i386: ACPI table generation code from seabios,
Michael S. Tsirkin <=
[Qemu-devel] [PATCH v3 02/14] i386: add ACPI table files from seabios, Michael S. Tsirkin, 2013/07/24
[Qemu-devel] [PATCH v3 01/14] hw/i386/pc.c: move IO_APIC_DEFAULT_ADDRESS to include/hw/i386/apic.h, Michael S. Tsirkin, 2013/07/24
[Qemu-devel] [PATCH v3 03/14] acpi: add rules to compile ASL source, Michael S. Tsirkin, 2013/07/24
Re: [Qemu-devel] [PATCH v3 00/14] qemu: generate acpi tables for the guest, Andreas Färber, 2013/07/25