acpi: cpuhp: add CPU devices AML with _STA method
commit5e1b5d93887b52eede156f846b6c4c5c8bbcfcdb
authorIgor Mammedov <imammedo@redhat.com>
Tue, 14 Jun 2016 14:02:06 +0000 (14 16:02 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 24 Jun 2016 02:21:01 +0000 (24 05:21 +0300)
tree43d96c5f8c447edee71b5bba499a95e190b23382
parent16bcab97eb9fc2d5f15e5c9ff6369f9d1d120b49
acpi: cpuhp: add CPU devices AML with _STA method

it adds CPU objects to DSDT with _STA method
and QEMU side of CPU hotplug interface initialization
with registers sufficient to handle _STA requests,
including necessary hotplug callbacks in piix4,ich9 code.

Hot-(un)plug hw/acpi parts will be added by
corresponding follow up patches.

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>
hw/acpi/Makefile.objs
hw/acpi/cpu.c [new file with mode: 0644]
hw/acpi/ich9.c
hw/acpi/piix4.c
hw/acpi/trace-events
include/hw/acpi/cpu.h [new file with mode: 0644]
include/hw/acpi/ich9.h