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 9ADBB9410BA for ; Mon, 26 Feb 2024 05:19:02 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=toJdsCtEnPUYnXrtW3WpR8H/dStiAXLVggUD1iMVcqk=; 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=1708924741; v=1; b=sigkRSjunbmAvc7lrSauM2DlpP6X76H8SMNohUKvIBAXQ3lQD2yR6tpWJFJLnhYoj2v4W7XV TQj2pNaDgCO8e7+AhEuIGTJ2B3R8cUJdyPFOBp0b2A09N7XwTBZHJ1C4tq65jQiG7fe7HhQTFtb jsJZsz2g/FlEdRmjfdcSAO2g= X-Received: by 127.0.0.2 with SMTP id aC66YY7687511xeKJ1omIder; Sun, 25 Feb 2024 21:19:01 -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:00 -0800 X-IronPort-AV: E=McAfee;i="6600,9927,10995"; a="3344948" X-IronPort-AV: E=Sophos;i="6.06,185,1705392000"; d="scan'208";a="3344948" 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:00 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,185,1705392000"; d="scan'208";a="7052007" 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:18:57 -0800 From: "sunceping" To: devel@edk2.groups.io Cc: Ceping Sun , Liming Gao , Michael D Kinney , Erdem Aktas , James Bottomley , Jiewen Yao , Min Xu , Tom Lendacky , Michael Roth , Isaku Yamahata Subject: [edk2-devel] [PATCH V1 1/3] MdePkg/BaseLib: Update TDVMCALL_EXPOSE_REGS_MASK Date: Tue, 27 Feb 2024 05:18:31 +0800 Message-Id: <20240226211833.3156606-2-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: kcpjn09SAT43Zn42QWunvY3wx7686176AA= 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=sigkRSju; 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: Liming Gao Cc: Michael D Kinney Cc: Erdem Aktas Cc: James Bottomley Cc: Jiewen Yao Cc: Min Xu Cc: Tom Lendacky Cc: Michael Roth Cc: Isaku Yamahata Signed-off-by: Ceping Sun --- MdePkg/Library/BaseLib/X64/TdVmcall.nasm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdePkg/Library/BaseLib/X64/TdVmcall.nasm b/MdePkg/Library/BaseLib/X64/TdVmcall.nasm index 8dd9bfcbfa14..b20724a37015 100644 --- a/MdePkg/Library/BaseLib/X64/TdVmcall.nasm +++ b/MdePkg/Library/BaseLib/X64/TdVmcall.nasm @@ -9,7 +9,7 @@ DEFAULT REL SECTION .text -%define TDVMCALL_EXPOSE_REGS_MASK 0xffec +%define TDVMCALL_EXPOSE_REGS_MASK 0xffcc %define TDVMCALL 0x0 %macro tdcall 0 -- 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#115942): https://edk2.groups.io/g/devel/message/115942 Mute This Topic: https://groups.io/mt/104577519/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-