summaryrefslogtreecommitdiffstats
path: root/include/hw
diff options
context:
space:
mode:
authorIgor Mammedov2020-12-07 15:07:33 +0100
committerMichael S. Tsirkin2020-12-09 19:04:17 +0100
commit1e6107d901ca3cb31ee3dbf3d55b1778682f0979 (patch)
treec7ce20335d6dfce931c81b629c57ca379645e559 /include/hw
parenthw/i386/pc: add max combined fw size as machine configuration option (diff)
downloadqemu-1e6107d901ca3cb31ee3dbf3d55b1778682f0979.tar.gz
qemu-1e6107d901ca3cb31ee3dbf3d55b1778682f0979.tar.xz
qemu-1e6107d901ca3cb31ee3dbf3d55b1778682f0979.zip
acpi: cpuhp: introduce 'firmware performs eject' status/control bits
Adds bit #4 to status/control field of CPU hotplug MMIO interface. New bit will be used OSPM to mark CPUs as pending for removal by firmware, when it calls _EJ0 method on CPU device node. Later on, when firmware sees this bit set, it will perform CPU eject which will clear bit #4 as well. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Message-Id: <20201207140739.3829993-3-imammedo@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw')
-rw-r--r--include/hw/acpi/cpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/acpi/cpu.h b/include/hw/acpi/cpu.h
index 0eeedaa491..d71edde456 100644
--- a/include/hw/acpi/cpu.h
+++ b/include/hw/acpi/cpu.h
@@ -22,6 +22,7 @@ typedef struct AcpiCpuStatus {
uint64_t arch_id;
bool is_inserting;
bool is_removing;
+ bool fw_remove;
uint32_t ost_event;
uint32_t ost_status;
} AcpiCpuStatus;