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 DD8DB9413C0 for ; Wed, 13 Mar 2024 07:32:11 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=3a7iyWWCDo0YegMdpZSpCgFgrvqBnWXSREWM+ON+Pmk=; c=relaxed/simple; d=groups.io; h=From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References:In-Reply-To:Accept-Language:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20240206; t=1710315130; v=1; b=VhEqsQv2p8w7XrHrHGnKAxSmSPlwFImIMCjZ85g9MaGgHS9LFcaeJmuTck61KnoUiV2GGMFC j5d473ilCOuv8vTEg5v5UyYyaTwmXMNkhB4Qhx8POHeuk/AofBzGiHLw9enQ7BbrAHQtdUYmMB9 NVNafD5ZBDtsB3aJlFI9dWbtmX/i02bY7oi2DqJieCmxuy4NwfcouDRMX+27V9v8MmzR7f7LPMJ xM0pBNAVHkUMQWzQSMaE4feZs1yIfCipPdpGB/6P359lpHDrrYpxk3bPjpWxSwqaXzes/wIo9WW qo3qFiV1wGsRgFxKMzAX1l3QeQ2q47gf3DWPwii7V6Qew== X-Received: by 127.0.0.2 with SMTP id Na9iYY7687511xEXrhZnvAdr; Wed, 13 Mar 2024 00:32:10 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.9]) by mx.groups.io with SMTP id smtpd.web11.11011.1710315129598511619 for ; Wed, 13 Mar 2024 00:32:09 -0700 X-IronPort-AV: E=McAfee;i="6600,9927,11011"; a="15786560" X-IronPort-AV: E=Sophos;i="6.07,119,1708416000"; d="scan'208";a="15786560" X-Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by fmvoesa103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Mar 2024 00:32:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,119,1708416000"; d="scan'208";a="16392841" X-Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmviesa003.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 13 Mar 2024 00:32:09 -0700 X-Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Wed, 13 Mar 2024 00:32:08 -0700 X-Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Wed, 13 Mar 2024 00:32:07 -0700 X-Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Wed, 13 Mar 2024 00:32:07 -0700 X-Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.168) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Wed, 13 Mar 2024 00:32:07 -0700 X-Received: from IA0PR11MB8355.namprd11.prod.outlook.com (2603:10b6:208:480::14) by SA0PR11MB4768.namprd11.prod.outlook.com (2603:10b6:806:71::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.18; Wed, 13 Mar 2024 07:32:05 +0000 X-Received: from IA0PR11MB8355.namprd11.prod.outlook.com ([fe80::b09a:4b79:1da2:9bc6]) by IA0PR11MB8355.namprd11.prod.outlook.com ([fe80::b09a:4b79:1da2:9bc6%6]) with mapi id 15.20.7386.016; Wed, 13 Mar 2024 07:32:05 +0000 From: "sunceping" To: Liming Gao , "Kinney, Michael D" , "devel@edk2.groups.io" CC: "Aktas, Erdem" , James Bottomley , "Yao, Jiewen" , "Xu, Min M" , Tom Lendacky , Michael Roth , "Yamahata, Isaku" Subject: Re: [edk2-devel] [PATCH V1 1/3] MdePkg/BaseLib: Update TDVMCALL_EXPOSE_REGS_MASK Thread-Topic: [PATCH V1 1/3] MdePkg/BaseLib: Update TDVMCALL_EXPOSE_REGS_MASK Thread-Index: AQHaaHNZ1K3M98L92kq7bfj+WIuJ77Em9B2QgA5rixA= Date: Wed, 13 Mar 2024 07:32:05 +0000 Message-ID: References: <20240226211833.3156606-1-cepingx.sun@intel.com> <20240226211833.3156606-2-cepingx.sun@intel.com> In-Reply-To: Accept-Language: en-US X-Mentions: gaoliming@byosoft.com.cn,michael.d.kinney@intel.com X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: IA0PR11MB8355:EE_|SA0PR11MB4768:EE_ x-ms-office365-filtering-correlation-id: 05b8162c-2eb2-4121-c9f9-08dc432faeee x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: /5/yqsaGOPQTAlUG8NFFNYlSAGdYHbXxTpehIIWjIJrJo2a8qqDMM8O3CXplmKf1LG5t0gBu7l2iakiipz51I7kcYZgwchKZVRYo5KE6Ov6mi4bjnSkLyeTQuOedsGgbbjhIxDIk3R+IoE+YfriWN/8/qtseS7QKkfpPbVPxoBJvYn1zrEVVzPoPosvw7ruHx0JVNQ/XR4NE7Hd3pZDsZaeGCpZw0iG3BkVMtZAkRjX8J7gZmrtYLjC8SSdp7vABx2ATXZOOgpZeb9I+i9f4NJOGdNptmef/7By2i3twA18x319x2exSQ5IXJfWID6F1yeSqL9HED3avYx3P8TQhaVbrhh4x9wDErbm1+v+wH0uWHwJJtH+GxfaFO6YXzAhUxeHaGguqa58GDOaqF1sek7p6fkvV2qtwZn+OcAA1axDN3webd51OAVBkElUVKJsRWoYTn+HONtMnAWXwIq5UhWYDLMocQbiCnxvo3xuWXWCOyg6l7DBuW1CET6q3zEMO7GDpLRAqLr3letV9+eT0JsBxLXxTONk/eeKVDs0kO98R63+cmVT/GRQZH3w0pOar7DoP7gpe7HbAJOmZ/iZHGoy0nSWSkQxw/aRCSW2zEqEDAQG5XibeerxYVdB+s1lHB0ObZfp8X7nMIBummVDnD5Squ2CClt8xL8zgnck1TYihe4xfaTe605/gS//5AFk7 x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?ffHvszBnrFdAx5B8TWJnCzVUIhp4goK8lZ4MfBgCDM+bi7LuwGwmR857VycN?= =?us-ascii?Q?95Hp+N02EsnpSXQC6mLaMHCAXZxdqUAQXMyEmF1oS3DTm6aQK6oYXPv9sC+K?= =?us-ascii?Q?pcHwJlJna/WT2HpgngrWixq33avux6Eib+3ugBJhbV7ZDa/5LtcLjcxY1QbK?= =?us-ascii?Q?zPp8y7/nE2WeQaTdB08hm/k9KBho9MfylW4/2aa1AHy3OTMFn+6oBhSWQ7HZ?= =?us-ascii?Q?34DioiqZNGGcCW0vTP89lrw3W1OaeNeEjtPCcEzX6EgMqfT3b48YfPuX0Up9?= =?us-ascii?Q?jR1dyjjn/EIghLxU5Z5spSA7Xh9mvL/DUA8m9HpZf9gLHZVNm7PSJD+O6nhn?= =?us-ascii?Q?7ccGcV4yyKn9GVD2KoO1IYd/akJ8yaMPwGNjzO0dw8kRGQaJugEVVDdBzSVk?= =?us-ascii?Q?oaeq4P82p4GkXIGRCqwjLhBaONhhY03Bq8TH0O1S0PT82m27AnekKNXvPJOj?= =?us-ascii?Q?1KDPXG96MsNP5i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dnjDe3cR?= =?us-ascii?Q?IToYKQlCYe+u3vqJDxLdiMBUr2WUZdPmMNGJbJ9IuJ4qJH7o7xDJrRUHYLbt?= =?us-ascii?Q?qgahmpvol0lo4LUzVSg+Ap0UBcOEIhuFT7pNG8UDxuBqwrn08IbNIMAJV5ox?= =?us-ascii?Q?wrWLtFZoz2na89rNSVP9JaBbnoFdP184AoXGQgDX1TC3Q4e97U+noP26n8B7?= =?us-ascii?Q?KSdhRQ1twTn32iIeA7pIrBrYhVqBhEhPUfZ6vDlN?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: IA0PR11MB8355.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 05b8162c-2eb2-4121-c9f9-08dc432faeee X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Mar 2024 07:32:05.6816 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: FgWOU/EDt4jpCDyL3fOPjCYCPliWLGzYVWYwotEHTOgfrQKvd8BnIA9lmuF5qHeqBuC+RpJQ1xEQMUmeeEywtg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA0PR11MB4768 X-OriginatorOrg: intel.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: Wed, 13 Mar 2024 00:32:09 -0700 Reply-To: devel@edk2.groups.io,cepingx.sun@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: QAycFepnSQLCv976EbgXhKpTx7686176AA= Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=VhEqsQv2; 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 @Liming Gao @Kinney, Michael D This patch has been submitted for review over two weeks.=20 May I have your comments about the patch? Thanks Ceping > -----Original Message----- > From: Sun, CepingX > Sent: Monday, March 4, 2024 11:23 AM > To: Liming Gao ; Kinney, Michael D > ; devel@edk2.groups.io; Sun, CepingX > > Cc: Aktas, Erdem ; James Bottomley > ; Yao, Jiewen ; Xu, Min M > ; Tom Lendacky ; > Michael Roth ; Yamahata, Isaku > > Subject: RE: [PATCH V1 1/3] MdePkg/BaseLib: Update > TDVMCALL_EXPOSE_REGS_MASK >=20 > Ping @Gao, Liming, @Kinney, Michael D > Hi Liming and Mike > Would you please review the MdePkg update? >=20 > Thanks > Ceping >=20 > > -----Original Message----- > > From: Sun, CepingX > > Sent: Tuesday, February 27, 2024 5:19 AM > > To: devel@edk2.groups.io > > Cc: Sun, CepingX ; Liming Gao > > ; Kinney, Michael D > > ; Aktas, Erdem ; > > James Bottomley ; Yao, Jiewen > > ; Xu, Min M ; Tom Lendacky > > ; Michael Roth ; > > Yamahata, Isaku > > Subject: [PATCH V1 1/3] MdePkg/BaseLib: Update > > TDVMCALL_EXPOSE_REGS_MASK > > > > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4696 > > > > Refer to the [GHCI] spec, TDVF should clear the BIT5 for RBP in the mas= k. > > > > 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 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#116709): https://edk2.groups.io/g/devel/message/116709 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] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-