Hi Ray and Rahul,

Any comment on this patch ? If you are okay with the approach then can I
get Ack or R-b ?

-Brijesh

On 10/22/21 11:13 PM, Brijesh Singh via groups.io wrote:
> BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3275
>
> Version 2 of the GHCB specification added a new VMGEXIT that the guest
> could use for querying the hypervisor features. One of the immediate
> users for it will be an AP creation code. When SEV-SNP is enabled, the
> guest can use the newly added AP_CREATE VMGEXIT to create the APs.
>
> The MpInitLib will check the hypervisor feature, and if AP_CREATE is
> available, it will use it.
>
> See GHCB spec version 2 for more details on the VMGEXIT.
>
> Cc: Michael Roth <[email protected]>
> Cc: Ray Ni <[email protected]>
> Cc: Rahul Kumar <[email protected]>
> Cc: Eric Dong <[email protected]>
> Cc: James Bottomley <[email protected]>
> Cc: Min Xu <[email protected]>
> Cc: Jiewen Yao <[email protected]>
> Cc: Tom Lendacky <[email protected]>
> Cc: Jordan Justen <[email protected]>
> Cc: Ard Biesheuvel <[email protected]>
> Cc: Erdem Aktas <[email protected]>
> Cc: Gerd Hoffmann <[email protected]>
> Acked-by: Gerd Hoffmann <[email protected]>
> Signed-off-by: Brijesh Singh <[email protected]>
> ---
>  UefiCpuPkg/UefiCpuPkg.dec | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/UefiCpuPkg/UefiCpuPkg.dec b/UefiCpuPkg/UefiCpuPkg.dec
> index 62acb291f309..7de66fde674c 100644
> --- a/UefiCpuPkg/UefiCpuPkg.dec
> +++ b/UefiCpuPkg/UefiCpuPkg.dec
> @@ -396,5 +396,10 @@ [PcdsDynamic, PcdsDynamicEx]
>    # @Prompt SEV-ES Status
>    gUefiCpuPkgTokenSpaceGuid.PcdSevEsIsEnabled|FALSE|BOOLEAN|0x60000016
>  
> +  ## This dynamic PCD contains the hypervisor features value obtained 
> through the GHCB HYPERVISOR
> +  #  features VMGEXIT defined in the version 2 of GHCB spec.
> +  # @Prompt GHCB Hypervisor Features
> +  gUefiCpuPkgTokenSpaceGuid.PcdGhcbHypervisorFeatures|0x0|UINT64|0x60000018
> +
>  [UserExtensions.TianoCore."ExtraFiles"]
>    UefiCpuPkgExtra.uni


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#82611): https://edk2.groups.io/g/devel/message/82611
Mute This Topic: https://groups.io/mt/86566145/21656
Group Owner: [email protected]
Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to