Re: [PATCH v8 14/18] EFI: Introduce the new AMD Memory Encryption GUID.
Hello Steve, On Fri, May 29, 2020 at 07:07:56PM -0700, Steve Rutherford wrote: > On Tue, May 5, 2020 at 2:20 PM Ashish Kalra wrote: > > > > From: Ashish Kalra > > > > Introduce a new AMD Memory Encryption GUID which is currently > > used for defining a new UEFI enviroment variable which indicates > > UEFI/OVMF support for the SEV live migration feature. This variable > > is setup when UEFI/OVMF detects host/hypervisor support for SEV > > live migration and later this variable is read by the kernel using > > EFI runtime services to verify if OVMF supports the live migration > > feature. > > > > Signed-off-by: Ashish Kalra > > --- > > include/linux/efi.h | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/include/linux/efi.h b/include/linux/efi.h > > index 251f1f783cdf..2efb42ccf3a8 100644 > > --- a/include/linux/efi.h > > +++ b/include/linux/efi.h > > @@ -358,6 +358,7 @@ void efi_native_runtime_setup(void); > > > > /* OEM GUIDs */ > > #define DELLEMC_EFI_RCI2_TABLE_GUIDEFI_GUID(0x2d9f28a2, > > 0xa886, 0x456a, 0x97, 0xa8, 0xf1, 0x1e, 0xf2, 0x4f, 0xf4, 0x55) > > +#define MEM_ENCRYPT_GUID EFI_GUID(0x0cf29b71, > > 0x9e51, 0x433a, 0xa3, 0xb7, 0x81, 0xf3, 0xab, 0x16, 0xb8, 0x75) > > > > typedef struct { > > efi_guid_t guid; > > -- > > 2.17.1 > > > Have you gotten this GUID upstreamed into edk2? > Not yet. This patch and the other OVMF patches are ready to be sent for upstreaming, i was waiting for this kernel patch-set to be accepted and upstreamed. > Reviewed-by: Steve Rutherford
Re: [PATCH v8 14/18] EFI: Introduce the new AMD Memory Encryption GUID.
On Tue, May 5, 2020 at 2:20 PM Ashish Kalra wrote: > > From: Ashish Kalra > > Introduce a new AMD Memory Encryption GUID which is currently > used for defining a new UEFI enviroment variable which indicates > UEFI/OVMF support for the SEV live migration feature. This variable > is setup when UEFI/OVMF detects host/hypervisor support for SEV > live migration and later this variable is read by the kernel using > EFI runtime services to verify if OVMF supports the live migration > feature. > > Signed-off-by: Ashish Kalra > --- > include/linux/efi.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/linux/efi.h b/include/linux/efi.h > index 251f1f783cdf..2efb42ccf3a8 100644 > --- a/include/linux/efi.h > +++ b/include/linux/efi.h > @@ -358,6 +358,7 @@ void efi_native_runtime_setup(void); > > /* OEM GUIDs */ > #define DELLEMC_EFI_RCI2_TABLE_GUIDEFI_GUID(0x2d9f28a2, 0xa886, > 0x456a, 0x97, 0xa8, 0xf1, 0x1e, 0xf2, 0x4f, 0xf4, 0x55) > +#define MEM_ENCRYPT_GUID EFI_GUID(0x0cf29b71, 0x9e51, > 0x433a, 0xa3, 0xb7, 0x81, 0xf3, 0xab, 0x16, 0xb8, 0x75) > > typedef struct { > efi_guid_t guid; > -- > 2.17.1 > Have you gotten this GUID upstreamed into edk2? Reviewed-by: Steve Rutherford
[PATCH v8 14/18] EFI: Introduce the new AMD Memory Encryption GUID.
From: Ashish Kalra Introduce a new AMD Memory Encryption GUID which is currently used for defining a new UEFI enviroment variable which indicates UEFI/OVMF support for the SEV live migration feature. This variable is setup when UEFI/OVMF detects host/hypervisor support for SEV live migration and later this variable is read by the kernel using EFI runtime services to verify if OVMF supports the live migration feature. Signed-off-by: Ashish Kalra --- include/linux/efi.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/efi.h b/include/linux/efi.h index 251f1f783cdf..2efb42ccf3a8 100644 --- a/include/linux/efi.h +++ b/include/linux/efi.h @@ -358,6 +358,7 @@ void efi_native_runtime_setup(void); /* OEM GUIDs */ #define DELLEMC_EFI_RCI2_TABLE_GUIDEFI_GUID(0x2d9f28a2, 0xa886, 0x456a, 0x97, 0xa8, 0xf1, 0x1e, 0xf2, 0x4f, 0xf4, 0x55) +#define MEM_ENCRYPT_GUID EFI_GUID(0x0cf29b71, 0x9e51, 0x433a, 0xa3, 0xb7, 0x81, 0xf3, 0xab, 0x16, 0xb8, 0x75) typedef struct { efi_guid_t guid; -- 2.17.1