From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id B6330740032 for ; Thu, 14 Mar 2024 10:39:10 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=0/9pVPiNIkmMXZ9ulCI0gJvlaap6oh5VF22R4Y+kk5c=; c=relaxed/simple; d=groups.io; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:In-Reply-To:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type:Content-Disposition; s=20240206; t=1710412749; v=1; b=k81GSX9AjKNRusLyejBRcNfZZMS/luQu9fhKS9QJnAj5x0AJj5nBVQ6uoigpbT9K41bbVwu5 2OkuRCGZrgO27BALoUG3oukKw8qA9qYgeUHn+Zt+rF3GHVQjLi6lB21D5OYagyGKUYzRKfsgeYJ Bdg291KThnRnw7zmX8pdmSaFln9+808jKMlX+1AxyiTPhnE+wjGSWXiTB2ewNNt7x++AcxovlTz NtOZVzhBFSNOfw/m4GcxzeC1lcu6K58wm0fXbvLCS0v96kpT0voZ0NifD+JoyJ8RLAD4qXkFokh /wN/qIiQzoHHFjiB2kasSi8l0qnzf79fgufjnS7SXi2ww== X-Received: by 127.0.0.2 with SMTP id vRpWYY7687511x3Ao5zuyxas; Thu, 14 Mar 2024 03:39:09 -0700 X-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.9460.1710412748291515309 for ; Thu, 14 Mar 2024 03:39:08 -0700 X-Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-659-pzMwkr0YMUuwF59JPTS-nA-1; Thu, 14 Mar 2024 06:39:04 -0400 X-MC-Unique: pzMwkr0YMUuwF59JPTS-nA-1 X-Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 4FCF23C02755; Thu, 14 Mar 2024 10:39:03 +0000 (UTC) X-Received: from sirius.home.kraxel.org (unknown [10.39.192.3]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 794C516A9A; Thu, 14 Mar 2024 10:39:02 +0000 (UTC) X-Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 472151800629; Thu, 14 Mar 2024 11:39:01 +0100 (CET) Date: Thu, 14 Mar 2024 11:39:01 +0100 From: "Gerd Hoffmann" To: Tom Lendacky Cc: devel@edk2.groups.io, Ard Biesheuvel , Erdem Aktas , Jiewen Yao , Laszlo Ersek , Liming Gao , Michael D Kinney , Min Xu , Zhiguang Liu , Rahul Kumar , Ray Ni , Michael Roth , Anatol Belski , Jianyong Wu Subject: Re: [edk2-devel] [PATCH v3 15/24] Ovmfpkg/AmdSvsmLib: Create AmdSvsmLib to handle SVSM related services Message-ID: References: <8852edc50d00946ca67a29a5f39c7cd46e10bbc5.1709911792.git.thomas.lendacky@amd.com> MIME-Version: 1.0 In-Reply-To: <8852edc50d00946ca67a29a5f39c7cd46e10bbc5.1709911792.git.thomas.lendacky@amd.com> X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.5 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Thu, 14 Mar 2024 03:39:08 -0700 Reply-To: devel@edk2.groups.io,kraxel@redhat.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: MDQEYWxlHe9GkViHGCsngtawx7686176AA= Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=k81GSX9A; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=redhat.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io On Fri, Mar 08, 2024 at 09:29:43AM -0600, Tom Lendacky wrote: > BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4654 > > Add initial support for the new AmdSvsmLib library to OvmfPkg. The initial > implementation fully implements the library interfaces. > > The SVSM presence check, AmdSvsmIsSvsmPresent(), determines the presence > of an SVSM by checking if an SVSM has been advertised in the SEV-SNP > Secrets Page. > > The VMPL API, AmdSvsmSnpGetVmpl(), returns the VMPL level at which OVMF is > currently running. > > The CAA API, AmdSvsmSnpGetCaa(), returns the Calling Area Address when an > SVSM is present, 0 otherwise. > > The PVALIDATE API, AmdSvsmSnpPvalidate(), copies the PVALIDATE logic from > the BaseMemEncryptSevLib library for the initial implementation. The > BaseMemEncryptSevLib library will be changed to use this new API so that > the decision as to whether the SVSM is needed to perform the operation > can be isolated to this library. > > The VMSA API, AmdSvsmSnpVmsaRmpAdjust(), copies the RMPUPDATE logic from > the MpInitLib library for the initial implementation. The MpInitLib > library will be changed to use this new API so that the decision as to > whether the SVSM is needed to perform the operation can be isolated to > this library. > > Cc: Anatol Belski > Cc: Ard Biesheuvel > Cc: Erdem Aktas > Cc: Gerd Hoffmann > Cc: Jianyong Wu > Cc: Jiewen Yao > Cc: Laszlo Ersek > Cc: Michael Roth > Cc: Min Xu > Signed-off-by: Tom Lendacky Acked-by: Gerd Hoffmann -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#116738): https://edk2.groups.io/g/devel/message/116738 Mute This Topic: https://groups.io/mt/104810723/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-