Acked-by: Ray Ni <[email protected]>

> -----Original Message-----
> From: Brijesh Singh <[email protected]>
> Sent: Thursday, November 11, 2021 6:15 AM
> To: [email protected]
> Cc: James Bottomley <[email protected]>; Xu, Min M <[email protected]>; 
> Yao, Jiewen <[email protected]>;
> Tom Lendacky <[email protected]>; Justen, Jordan L 
> <[email protected]>; Ard Biesheuvel
> <[email protected]>; Erdem Aktas <[email protected]>; Michael 
> Roth <[email protected]>; Gerd
> Hoffmann <[email protected]>; Kinney, Michael D <[email protected]>; 
> Liming Gao
> <[email protected]>; Liu, Zhiguang <[email protected]>; Ni, Ray 
> <[email protected]>; Kumar, Rahul1
> <[email protected]>; Dong, Eric <[email protected]>; Brijesh Singh 
> <[email protected]>; Michael Roth
> <[email protected]>
> Subject: [PATCH v12 23/32] UefiCpuPkg: add PcdGhcbHypervisorFeatures
> 
> 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
> --
> 2.25.1



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


Reply via email to