summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/Library/PlatformInitLib/Platform.c
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2023-01-19 14:43:02 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-01-20 13:41:16 +0000
commit3beb8c965455f4c1cc3184e36c627ef1d9bfe5f9 (patch)
treed22fd286f6c58d1d10714d3c62998a2bddca4f9f /OvmfPkg/Library/PlatformInitLib/Platform.c
parent51411435d559c55eaf38c02baf5d76da78bb658d (diff)
downloadedk2-3beb8c965455f4c1cc3184e36c627ef1d9bfe5f9.tar.gz
edk2-3beb8c965455f4c1cc3184e36c627ef1d9bfe5f9.tar.bz2
edk2-3beb8c965455f4c1cc3184e36c627ef1d9bfe5f9.zip
OvmfPkg/PlatformCI VS2019: Enable temporary workaround for cpuhp bugfix
QEMU for x86 has a nasty CPU hotplug bug of which the ramifications are difficult to oversee, even though KVM acceleration seems to be unaffected. This has been addressed in QEMU mainline, and will percolate through the ecosystem at its usual pace. In the mean time, due to the potential impact on production workloads, we will be updating OVMF to abort the boot when it detects a QEMU build that is affected. Tiancore's platform CI uses QEMU in TCG mode, and is therefore impacted by this mitigation, unless its QEMU builds are updated. This has been done for Ubuntu-GCC5, but Windows-VS2019 still uses a QEMU build that is affected. Aborting the boot upon detecting the QEMU issue will render all boot tests carried out on Windows-VS2019 broken unless we implement the 'escape hatch' that enables proceed-at-your-own-risk mode, and permits the boot to proceed even if the QEMU issue is detected. So let's enable this for Windows-VS2019, and remove it again once it is no longer needed. Cc: Laszlo Ersek <lersek@redhat.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Michael Brown <mcb30@ipxe.org> Cc: Oliver Steffen <osteffen@redhat.com> Cc: Michael Kubacki <michael.kubacki@microsoft.com> Bugzilla: https://bugzilla.tianocore.org/show_bug.cgi?id=4250 Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Message-Id: <20230119134302.1524569-1-ardb@kernel.org> Acked-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Michael Kubacki <michael.kubacki@microsoft.com> Acked-by: Jiewen Yao <Jiewen.yao@Intel.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'OvmfPkg/Library/PlatformInitLib/Platform.c')
0 files changed, 0 insertions, 0 deletions