acpi: factor out common cpu hotplug code for PIIX4/Q35

.. so it could be used for adding CPU hotplug to Q35 machine

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
acpi/piix4: add readonly "cpu-hotplug-io-base" property

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
acpi: ich9: allow guest to clear SCI rised by GPE

it fixes IRQ storm since guest isn't able to lower SCI IRQ
after it has been handled when it clears GPE event.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
acpi/ich9: add CPU hotplug handling to Q35 machine

.. including readonly 'cpu-hotplug-io-base' property

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
ACPI: Q35 DSDT: fix CPU hotplug GPE0.2 handler

Fix bogus CPU hotplug GPE handler.
Make Q35 CPU hotplug GPE handler match PIIX4 one, since
CPU hotplug event is triggered by GPE0.2 register.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
ACPI/DSDT-CPU: cleanup bogus comment

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
ACPI: move PRST OperationRegion into SSDT

.. and report range used by it to OSPM via _CRS.
PRST is needed in SSDT since its base will depend on
chipset and will be dynamically set by QEMU.
Also move PRSC() method along with PRST since cross
table reference to PRST doesn't work.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
ACPI: set CPU hotplug io base dynamically

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
ACPI: update ssdt-misc.hex.generated acpi-dsdt.hex.generated q35-acpi-dsdt.hex.generated

Signed-off-by: Igor Mammedov <imammedo@redhat.com>