qemu-e2k/docs/specs
Igor Mammedov 3a61c8db9d acpi: cpuhp: add CPHP_GET_CPU_ID_CMD command
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>
2020-01-22 00:23:07 -05:00
..
acpi_cpu_hotplug.txt acpi: cpuhp: add CPHP_GET_CPU_ID_CMD command 2020-01-22 00:23:07 -05:00
acpi_hw_reduced_hotplug.rst docs/specs: Add ACPI GED documentation 2019-10-05 17:12:09 -04:00
acpi_mem_hotplug.txt pc: memhp: move nvdimm hotplug out of memory hotplug 2016-11-15 17:20:37 +02:00
acpi_nvdimm.txt docs: Grammar and spelling fixes 2018-07-13 10:16:04 +01:00
acpi_pci_hotplug.txt acpi_piix4: Re-define PCI hotplug eject register read 2012-04-15 12:17:23 +03:00
conf.py docs: Build and install specs manual 2019-06-17 15:35:31 +01:00
edu.txt hw/misc/edu: support MSI interrupt 2016-10-04 10:00:25 +02:00
fw_cfg.txt fw-cfg: bump "x-file-slots" to 0x20 for 2.9+ machine types 2017-01-18 22:59:53 +02:00
index.rst docs/specs: Add ACPI GED documentation 2019-10-05 17:12:09 -04:00
ivshmem-spec.txt hw/misc/ivshmem: Remove deprecated "ivshmem" legacy device 2019-01-14 19:31:04 -05:00
pci-ids.txt allocate pci id for mdpy 2018-05-23 03:14:40 +03:00
pci-serial.txt serial: add pci-serial documentation 2012-10-22 13:26:42 -05:00
pci-testdev.txt pci-testdev: add optional memory bar 2018-11-05 13:24:02 -05:00
ppc-spapr-hcalls.txt docs: Grammar and spelling fixes 2018-07-13 10:16:04 +01:00
ppc-spapr-hotplug.txt global: Squash 'the the' 2019-11-06 17:19:40 +01:00
ppc-spapr-uv-hcalls.txt docs/specs: initial spec summary for Ultravisor-related hcalls 2019-08-21 17:17:12 +10:00
ppc-spapr-xive.rst xics/spapr: Detect old KVM XICS on POWER9 hosts 2019-07-02 09:43:58 +10:00
ppc-xive.rst global: Squash 'the the' 2019-11-06 17:19:40 +01:00
pvpanic.txt pvpanic: add document of pvpanic 2013-04-30 10:30:01 -05:00
rocker.txt Fix some typos found by codespell 2016-05-18 15:04:27 +03:00
standard-vga.txt display/stdvga: add edid support. 2018-09-27 08:07:51 +02:00
tpm.txt global: Squash 'the the' 2019-11-06 17:19:40 +01:00
vmcoreinfo.txt docs/vmcoreinfo: detail unsupported host format behaviour 2018-03-01 18:17:47 +02:00
vmgenid.txt docs: VM Generation ID device description 2017-03-02 07:14:26 +02:00
vmw_pvscsi-spec.txt scsi: VMWare PVSCSI paravirtual device implementation 2013-04-19 10:44:17 +02:00