mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-24 20:19:44 +00:00
3a61c8db9d
Firmware can enumerate present at boot APs by broadcasting wakeup IPI, so that woken up secondary CPUs could register them-selves. However in CPU hotplug case, it would need to know architecture specific CPU IDs for possible and hotplugged CPUs so it could prepare environment for and wake hotplugged AP. Reuse and extend existing CPU hotplug interface to return architecture specific ID for currently selected CPU in 2 registers: - lower 32 bits in ACPI_CPU_CMD_DATA_OFFSET_RW - upper 32 bits in ACPI_CPU_CMD_DATA2_OFFSET_R On x86, firmware will use CPHP_GET_CPU_ID_CMD for fetching the APIC ID when handling hotplug SMI. Later, CPHP_GET_CPU_ID_CMD will be used on ARM to retrieve MPIDR, which serves the similar to APIC ID purpose. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Message-Id: <1575896942-331151-10-git-send-email-imammedo@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> |
||
---|---|---|
.. | ||
acpi_cpu_hotplug.txt | ||
acpi_hw_reduced_hotplug.rst | ||
acpi_mem_hotplug.txt | ||
acpi_nvdimm.txt | ||
acpi_pci_hotplug.txt | ||
conf.py | ||
edu.txt | ||
fw_cfg.txt | ||
index.rst | ||
ivshmem-spec.txt | ||
pci-ids.txt | ||
pci-serial.txt | ||
pci-testdev.txt | ||
ppc-spapr-hcalls.txt | ||
ppc-spapr-hotplug.txt | ||
ppc-spapr-uv-hcalls.txt | ||
ppc-spapr-xive.rst | ||
ppc-xive.rst | ||
pvpanic.txt | ||
rocker.txt | ||
standard-vga.txt | ||
tpm.txt | ||
vmcoreinfo.txt | ||
vmgenid.txt | ||
vmw_pvscsi-spec.txt |