Acked-by: Ray Ni <ray...@intel.com>

> -----Original Message-----
> From: Brijesh Singh <brijesh.si...@amd.com>
> Sent: Thursday, November 11, 2021 6:15 AM
> To: devel@edk2.groups.io
> Cc: James Bottomley <j...@linux.ibm.com>; Xu, Min M <min.m...@intel.com>; 
> Yao, Jiewen <jiewen....@intel.com>;
> Tom Lendacky <thomas.lenda...@amd.com>; Justen, Jordan L 
> <jordan.l.jus...@intel.com>; Ard Biesheuvel
> <ardb+tianoc...@kernel.org>; Erdem Aktas <erdemak...@google.com>; Michael 
> Roth <michael.r...@amd.com>; Gerd
> Hoffmann <kra...@redhat.com>; Kinney, Michael D <michael.d.kin...@intel.com>; 
> Liming Gao
> <gaolim...@byosoft.com.cn>; Liu, Zhiguang <zhiguang....@intel.com>; Ni, Ray 
> <ray...@intel.com>; Kumar, Rahul1
> <rahul1.ku...@intel.com>; Dong, Eric <eric.d...@intel.com>; Brijesh Singh 
> <brijesh.si...@amd.com>; Michael Roth
> <michael.r...@amd.com>
> 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 <michael.r...@amd.com>
> Cc: Ray Ni <ray...@intel.com>
> Cc: Rahul Kumar <rahul1.ku...@intel.com>
> Cc: Eric Dong <eric.d...@intel.com>
> Cc: James Bottomley <j...@linux.ibm.com>
> Cc: Min Xu <min.m...@intel.com>
> Cc: Jiewen Yao <jiewen....@intel.com>
> Cc: Tom Lendacky <thomas.lenda...@amd.com>
> Cc: Jordan Justen <jordan.l.jus...@intel.com>
> Cc: Ard Biesheuvel <ardb+tianoc...@kernel.org>
> Cc: Erdem Aktas <erdemak...@google.com>
> Cc: Gerd Hoffmann <kra...@redhat.com>
> Acked-by: Gerd Hoffmann <kra...@redhat.com>
> Signed-off-by: Brijesh Singh <brijesh.si...@amd.com>
> ---
>  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: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to