diff options
author | Ankur Arora <ankur.a.arora@oracle.com> | 2021-03-11 22:26:54 -0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-03-16 13:21:46 +0000 |
commit | 30c69d2cfa63b4b418e01e3edd53d615fa34640d (patch) | |
tree | 3cc139340bf4187017a5730be39aa31c41778a64 /BaseTools/Source/Python/Table/TableFunction.py | |
parent | af9c77e151fa35fa199cbb306167277425515e3b (diff) | |
download | edk2-30c69d2cfa63b4b418e01e3edd53d615fa34640d.tar.gz edk2-30c69d2cfa63b4b418e01e3edd53d615fa34640d.tar.bz2 edk2-30c69d2cfa63b4b418e01e3edd53d615fa34640d.zip |
OvmfPkg/CpuHotplugSmm: add EjectCpu()
Add EjectCpu(), which handles the CPU ejection, and provides a holding
area for said CPUs. It is called via SmmCpuFeaturesRendezvousExit(),
at the tail end of the SMI handling.
Also UnplugCpus() now stashes QEMU Selectors of CPUs which need to be
ejected in CPU_HOT_EJECT_DATA.QemuSelectorMap. This is used by
EjectCpu() to identify CPUs marked for ejection.
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>
Message-Id: <20210312062656.2477515-9-ankur.a.arora@oracle.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'BaseTools/Source/Python/Table/TableFunction.py')
0 files changed, 0 insertions, 0 deletions