<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/docs/specs/acpi_cpu_hotplug.txt, branch spice_video_codecs</title>
<subtitle>Experimental fork of QEMU with video encoding patches</subtitle>
<id>https://git.openslx.org/bwlp/qemu.git/atom/docs/specs/acpi_cpu_hotplug.txt?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/docs/specs/acpi_cpu_hotplug.txt?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2021-08-26T16:01:59+00:00</updated>
<entry>
<title>docs/specs/acpu_cpu_hotplug: Convert to rST</title>
<updated>2021-08-26T16:01:59+00:00</updated>
<author>
<name>Peter Maydell</name>
</author>
<published>2021-07-27T17:04:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=444fa22549434331db70718f073432ed2057ada8'/>
<id>urn:sha1:444fa22549434331db70718f073432ed2057ada8</id>
<content type='text'>
Do a basic conversion of the acpi_cpu_hotplug spec document to rST.

Signed-off-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Reviewed-by: Igor Mammedov &lt;imammedo@redhat.com&gt;
Message-id: 20210727170414.3368-2-peter.maydell@linaro.org
</content>
</entry>
<entry>
<title>acpi: cpuhp: introduce 'firmware performs eject' status/control bits</title>
<updated>2020-12-09T18:04:17+00:00</updated>
<author>
<name>Igor Mammedov</name>
</author>
<published>2020-12-07T14:07:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=1e6107d901ca3cb31ee3dbf3d55b1778682f0979'/>
<id>urn:sha1:1e6107d901ca3cb31ee3dbf3d55b1778682f0979</id>
<content type='text'>
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 &lt;imammedo@redhat.com&gt;
Message-Id: &lt;20201207140739.3829993-3-imammedo@redhat.com&gt;
Reviewed-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>acpi: cpuhp: document CPHP_GET_CPU_ID_CMD command</title>
<updated>2020-02-27T08:46:10+00:00</updated>
<author>
<name>Igor Mammedov</name>
</author>
<published>2020-01-29T14:06:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=fd9b0830b0be0ea89cf30ad846a232e0c442a18a'/>
<id>urn:sha1:fd9b0830b0be0ea89cf30ad846a232e0c442a18a</id>
<content type='text'>
Commit 3a61c8db9d25 introduced CPHP_GET_CPU_ID_CMD command but
did not sufficiently describe it. Fix it by adding missing command
documentation.

Fixes: 3a61c8db9d25 ("acpi: cpuhp: add CPHP_GET_CPU_ID_CMD command")
Signed-off-by: Igor Mammedov &lt;imammedo@redhat.com&gt;
Reviewed-by: Laszlo Ersek &lt;lersek@redhat.com&gt;
Message-Id: &lt;1580306781-228371-1-git-send-email-imammedo@redhat.com&gt;
Reviewed-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>acpi: cpuhp: add CPHP_GET_CPU_ID_CMD command</title>
<updated>2020-01-22T05:23:07+00:00</updated>
<author>
<name>Igor Mammedov</name>
</author>
<published>2019-12-09T13:09:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=3a61c8db9d25ff8ed08c5f96acecd63707187904'/>
<id>urn:sha1:3a61c8db9d25ff8ed08c5f96acecd63707187904</id>
<content type='text'>
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 &lt;imammedo@redhat.com&gt;
Message-Id: &lt;1575896942-331151-10-git-send-email-imammedo@redhat.com&gt;
Reviewed-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Reviewed-by: Laszlo Ersek &lt;lersek@redhat.com&gt;
</content>
</entry>
<entry>
<title>acpi: cpuhp: spec: add typical usecases</title>
<updated>2020-01-22T05:23:07+00:00</updated>
<author>
<name>Igor Mammedov</name>
</author>
<published>2019-12-09T13:09:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=ae340aa3d2567694c48737939496c1e699cad7e2'/>
<id>urn:sha1:ae340aa3d2567694c48737939496c1e699cad7e2</id>
<content type='text'>
Document work-flows for
  * enabling/detecting modern CPU hotplug interface
  * finding a CPU with pending 'insert/remove' event
  * enumerating present and possible CPUs

Signed-off-by: Igor Mammedov &lt;imammedo@redhat.com&gt;
Message-Id: &lt;1575896942-331151-9-git-send-email-imammedo@redhat.com&gt;
Reviewed-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Reviewed-by: Laszlo Ersek &lt;lersek@redhat.com&gt;
</content>
</entry>
<entry>
<title>acpi: cpuhp: introduce 'Command data 2' field</title>
<updated>2020-01-22T05:23:07+00:00</updated>
<author>
<name>Igor Mammedov</name>
</author>
<published>2019-12-09T13:09:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=e6d0c3ce689585ad8f38c826e69ee04fb2c2257c'/>
<id>urn:sha1:e6d0c3ce689585ad8f38c826e69ee04fb2c2257c</id>
<content type='text'>
No functional change in practice, patch only aims to properly
document (in spec and code) intended usage of the reserved space.

