From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.groups.io with SMTP id smtpd.web08.4203.1632297645738175549 for ; Wed, 22 Sep 2021 01:00:46 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ZdmwfhC0; spf=pass (domain: redhat.com, ip: 170.10.133.124, mailfrom: kraxel@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632297644; 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: in-reply-to:in-reply-to:references:references; bh=iICr39FBsNuM8ze2VxDHdj3oVPnltAGzQrBn0SYUu/0=; b=ZdmwfhC0vWnTUl8Vr8tWH4Yo9KFO4DrEewduwYiWYWcpK45REBTVb93mvr3CTSKznA51Ww SoQutdnEKVDQ4s0dmUbIDBHHyibo8j1yNSkYueweB0dfSXXv5nfhnFkLj/wTW1Ml2kyPnr sDy4AchqbLpVK2W1p1ULPUecSp93d2k= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-356-lmR2g4tsN7qHNnDrIvboXg-1; Wed, 22 Sep 2021 04:00:41 -0400 X-MC-Unique: lmR2g4tsN7qHNnDrIvboXg-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id AC59C9126B; Wed, 22 Sep 2021 08:00:39 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.193.134]) by smtp.corp.redhat.com (Postfix) with ESMTPS id CDDD112D4A; Wed, 22 Sep 2021 08:00:38 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 528911800923; Wed, 22 Sep 2021 10:00:37 +0200 (CEST) Date: Wed, 22 Sep 2021 10:00:37 +0200 From: "Gerd Hoffmann" To: Brijesh Singh Cc: devel@edk2.groups.io, James Bottomley , Min Xu , Jiewen Yao , Tom Lendacky , Jordan Justen , Ard Biesheuvel , Erdem Aktas , Michael Roth Subject: Re: [PATCH v8 09/32] OvmfPkg/MemEncryptSevLib: add MemEncryptSevSnpEnabled() Message-ID: <20210922080037.aujjbpbltjf47ygw@sirius.home.kraxel.org> References: <20210920184604.31590-1-brijesh.singh@amd.com> <20210920184604.31590-10-brijesh.singh@amd.com> MIME-Version: 1.0 In-Reply-To: <20210920184604.31590-10-brijesh.singh@amd.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=kraxel@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, > STATIC BOOLEAN mSevStatus = FALSE; > STATIC BOOLEAN mSevEsStatus = FALSE; > +STATIC BOOLEAN mSevSnpStatus = FALSE; > STATIC BOOLEAN mSevStatusChecked = FALSE; Better use the new PcdConfidentialComputingAttr instead? At least in Dxe Phase, maybe Pei too (not sure what the initialization order is)? take care, Gerd