diff options
author | Igor Mammedov | 2016-06-14 16:02:06 +0200 |
---|---|---|
committer | Michael S. Tsirkin | 2016-06-24 04:21:01 +0200 |
commit | 5e1b5d93887b52eede156f846b6c4c5c8bbcfcdb (patch) | |
tree | 43d96c5f8c447edee71b5bba499a95e190b23382 /hw/acpi/trace-events | |
parent | pc: piix4/ich9: add 'cpu-hotplug-legacy' property (diff) | |
download | qemu-5e1b5d93887b52eede156f846b6c4c5c8bbcfcdb.tar.gz qemu-5e1b5d93887b52eede156f846b6c4c5c8bbcfcdb.tar.xz qemu-5e1b5d93887b52eede156f846b6c4c5c8bbcfcdb.zip |
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>
Diffstat (limited to 'hw/acpi/trace-events')
-rw-r--r-- | hw/acpi/trace-events | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/acpi/trace-events b/hw/acpi/trace-events index e95b2183ac..940467ba14 100644 --- a/hw/acpi/trace-events +++ b/hw/acpi/trace-events @@ -16,3 +16,8 @@ mhp_acpi_clear_insert_evt(uint32_t slot) "slot[0x%"PRIx32"] clear insert event" mhp_acpi_clear_remove_evt(uint32_t slot) "slot[0x%"PRIx32"] clear remove event" mhp_acpi_pc_dimm_deleted(uint32_t slot) "slot[0x%"PRIx32"] pc-dimm deleted" mhp_acpi_pc_dimm_delete_failed(uint32_t slot) "slot[0x%"PRIx32"] pc-dimm delete failed" + +# hw/acpi/cpu.c +cpuhp_acpi_invalid_idx_selected(uint32_t idx) "0x%"PRIx32 +cpuhp_acpi_read_flags(uint32_t idx, uint8_t flags) "idx[0x%"PRIx32"] flags: 0x%"PRIx8 +cpuhp_acpi_write_idx(uint32_t idx) "set active cpu idx: 0x%"PRIx32 |