[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: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [PATCH v3 14/14] i386: ACPI table generation code from seabios |
Date: |
Fri, 26 Jul 2013 17:30:29 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130621 Thunderbird/17.0.7 |
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
- [Qemu-devel] [PATCH v3 11/14] piix: APIs for pc guest info, (continued)
- [Qemu-devel] [PATCH v3 11/14] piix: APIs for pc guest info, Michael S. Tsirkin, 2013/07/24
- [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 <=
- Re: [Qemu-devel] [PATCH v3 14/14] i386: ACPI table generation code from seabios, Michael S. Tsirkin, 2013/07/28
[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