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.129.124])
 by mx.groups.io with SMTP id smtpd.web11.36326.1688985389440109136
 for <devel@edk2.groups.io>;
 Mon, 10 Jul 2023 03:36:29 -0700
Authentication-Results: mx.groups.io;
 dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=QM7wNTXS;
 spf=pass (domain: redhat.com, ip: 170.10.129.124, mailfrom: kraxel@redhat.com)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;
	s=mimecast20190719; t=1688985388;
	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=em0C7zmCwDm196rdsBXGAcBT4Vc4RJDwyFpVW3ImA54=;
	b=QM7wNTXS1/i0Og9FVJcZI765t+6jPcGPuIgOTIfQC+emkYCBabNbSOJk2Cf6qOF0z772Sj
	OrG+pZVqYO/Vp72JT2JGg8/Hc8ZrNOPJ1btvcZVUXD53cMMY93tJmBelOf1Ei45jIJsXgk
	y5Pqrq/12M3Vd/2f1VPfdiC8GBIBllg=
Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com
 [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS
 (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
 us-mta-473-UnXvBnajNuahyh9lbH0-Gw-1; Mon, 10 Jul 2023 06:36:24 -0400
X-MC-Unique: UnXvBnajNuahyh9lbH0-Gw-1
Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mimecast-mx02.redhat.com (Postfix) with ESMTPS id B55C8104458D;
	Mon, 10 Jul 2023 10:36:23 +0000 (UTC)
Received: from sirius.home.kraxel.org (unknown [10.39.193.252])
	by smtp.corp.redhat.com (Postfix) with ESMTPS id 7D0E540C206F;
	Mon, 10 Jul 2023 10:36:23 +0000 (UTC)
Received: by sirius.home.kraxel.org (Postfix, from userid 1000)
	id 3B3381800908; Mon, 10 Jul 2023 12:36:22 +0200 (CEST)
Date: Mon, 10 Jul 2023 12:36:22 +0200
From: "Gerd Hoffmann" <kraxel@redhat.com>
To: devel@edk2.groups.io, cepingx.sun@intel.com
Cc: Erdem Aktas <erdemaktas@google.com>, 
	James Bottomley <jejb@linux.ibm.com>, Jiewen Yao <jiewen.yao@intel.com>, Min Xu <min.m.xu@intel.com>, 
	Tom Lendacky <thomas.lendacky@amd.com>, Michael Roth <michael.roth@amd.com>
Subject: Re: [edk2-devel] [PATCH V1] OvmfPkg/PeilessStartupLib: Updated with PcdSecureBootSupported
Message-ID: <ql4unmi74poadur6czekxbfzbn5rpbogmurxcseuyparpxjp7q@tt7ijuamkwjc>
References: <20230710100539.13518-1-cepingx.sun@intel.com>
MIME-Version: 1.0
In-Reply-To: <20230710100539.13518-1-cepingx.sun@intel.com>
X-Scanned-By: MIMEDefang 3.1 on 10.11.54.1
X-Mimecast-Spam-Score: 0
X-Mimecast-Originator: redhat.com
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Mon, Jul 10, 2023 at 06:05:39PM +0800, sunceping wrote:
> SECURE_BOOT_FEATURE_ENABLED was dropped by the commit(92da8a154f), but the
> PeilessStartupLib was not updated with PcdSecureBootSupported, that made
> SecureBoot no longer work in IntelTdxX64.
> 
> Fix this by replacing SECURE_BOOT_FEATURE_ENABLED with
> PcdSecureBootSupported in PeilessStartupLib.
> 
> Cc: Erdem Aktas <erdemaktas@google.com>
> Cc: James Bottomley <jejb@linux.ibm.com>
> Cc: Jiewen Yao <jiewen.yao@intel.com>
> Cc: Gerd Hoffmann <kraxel@redhat.com>
> Cc: Min Xu <min.m.xu@intel.com>
> Cc: Tom Lendacky <thomas.lendacky@amd.com>
> Cc: Michael Roth <michael.roth@amd.com>
> Signed-off-by: Ceping Sun <cepingx.sun@intel.com>

Acked-by: Gerd Hoffmann <kraxel@redhat.com>