]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg/PlatformInitLib: factor out PlatformCpuCountBugCheck()
authorLaszlo Ersek <lersek@redhat.com>
Thu, 19 Jan 2023 11:01:30 +0000 (12:01 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 20 Jan 2023 13:41:16 +0000 (13:41 +0000)
commitc3e128a4cda0bfc2fae6ded28c2aae10ce368ccf
tree5e4b1dc3e8de7913c1528870db79020b3a5002e9
parent3beb8c965455f4c1cc3184e36c627ef1d9bfe5f9
OvmfPkg/PlatformInitLib: factor out PlatformCpuCountBugCheck()

Move the QEMU v2.7 reset bug check/workaround to a separate function, as
we'll need to detect further issues.

Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Brijesh Singh <brijesh.singh@amd.com>
Cc: Erdem Aktas <erdemaktas@google.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: James Bottomley <jejb@linux.ibm.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Michael Brown <mcb30@ipxe.org>
Cc: Min Xu <min.m.xu@intel.com>
Cc: Oliver Steffen <osteffen@redhat.com>
Cc: Sebastien Boeuf <sebastien.boeuf@intel.com>
Cc: Tom Lendacky <thomas.lendacky@amd.com>
Bugzilla: https://bugzilla.tianocore.org/show_bug.cgi?id=4250
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Message-Id: <20230119110131.91923-2-lersek@redhat.com>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Hugely-appreciated-by: Michael Brown <mcb30@ipxe.org>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
OvmfPkg/Library/PlatformInitLib/Platform.c