diff options
author | Ankur Arora <ankur.a.arora@oracle.com> | 2021-03-11 22:26:50 -0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-03-16 13:21:46 +0000 |
commit | 15e6ae8ea400a55a6bcee8b2b654e5599c05ff18 (patch) | |
tree | 5eb572676064deff8a2aa3a0a7226275153e7310 /BaseTools/Source/Python/Workspace/WorkspaceDatabase.py | |
parent | 2d92e052c3afa0aaaa10430a9e2c864907b88079 (diff) | |
download | edk2-15e6ae8ea400a55a6bcee8b2b654e5599c05ff18.tar.gz edk2-15e6ae8ea400a55a6bcee8b2b654e5599c05ff18.tar.bz2 edk2-15e6ae8ea400a55a6bcee8b2b654e5599c05ff18.zip |
OvmfPkg/CpuHotplugSmm: introduce UnplugCpus()
Introduce UnplugCpus() which maps each APIC ID being unplugged
onto the hardware ID of the processor and informs PiSmmCpuDxeSmm
of removal by calling EFI_SMM_CPU_SERVICE_PROTOCOL.RemoveProcessor().
With this change we handle the first phase of unplug where we collect
the CPUs that need to be unplugged and mark them for removal in SMM
data structures.
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
Cc: Igor Mammedov <imammedo@redhat.com>
Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: Aaron Young <aaron.young@oracle.com>
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3132
Signed-off-by: Ankur Arora <ankur.a.arora@oracle.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Message-Id: <20210312062656.2477515-5-ankur.a.arora@oracle.com>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/WorkspaceDatabase.py')
0 files changed, 0 insertions, 0 deletions