mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
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>
This commit is contained in:
parent
0657c657eb
commit
1e6107d901
4 changed files with 28 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue