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 8C2D8D80553 for ; Mon, 4 Mar 2024 01:09:44 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=SSKVHxGu/clOqu7rTfgwLFtTKdRaiP+QFikoUW1imhc=; c=relaxed/simple; d=groups.io; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results: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:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20140610; t=1709514583; v=1; b=SnWbDw9aFJEKhE2pqwKZcbpn1fBAWHls1YkXs2Lz5qx6rhoP94gYx52v8UyGB8W9hamLEdrY BlvHReaYl99FGuYzjIqMsvapllrOaAM1wIjcLW6+RwbJWRt0BYhsismHzNDAYGZvq3wk1EQ0G0p Mknb8ZxftxSU2XVhaEBCLvSk= X-Received: by 127.0.0.2 with SMTP id xGbmYY7687511x5hwvF8c2DF; Sun, 03 Mar 2024 17:09:43 -0800 X-Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.9]) by mx.groups.io with SMTP id smtpd.web10.87997.1709514582736117474 for ; Sun, 03 Mar 2024 17:09:42 -0800 X-IronPort-AV: E=McAfee;i="6600,9927,11002"; a="14701669" X-IronPort-AV: E=Sophos;i="6.06,201,1705392000"; d="scan'208";a="14701669" X-Received: from orviesa010.jf.intel.com ([10.64.159.150]) by fmvoesa103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Mar 2024 17:09:39 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,201,1705392000"; d="scan'208";a="8754561" X-Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orviesa010.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 03 Mar 2024 17:09:39 -0800 X-Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Sun, 3 Mar 2024 17:09:37 -0800 X-Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Sun, 3 Mar 2024 17:09:37 -0800 X-Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.101) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Sun, 3 Mar 2024 17:09:37 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HzKdjG0hjK5bdNuiLCl+wlwdLs6dh4P0tpjWCR6TsOo7R7IvqzhidHaJYFPCsQxBSp/M5FYKK4zjo+GziWxTjxLSwXgWo9yoH9w/EH57egQyW80D4dWpK6xz3StL6GjuRxj/8LUKaZAfhnEgR89d9MILSfY8uqMu7Me3HEfbeZSCALT1SD6ptjg1l/RDN+Shz+jEnCGcvQdl+T1tRyd1oo53W/yLcWR+AC4Zvup1FcXyFWHj1ne4YXPw+7a9ZNlQgr53RzEzmFepZPabXQBmmhzSMBO2+huoEPGzWmf/d2GPu6sMRd062DPtXy45CFdFpuAcVcicpfE+6R6YQKBzkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=nWCyOGTTRy9ZrsTe/0KnODTm/7KBB5aRBL9ubqK1sQo=; b=TXeiKB45da++e2EYh9PD2G+v2Xzi/auO7Gvciuh4uY4enuf2Sy8V/M3zceG0eA1sX5rxg9ZYi3gtEtuKWveoH18lzMJzvusbNecAuxmTROxxCopA9EPpTHOG0Ak5gzFVXROukbKx8hYJUnWKtsnqyLECGOdaWbk9ItYwXXiarhkVb1+xGxB6EPnlgju+GdmertvNeEHRvrX+FP438BEyPkNmwktzZEbSe63RxUGrNgD6z1NkLJXmV82r/kCrSAdglJktrSxZnLhqchZIntFDBT2XWRBphWm/P6cBvxxFsMD3cYsjT2mDDUfm1z5trdRLnaCHMAzFwO+Wk+CpQrWVTg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none X-Received: from PH0PR11MB5064.namprd11.prod.outlook.com (2603:10b6:510:3b::15) by PH7PR11MB6881.namprd11.prod.outlook.com (2603:10b6:510:200::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.22; Mon, 4 Mar 2024 01:09:34 +0000 X-Received: from PH0PR11MB5064.namprd11.prod.outlook.com ([fe80::d86c:2d20:296:2a47]) by PH0PR11MB5064.namprd11.prod.outlook.com ([fe80::d86c:2d20:296:2a47%2]) with mapi id 15.20.7362.019; Mon, 4 Mar 2024 01:09:34 +0000 From: "Min Xu" To: "Sun, CepingX" , "devel@edk2.groups.io" CC: "Aktas, Erdem" , James Bottomley , "Yao, Jiewen" , Tom Lendacky , Michael Roth , Gerd Hoffmann , "Yamahata, Isaku" Subject: Re: [edk2-devel] [PATCH V1 2/3] OvmfPkg/CcExitLib: Update TDVMCALL_EXPOSE_REGS_MASK Thread-Topic: [PATCH V1 2/3] OvmfPkg/CcExitLib: Update TDVMCALL_EXPOSE_REGS_MASK Thread-Index: AQHaaHNdmH/zcoqLv0ahNGNbWsWKvbEm0E5w Date: Mon, 4 Mar 2024 01:09:34 +0000 Message-ID: References: <20240226211833.3156606-1-cepingx.sun@intel.com> <20240226211833.3156606-3-cepingx.sun@intel.com> In-Reply-To: <20240226211833.3156606-3-cepingx.sun@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH0PR11MB5064:EE_|PH7PR11MB6881:EE_ x-ms-office365-filtering-correlation-id: 50c5f5e1-f985-4b43-45a3-08dc3be7c12e 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: CTGij1n4wl03jPRQhEgo6GQUK8EbIl0pooSuDqnz2DYiHDEVDAzfV1xnGumyiJzodIip1nvZxAFT8EgFgT5CtVnJFetB12NisV+IH0rKBT1Yds8wbN66kFiXJDZHCiMu8dL7l8UABJJHgwElWzM5s7huoVMpJQvEW9JAwuPTrlEaomJzyav2bx01E29GP0QnVuCJvTbPGYpKt6UkSzTBlBkepUQum/IxJWB280XFrwL925Hr/Z2pOvDVwje9dUmRsWvDf02iSlvoMGgwvO6CHuCyi2TmDn6uXmz7d58nT+FT64uotGUcFqzVew4bVW6RCgILVsSKbSipRzwCgfdlEUeJk6N6boroSa/YkJGAT/oesK7Rg9lcFb1iOlFKikyALIY5YicIRT0EfDpwrBpez7HycDau9/wj7Sb90cKyq7jZklFkFdWAvj9GXJNB/Vg8GvDjTAumDYNVTa603MgvoouVm5KJ8TtSrxqweIX7s7hlTFi5fKSN1eiVMyKT7E/4lX7dmu8s+hE3zqOgB7u4J/kACvg6rxYZOLmuQUJTxaHx8Ydl6R8VuSyu6j5fBjYDKvd39xTHjFH3D+bOnSpsXFsVrODcEx1gPFiA3nvd67ZAytym27B/WeatHsSF3PBqXKvjOn4Y8LEm+inK86rvWB984moHOtimYxu+F5OtGnmKO4KX57me9qR4nSGTMPWE x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?7YJoG4Jiz/SIMhruB237pMqoo/mbVEJn0UIcoF5cTlopTzjwmjqnrI4IDE1R?= =?us-ascii?Q?uOZmviy6wpSfqQdPaAVzBKRWwPB50dWloidEcPZm6nCSnbF7uIl8JV+tzkUe?= =?us-ascii?Q?jPX98FWv7OqnfD2LPyDOzPpg3z5D3obcBoP/CVrQIAwFLeL8Gb6RwGhrcgy8?= =?us-ascii?Q?DMrMB80ZJNf2jiXu+vhQiF6BTsKf36DQ6JtGPpPU9/UpOj5vYgjJBaE2aQJl?= =?us-ascii?Q?SgYL1bWa49lJT5JgwD6Ff+V0cpCwoJ8XvbaBDtPywaNP25hd9fmYJ+tlqKpL?= =?us-ascii?Q?l8ebHMohtXsoSXZtCFl6VXf3ERtQ0EZanSAQA8T5l5eLL4DbEFuEE2ut3Ohr?= =?us-ascii?Q?ZzzsuVYqQYpXPRScNyvA9ze4CsShFgQfMI6zNiNFOvMUiK9p40Qitl9EhW2P?= =?us-ascii?Q?dqiViBPod85QXqI1Of88ZgZAOlV09mDIsCIbTsKptsvBpuFQd7n4AudJf+9d?= =?us-ascii?Q?ADNvgPnirmLKt9HlFWr0jqv8oxTv/7OzGY8nkB1FE5aI2+T60+0XdEfkgkAG?= =?us-ascii?Q?zWw2aXPhaMOHZutN9Sf5oCHeK6KExnM99D6UNmZdw1Wv10iJPmp/vwXPyDzB?= =?us-ascii?Q?1lZmauZDEsav411qH0TglE90Hrtb4wImDC8PPYjoL2sg4YqpIliYOV8ITDac?= =?us-ascii?Q?2z1h3hKxyGhRdGpHpHLCs5Nvl/MwELcojr9ti0IZXlpm7R9BXXLUSgOpWK1Y?= =?us-ascii?Q?Ys+vEeLHcfmIKDSGW5nIju8HpPkTBHK58OQV1eC12ExPgNHjW5nEV0DBVAFh?= =?us-ascii?Q?QizWVJq+R7Of2qdx/K4b+QAd4pfwAalk5WfIGYUZVG9KOiSop/Rpc2fmzYmB?= =?us-ascii?Q?IO3LckSyAYyoZEc2oLXTBnehJQOD3oO6n+eKBuKUxCw8qwFtCG/hFGcMpoXJ?= =?us-ascii?Q?wXGaMaLhcS0x9vYsRY5TXo7dwxfbNRYQPy3S7tICXSLpkSjqPWLvTiUDv15H?= =?us-ascii?Q?GFhKnlWxKfwq3v3k1/fgL0DwkQZI7gvaicc0X1I/GqNnDFXMDVc/MVukwrnH?= =?us-ascii?Q?QJtTfrVeNak8lDpvmJYn4F+oQ0bI1u6jdjrvRmdJa/1aeeoB/b9wYOfAhJ24?= =?us-ascii?Q?0COvW711MpgrEIIEKgGUCAEpN1hnoSbyGmYpqc84xWFEsklFBTV9BoKF5bPC?= =?us-ascii?Q?qMZmrD8edW3gOVt2ZDO/QjII5orSy6Fg4/JeqIfBm2D0DUbfaFZnfWyij+5+?= =?us-ascii?Q?vy2Y60AuUHsD2xmy0nukjmlv1qNLWIj9EReoODlBikqIgMXNNuB8UvqwQDse?= =?us-ascii?Q?R2+OkSqKIh2yV7G35gx59XMQ7QtYgPcgDakNNy7fJcN+Qv61Jx/7uL+Peq30?= =?us-ascii?Q?ci94aNha8kHh60qc81Mx2Vx4grDsKN830LV974QPdUIAQcW5pbnMceGpIVwt?= =?us-ascii?Q?rdls18hv09crsHNhlqUKnrhGWX0HV2j5r82c2Nri4GmmGcZ6kmsP++rVTvxv?= =?us-ascii?Q?yS+EMtA7Wty3h2xDX5/b09ts1Aeeq1+eOTD6KLVAR0PPPc9DInDZ9RkSJsin?= =?us-ascii?Q?RhGbkVzirp363s4FaoynyAI0/anYJ54VZ2ut5EeT7ePtpJSaSmgDNkaNeFcc?= =?us-ascii?Q?9f6JJDY+woZmALinYeT39UUsZpssZaZe2nkl+xCd?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5064.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 50c5f5e1-f985-4b43-45a3-08dc3be7c12e X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Mar 2024 01:09:34.3682 (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: EeJU/dnp+68cA92nr+H8qS2qWsnHfC3lLlqCMh5zTS67EgHfATQ/djnwS9YTKwmCtW8AOm9WgPumMKyGss8vew== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR11MB6881 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 Reply-To: devel@edk2.groups.io,min.m.xu@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: oZVLugfMNFPDfor8uK4O4roIx7686176AA= 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=20140610 header.b=SnWbDw9a; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none); arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}") Reviewed-by: Min Xu > -----Original Message----- > From: Sun, CepingX > Sent: Tuesday, February 27, 2024 5:19 AM > To: devel@edk2.groups.io > Cc: Sun, CepingX ; Aktas, Erdem > ; James Bottomley ; Yao, > Jiewen ; Xu, Min M ; Tom > Lendacky ; Michael Roth > ; Gerd Hoffmann ; > Yamahata, Isaku > Subject: [PATCH V1 2/3] OvmfPkg/CcExitLib: Update > TDVMCALL_EXPOSE_REGS_MASK >=20 > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4696 >=20 > Refer to the [GHCI] spec, TDVF should clear the BIT5 for RBP in the mask. >=20 > Reference: > [GHCI]: TDX Guest-Host-Communication Interface v1.5 > https://cdrdv2.intel.com/v1/dl/getContent/726792 >=20 > 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(-) >=20 > 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 >=20 > -%define TDVMCALL_EXPOSE_REGS_MASK 0xffec > +%define TDVMCALL_EXPOSE_REGS_MASK 0xffcc > %define TDVMCALL 0x0 > %define EXIT_REASON_CPUID 0xa >=20 > -- > 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 (#116295): https://edk2.groups.io/g/devel/message/116295 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] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-