Re: [edk2-devel] [PATCH v8 02/10] OvmfPkg/CpuHotplugSmm: collect hot-unplug events

2021-02-23 Thread Laszlo Ersek
On 02/22/21 23:03, Ankur Arora wrote: > On 2021-02-22 4:27 a.m., Laszlo Ersek wrote: >> On 02/22/21 08:19, Ankur Arora wrote: >>> diff --git a/OvmfPkg/CpuHotplugSmm/QemuCpuhp.c >>> b/OvmfPkg/CpuHotplugSmm/QemuCpuhp.c >>> index 8d4a6693c8d6..36372a5e6193 100644 >>> ---

Re: [edk2-devel] [PATCH v8 02/10] OvmfPkg/CpuHotplugSmm: collect hot-unplug events

2021-02-22 Thread Ankur Arora
On 2021-02-22 4:27 a.m., Laszlo Ersek wrote: On 02/22/21 08:19, Ankur Arora wrote: Process fw_remove events in QemuCpuhpCollectApicIds() and collect corresponding APIC IDs for CPUs that are being hot-unplugged. (1) We also collect selectors for those; please mention the fact here. In

Re: [edk2-devel] [PATCH v8 02/10] OvmfPkg/CpuHotplugSmm: collect hot-unplug events

2021-02-22 Thread Laszlo Ersek
On 02/22/21 08:19, Ankur Arora wrote: > Process fw_remove events in QemuCpuhpCollectApicIds() and collect > corresponding APIC IDs for CPUs that are being hot-unplugged. (1) We also collect selectors for those; please mention the fact here. > > In addition, we now ignore CPUs which only have

[edk2-devel] [PATCH v8 02/10] OvmfPkg/CpuHotplugSmm: collect hot-unplug events

2021-02-21 Thread Ankur Arora
Process fw_remove events in QemuCpuhpCollectApicIds() and collect corresponding APIC IDs for CPUs that are being hot-unplugged. In addition, we now ignore CPUs which only have remove set. These CPUs haven't been processed by OSPM yet. This is based on the QEMU hot-unplug protocol documented