diff options
author | Laszlo Ersek <lersek@redhat.com> | 2020-02-26 23:11:49 +0100 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-03-04 12:22:07 +0000 |
commit | 763840c9abc8d48567498edf00e2f31a0220184f (patch) | |
tree | dce17851b13f3f24c7f9a21b6bd446d794f94867 /OvmfPkg/CpuHotplugSmm/CpuHotplugSmm.inf | |
parent | f668e78871659f438ed4548650ffd07c31a429b5 (diff) | |
download | edk2-763840c9abc8d48567498edf00e2f31a0220184f.tar.gz edk2-763840c9abc8d48567498edf00e2f31a0220184f.tar.bz2 edk2-763840c9abc8d48567498edf00e2f31a0220184f.zip |
OvmfPkg/CpuHotplugSmm: add function for collecting CPUs with events
Add a function that collects the APIC IDs of CPUs that have just been
hot-plugged, or are about to be hot-unplugged.
Pending events are only located and never cleared; QEMU's AML needs the
firmware to leave the status bits intact in the hotplug register block.
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Igor Mammedov <imammedo@redhat.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Michael Kinney <michael.d.kinney@intel.com>
Cc: Philippe Mathieu-Daudé <philmd@redhat.com>
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=1512
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Message-Id: <20200226221156.29589-10-lersek@redhat.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
Tested-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Diffstat (limited to 'OvmfPkg/CpuHotplugSmm/CpuHotplugSmm.inf')
-rw-r--r-- | OvmfPkg/CpuHotplugSmm/CpuHotplugSmm.inf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OvmfPkg/CpuHotplugSmm/CpuHotplugSmm.inf b/OvmfPkg/CpuHotplugSmm/CpuHotplugSmm.inf index ac4ca4c1f4..ab690a9e5e 100644 --- a/OvmfPkg/CpuHotplugSmm/CpuHotplugSmm.inf +++ b/OvmfPkg/CpuHotplugSmm/CpuHotplugSmm.inf @@ -22,6 +22,7 @@ #
[Sources]
+ ApicId.h
CpuHotplug.c
QemuCpuhp.c
QemuCpuhp.h
|