acpi: cpuhp: introduce 'firmware performs eject' status/control bits
commit1e6107d901ca3cb31ee3dbf3d55b1778682f0979
authorIgor Mammedov <imammedo@redhat.com>
Mon, 7 Dec 2020 14:07:33 +0000 (7 09:07 -0500)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 9 Dec 2020 18:04:17 +0000 (9 13:04 -0500)
treec7ce20335d6dfce931c81b629c57ca379645e559
parent0657c657eb37bb48bfd9fe3ae8a323ae3455f47b
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>
docs/specs/acpi_cpu_hotplug.txt
hw/acpi/cpu.c
hw/acpi/trace-events
include/hw/acpi/cpu.h