Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4469069pxj; Wed, 12 May 2021 06:23:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy87y7t5DoYX/btWJB+w8spuybkV+Nuh8takYERCrP53xjS1uCvmgkIeQfFN5/YBnIjtdSY X-Received: by 2002:a17:906:e118:: with SMTP id gj24mr38345599ejb.205.1620825816084; Wed, 12 May 2021 06:23:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620825816; cv=none; d=google.com; s=arc-20160816; b=eOC3rkU4woJI7pyBfgaBBxYWqIgdmtG9qOHJ75k6hDNjHnHZYsdKJivECQq1AtBWIU UZ2Bs8Os6cykUB0bcrjqZLthzXyFx8dPpSa37mJYE2kdoZ8l4r/OKUdI1Pg9HYpyVVXF bLtAIyvaH28e9/j74PHgGx8ChtGOt+HffjTXHX2ab6SgWJvp+9vlDH1WIdFdxGUESb1Q IJE/lWL98gdvSjLv8CPBD40IwVSCjnu2Al9LGUnIuxEhVorcLJiAEzTubl44Dai5TrBa wpm6QMb1ojCr9fxPcQagBzUEJXlXzSqNSbc/BlV1eGMdtYhb97rrG1gnJHyambwO8N/E FQhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=oNPg3vxOc+Ox+fohCHc47ZdZvfnk6G6W8tH14loE6Sk=; b=TdcmYsfdwi6JsQHdltF47LPn+vUd3Mzr939s8JFYQl/lsXjIgxgV/QC605Da60551n fAvcuoVNjltmqRUONHiRHPqb6Nj9mYHK8oYDlapdH6577IeLwvfJZzF14i2VM1V07UcH VJYADzOY3gw21Kj5+FTVSn0emi8Cgp3QKY0edBr4zbhL3c2KQf9HEqJELtDGP3nxOqys axH27EaH85HRVy9k96TmVYyPfaVUGgXA+ahOfGwqvdccqoOEw435vD/WYY/NjWgZ0ERr QY/G+prIqO7xx/38f+Jx/9bxu09TnGrD7/BRcGTge6cD/J1TW6R4z/ecdjvNHrAMcLLG cswg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=EXX3oJI2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w19si2731178edc.73.2021.05.12.06.23.07; Wed, 12 May 2021 06:23:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=EXX3oJI2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231888AbhELNVM (ORCPT + 99 others); Wed, 12 May 2021 09:21:12 -0400 Received: from mail.skyhub.de ([5.9.137.197]:38248 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231233AbhELNU7 (ORCPT ); Wed, 12 May 2021 09:20:59 -0400 Received: from zn.tnic (p200300ec2f0bb8006edd94bc9370939d.dip0.t-ipconnect.de [IPv6:2003:ec:2f0b:b800:6edd:94bc:9370:939d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 4C6A11EC0390; Wed, 12 May 2021 15:19:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1620825590; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=oNPg3vxOc+Ox+fohCHc47ZdZvfnk6G6W8tH14loE6Sk=; b=EXX3oJI2tQjSdwnPllc9um9bPhyDf7PQfncbtmfHKP6Hrxdm55NHa0eq4ZTpq0cCGdkXP6 c8mOCsVIbwB/YbmD9raGg/HlLIsfs6Wi1w8WtpfFG2+oQFpVT+E+eU+6lco8IOP94Dy/Ho uCHzu9WmRWphRwHgamwuBfED5dzVMgg= Date: Wed, 12 May 2021 15:19:51 +0200 From: Borislav Petkov To: Ashish Kalra Cc: pbonzini@redhat.com, tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, joro@8bytes.org, thomas.lendacky@amd.com, x86@kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, srutherford@google.com, seanjc@google.com, venu.busireddy@oracle.com, brijesh.singh@amd.com, linux-efi@vger.kernel.org Subject: Re: [PATCH v2 3/4] EFI: Introduce the new AMD Memory Encryption GUID. Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 23, 2021 at 03:59:01PM +0000, Ashish Kalra wrote: > From: Ashish Kalra > > Introduce a new AMD Memory Encryption GUID which is currently > used for defining a new UEFI environment 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 8710f5710c1d..e95c144d1d02 100644 > --- a/include/linux/efi.h > +++ b/include/linux/efi.h > @@ -360,6 +360,7 @@ void efi_native_runtime_setup(void); > > /* OEM GUIDs */ > #define DELLEMC_EFI_RCI2_TABLE_GUID EFI_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; > -- When you apply this patch locally, you do: $ git log -p -1 | ./scripts/get_maintainer.pl Ard Biesheuvel (maintainer:EXTENSIBLE FIRMWARE INTERFACE (EFI)) linux-efi@vger.kernel.org (open list:EXTENSIBLE FIRMWARE INTERFACE (EFI)) linux-kernel@vger.kernel.org (open list) and this tells you that you need to CC EFI folks too. I've CCed linux-efi now - please make sure you use that script to CC the relevant parties on patches, in the future. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette