[edk2-devel] [PATCH] OvmfPkg/ResetVector: Removing SEV-ES CPUID bit check

Lendacky, Thomas via groups.io thomas.lendacky=amd.com at groups.io
Mon Jan 10 18:18:18 UTC 2022


On 1/10/22 9:29 AM, Peter Gonda wrote:
> On Fri, Jan 7, 2022 at 3:54 PM Tom Lendacky <thomas.lendacky at amd.com> wrote:
>>
>> On 1/7/22 11:04 AM, Peter Gonda wrote:
>>> 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.
>>
>> Worth mentioning in the commit message that this check wasn't part of the
>> original SEV-ES support (Fixes: a91b700e385e7484ab7286b3ba7ea2efbd59480e
>> tag?), so this is really a compatibility thing, and that this makes the
>> check consistent with the Linux kernel.
> 
> Sure I update the commit message in the V2 with this info and add the
> Fixes tag. Do I need a (Fixes:
> b461d67639f2deced77e9bb967d014b7cfcd75f8) tag too? Since the Check was
> moved between files in that commit?

I don't think so, but that's just my opinion.

Thanks,
Tom

> 


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#85494): https://edk2.groups.io/g/devel/message/85494
Mute This Topic: https://groups.io/mt/88273346/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-






More information about the edk2-devel-archive mailing list