qemu-patch-raspberry4/include/hw/acpi
Igor Mammedov ddf1ec2ffe pc: acpi-build: create CPU hotplug IO region dynamically
it replaces a static complied in DSDT MMIO region
for CPU hotplug with one created at runtime
leaving only truly static CPU hotplug related ASL
bits in DSDT.
It also puts CPU_HOTPLUG_RESOURCE_DEVICE into
PCI0 scope and reserves resources from it,
preparing for dropping manual hole punching
in PCI0._CRS.

Later it also would make easier to reuse current
ACPI CPU hotplug on other targets.

Also later it would be possible to move remaining
CPU hotplug ASL methods into build_ssdt() and
add all CPU hotplug related AML into SSDT only
when CPU hotplug is enabled, further reducing
ACPI tables blob if CPU hotplug isn't used.

impl. detail:
Windows XP can't handle /BSODs/ OperationRegion
declaration in DSDT when variable from SSDT is used
for specifying its address/length and also when
Field declared in DSDT with OperationRegion from
SSDT if DSDT is being parsed before SSDT.
But it works just fine when referencing named
fields from another table. Hence OperationRegion
and Field declaration are moved to SSDT to make
XP based editions work.

PS:
Later Windows editions seem to be fine with above
conditions.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2015-02-26 13:04:17 +01:00
..
acpi.h acpi: rephrase comment 2014-06-19 18:44:22 +03:00
acpi_dev_interface.h acpi: introduce TYPE_ACPI_DEVICE_IF interface 2014-06-19 18:44:22 +03:00
aml-build.h acpi: add aml_eisaid() term 2015-02-26 13:04:16 +01:00
bios-linker-loader.h bios-linker-loader: move header to common location 2015-01-27 14:46:17 +02:00
cpu_hotplug.h cpu-hotplug: rename function for better readability 2014-11-02 13:44:12 +02:00
ich9.h acpi, ich9: Add unplug cb for ich9. 2015-02-26 12:42:18 +01:00
memory_hotplug.h acpi: implement ospm_status() method for PIIX4/ICH9_LPC devices 2014-06-19 18:44:22 +03:00
pc-hotplug.h pc: acpi-build: create CPU hotplug IO region dynamically 2015-02-26 13:04:17 +01:00
pcihp.h acpi/piix4pm: convert ACPI PCI hotplug to use hotplug-handler API 2014-02-10 10:27:00 +02:00
piix4.h piix: APIs for pc guest info 2013-10-14 17:48:52 +03:00
tpm.h Add ACPI tables for TPM 2014-08-25 00:16:06 +02:00