The new field is to be used for 2 purposes:
  - detection of modern CPU hotplug interface using
    CPHP_GET_NEXT_CPU_WITH_EVENT_CMD command.
    procedure will be described in follow up patch:
      "acpi: cpuhp: spec: add typical usecases"
  - for returning upper 32 bits of architecture specific CPU ID,
    for new CPHP_GET_CPU_ID_CMD command added by follow up patch:
      "acpi: cpuhp: add CPHP_GET_CPU_ID_CMD command"

Change is backward compatible with 4.2 and older machines, as field was
unconditionally reserved and always returned 0x0 if modern CPU hotplug
interface was enabled.

Signed-off-by: Igor Mammedov &lt;imammedo@redhat.com&gt;
Message-Id: &lt;1575896942-331151-8-git-send-email-imammedo@redhat.com&gt;
Reviewed-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Reviewed-by: Laszlo Ersek &lt;lersek@redhat.com&gt;
</content>
</entry>
<entry>
<title>acpi: cpuhp: spec: clarify store into 'Command data' when 'Command field' == 0</title>
<updated>2020-01-22T05:23:07+00:00</updated>
<author>
<name>Igor Mammedov</name>
</author>
<published>2019-12-09T13:08:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=5b8e5363faa19f6f5064df7f3830c7b56d80f28d'/>
<id>urn:sha1:5b8e5363faa19f6f5064df7f3830c7b56d80f28d</id>
<content type='text'>
Write section of 'Command data' register should describe what happens
when it's written into. Correct description in case the last stored
'Command field' value is equal to 0, to reflect that currently it's not
supported.

Signed-off-by: Igor Mammedov &lt;imammedo@redhat.com&gt;
Reviewed-by: Laszlo Ersek &lt;lersek@redhat.com&gt;
Message-Id: &lt;1575896942-331151-7-git-send-email-imammedo@redhat.com&gt;
Reviewed-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>acpi: cpuhp: spec: fix 'Command data' description</title>
<updated>2020-01-22T05:23:07+00:00</updated>
<author>
<name>Igor Mammedov</name>
</author>
<published>2019-12-09T13:08:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=1c1d43bf015df2768bf832ea76752dd95286fc8f'/>
<id>urn:sha1:1c1d43bf015df2768bf832ea76752dd95286fc8f</id>
<content type='text'>
Correct returned value description in case 'Command field' == 0x0,
it's not PXM but CPU selector value with pending event

In addition describe 0 blanket value in case of not supported
'Command field' value.

Signed-off-by: Igor Mammedov &lt;imammedo@redhat.com&gt;
Reviewed-by: Laszlo Ersek &lt;lersek@redhat.com&gt;
Message-Id: &lt;1575896942-331151-6-git-send-email-imammedo@redhat.com&gt;
Reviewed-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>acpi: cpuhp: spec: clarify 'CPU selector' register usage and endianness</title>
<updated>2020-01-22T05:23:07+00:00</updated>
<author>
<name>Igor Mammedov</name>
</author>
<published>2019-12-09T13:08:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=1d7a52835dc6bf5d641a0d29ad35c881b8d0ba5a'/>
<id>urn:sha1:1d7a52835dc6bf5d641a0d29ad35c881b8d0ba5a</id>
<content type='text'>
* Move reserved registers to the top of the section, so reader would be
  aware of effects when reading registers description.
* State registers endianness explicitly at the beginning of the section
* Describe registers behavior in case of 'CPU selector' register contains
  value that doesn't point to a possible CPU.

Signed-off-by: Igor Mammedov &lt;imammedo@redhat.com&gt;
Reviewed-by: Laszlo Ersek &lt;lersek@redhat.com&gt;
Message-Id: &lt;1575896942-331151-5-git-send-email-imammedo@redhat.com&gt;
Reviewed-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>docs: update ACPI CPU hotplug spec with new protocol</title>
<updated>2016-06-24T02:20:22+00:00</updated>
<author>
<name>Igor Mammedov</name>
</author>
<published>2016-05-02T09:42:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=abd49bc2ed2f06bc1ea979b17e79e2fc52360de9'/>
<id>urn:sha1:abd49bc2ed2f06bc1ea979b17e79e2fc52360de9</id>
<content type='text'>
Add description of new CPU hotplug interface.

To switch from from legacy mode into new mode use fact
that write accesses into CPU present bitmap were never
used before and were ignored by QEMU.
So use it to as a way to switch from legacy mode.
That way pc/q35 machine starts in legacy mode and
QEMU generated ACPI tables will switch to new CPU
hotplug interface during runtime.
In case QEMU is started with legacy BIOS (that doesn't
support QEMU generated ACPI tables), legacy CPU hotplug
will remain active and could be used by BIOS built in
ACPI tables for CPU hotplug.

Signed-off-by: Igor Mammedov &lt;imammedo@redhat.com&gt;
Reviewed-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
</feed>
