]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg/ResetVector: Removing SEV-ES CPUID bit check
authorPeter Gonda <pgonda@google.com>
Wed, 1 Jun 2022 12:17:45 +0000 (14:17 +0200)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 1 Jun 2022 12:52:34 +0000 (12:52 +0000)
commit62044aa99bcf0a7b1581b24ad8e8f105e48fa15a
treead7a57c07a1e0cdb6193de984d18e661e69973a7
parentdf1c7e91b46db364ba1ce5e21660987c29c35334
OvmfPkg/ResetVector: Removing SEV-ES CPUID bit check

The SEV-ES bit of Fn800-001F[EAX] - Bit 3 is used for a host to
determine support for running SEV-ES guests. It should not be checked by
a guest to determine if it is running under SEV-ES. The guest should use
the SEV_STATUS MSR Bit 1 to determine if SEV-ES is enabled. This check
was not part of the original SEV-ES support and was added in
a91b700e38. Removing the check makes this code consistent with the
Linux kernel

Fixes: a91b700e38 ("Ovmf/ResetVector: Simplify and consolidate the SEV features checks")
Signed-off-by: Peter Gonda <pgonda@google.com>
Acked-by: Tom Lendacky <thomas.lendacky@amd.com>
OvmfPkg/ResetVector/Ia32/AmdSev.asm