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.web10.14130.1662047914298844652 for ; Thu, 01 Sep 2022 08:58:34 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=AFsDps3E; 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=1662047913; 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=J7PP8HnAP3+KR7DhPvSH28bNalQvizN+wVsZdNoBhhk=; b=AFsDps3EQeCxUOCQ724LNYs+ktXUrDJGgguZQ99McrJOhDplleEGzeaLhdEtIozGlRB39m E8J2FKFUsd/2ue4Y5Rj4qV5WJRNo5AGzGe3Mk596Z6F8n8VzCPLUA6/A548/+vIQNXbNw/ xX9WBkhwPR8XnYefqwNiR4V8zdBaEUI= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-1-6PEJQgyPOPahIdFXwCQ5Lw-1; Thu, 01 Sep 2022 11:58:32 -0400 X-MC-Unique: 6PEJQgyPOPahIdFXwCQ5Lw-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 8285E3C00089; Thu, 1 Sep 2022 15:58:31 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.195.70]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5777C2166B26; Thu, 1 Sep 2022 15:58:31 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 2B94318003AA; Thu, 1 Sep 2022 17:58:30 +0200 (CEST) Date: Thu, 1 Sep 2022 17:58:30 +0200 From: "Gerd Hoffmann" To: Min Xu Cc: devel@edk2.groups.io, Erdem Aktas , James Bottomley , Jiewen Yao , Tom Lendacky Subject: Re: [PATCH V2 12/14] OvmfPkg: Realize EdkiiMemoryAcceptProtocol in TdxDxe Message-ID: <20220901155830.xo5f3zb3kjtflj2g@sirius.home.kraxel.org> References: <4308ce519f4c39e5943212d109cac24a9a626721.1661579220.git.min.m.xu@intel.com> MIME-Version: 1.0 In-Reply-To: <4308ce519f4c39e5943212d109cac24a9a626721.1661579220.git.min.m.xu@intel.com> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sat, Aug 27, 2022 at 02:21:19PM +0800, Min Xu wrote: > From: Min M Xu > > RFC: https://bugzilla.tianocore.org/show_bug.cgi?id=3937 > > Memory usage may exceed the amount accepted at the begining (SEC), TDVF > needs to accept memory dynamically when OUT_OF_RESOURCE occurs. > > EdkiiMemoryAcceptProtocol is defined in MdePkg and is implementated / > installed in TdxDxe for Intel TDX memory acceptance. > > Cc: Erdem Aktas > Cc: Gerd Hoffmann > Cc: James Bottomley > Cc: Jiewen Yao > Cc: Tom Lendacky > Signed-off-by: Min Xu Acked-by: Gerd Hoffmann