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 6E000941131 for ; Mon, 26 Feb 2024 05:19:07 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=E8yHgiIqhY2x2LXdjWcQt49gU3zcGFXA6BoOWg6TWOw=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1708924746; v=1; b=u8jhvfYPreQPI5fiMsFP1JzompI/ClhRCcXBtBILHd5f2nhhD5JQU1J94ibLgU3Cwp99T5d6 fpkC9qHOxfwBMA5is69PLzUPJQKLaACjymKyBjhxKoq1aB3FCYLVsZB56syu2m3fOCSzHG/d/NX H2TqBIx0nOahm9lcIaRq5j6Y= X-Received: by 127.0.0.2 with SMTP id vk3OYY7687511xdPRs3k5UqI; Sun, 25 Feb 2024 21:19:06 -0800 X-Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.15]) by mx.groups.io with SMTP id smtpd.web10.14666.1708924740548230288 for ; Sun, 25 Feb 2024 21:19:05 -0800 X-IronPort-AV: E=McAfee;i="6600,9927,10995"; a="3344953" X-IronPort-AV: E=Sophos;i="6.06,185,1705392000"; d="scan'208";a="3344953" X-Received: from orviesa008.jf.intel.com ([10.64.159.148]) by fmvoesa109.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Feb 2024 21:19:05 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,185,1705392000"; d="scan'208";a="7052043" X-Received: from tdvf-default-string.sh.intel.com ([10.239.49.7]) by orviesa008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Feb 2024 21:19:02 -0800 From: "sunceping" To: devel@edk2.groups.io Cc: Ceping Sun , Erdem Aktas , James Bottomley , Jiewen Yao , Min Xu , Tom Lendacky , Michael Roth , Gerd Hoffmann , Isaku Yamahata Subject: [edk2-devel] [PATCH V1 2/3] OvmfPkg/CcExitLib: Update TDVMCALL_EXPOSE_REGS_MASK Date: Tue, 27 Feb 2024 05:18:32 +0800 Message-Id: <20240226211833.3156606-3-cepingx.sun@intel.com> In-Reply-To: <20240226211833.3156606-1-cepingx.sun@intel.com> References: <20240226211833.3156606-1-cepingx.sun@intel.com> MIME-Version: 1.0 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 Reply-To: devel@edk2.groups.io,cepingx.sun@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: C7yOJeeY5UEctKd52vM2gcmSx7686176AA= Content-Transfer-Encoding: 8bit X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=u8jhvfYP; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.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 REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4696 Refer to the [GHCI] spec, TDVF should clear the BIT5 for RBP in the mask. Reference: [GHCI]: TDX Guest-Host-Communication Interface v1.5 https://cdrdv2.intel.com/v1/dl/getContent/726792 Cc: Erdem Aktas Cc: James Bottomley Cc: Jiewen Yao Cc: Min Xu Cc: Tom Lendacky Cc: Michael Roth Cc: Gerd Hoffmann Cc: Isaku Yamahata Signed-off-by: Ceping Sun --- OvmfPkg/Library/CcExitLib/X64/TdVmcallCpuid.nasm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OvmfPkg/Library/CcExitLib/X64/TdVmcallCpuid.nasm b/OvmfPkg/Library/CcExitLib/X64/TdVmcallCpuid.nasm index fa86440904fe..c9c007352e8d 100644 --- a/OvmfPkg/Library/CcExitLib/X64/TdVmcallCpuid.nasm +++ b/OvmfPkg/Library/CcExitLib/X64/TdVmcallCpuid.nasm @@ -9,7 +9,7 @@ DEFAULT REL SECTION .text -%define TDVMCALL_EXPOSE_REGS_MASK 0xffec +%define TDVMCALL_EXPOSE_REGS_MASK 0xffcc %define TDVMCALL 0x0 %define EXIT_REASON_CPUID 0xa -- 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#115943): https://edk2.groups.io/g/devel/message/115943 Mute This Topic: https://groups.io/mt/104577520/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-