From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id B473A740038 for ; Wed, 3 Jul 2024 01:19:16 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=SbgQ11Riqhm3Phiojdbb97dFm9ZJJDgk9uOpcx+GMe0=; c=relaxed/simple; d=groups.io; h=Message-ID:Date:MIME-Version:User-Agent:Subject:To:References:From:In-Reply-To:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20240206; t=1719969556; v=1; b=JFUVjXRn4XT6fRg2iGcw76bU4m+ZezcEkzeSofgDy61ty0prZU9SJdTMDlUevHvVOcGEzX9b ENDI7FohU2Twbtea7mBSjgfbjpjll1Dt8jaE4zTh7CsSoRwvhQ7QzcC7MhkE720kxXgfpNL0bw8 C8oy9wnvhM31DHDJFbVz6PQ9+9vYc7MwaAZuAq6Emc6sXMc8gjD8XEb805W20JNov6SuTFaxt2S bIeBnHHEwVnKzerRhZ9NJNjefmoHPG3nzsT455GZnup3agwNystFGSK2ojTrZCQXL8ZHNZB+r5t lge0TrbGyg//lcFBRFrhXVoteYJl9RUGtOk2Uyr0h9MGA== X-Received: by 127.0.0.2 with SMTP id DtkGYY7687511xk8czK4GQKD; Tue, 02 Jul 2024 18:19:15 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.14]) by mx.groups.io with SMTP id smtpd.web10.40310.1719969554405613426 for ; Tue, 02 Jul 2024 18:19:14 -0700 X-CSE-ConnectionGUID: O+zkxlxRSb6lgYtrPXVX7g== X-CSE-MsgGUID: HvtVWP/1QnKQcA3S3b5Ztw== X-IronPort-AV: E=McAfee;i="6700,10204,11121"; a="20985807" X-IronPort-AV: E=Sophos;i="6.09,180,1716274800"; d="scan'208";a="20985807" X-Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by orvoesa106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jul 2024 18:19:14 -0700 X-CSE-ConnectionGUID: Qn0SmF2EQday1SwSmX1mhw== X-CSE-MsgGUID: lALagdjFS124gvfp0t+7nw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,180,1716274800"; d="scan'208";a="77237464" X-Received: from xiaoyaol-hp-g830.ccr.corp.intel.com (HELO [10.124.240.26]) ([10.124.240.26]) by smtpauth.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jul 2024 18:19:13 -0700 Message-ID: <3cf9b59f-3423-49c7-9905-429e886c3362@intel.com> Date: Wed, 3 Jul 2024 09:19:10 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: =?UTF-8?B?UmU6IOWbnuWkjTogW2VkazItZGV2ZWxdIFtQQVRDSF0gTWRlUGtnL1RkeC5oOiBGaXggdGhlIG9yZGVyIG9mIE51bVZjcHVzIGFuZCBNYXhWY3B1cw==?= To: gaoliming , devel@edk2.groups.io References: <20240627012644.2545665-1-xiaoyao.li@intel.com> <00d701dacce6$15725610$40570230$@byosoft.com.cn> From: "Xiaoyao Li" In-Reply-To: <00d701dacce6$15725610$40570230$@byosoft.com.cn> 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: Tue, 02 Jul 2024 18:19:14 -0700 Resent-From: xiaoyao.li@intel.com Reply-To: devel@edk2.groups.io,xiaoyao.li@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: EEv6Fg6Z0AyANo0hPloF41a4x7686176AA= Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=JFUVjXRn; 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 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io On 7/3/2024 9:12 AM, gaoliming wrote: > Is there Pull Request for this patch? yes. https://github.com/tianocore/edk2/pull/5828 >> -----邮件原件----- >> 发件人: devel@edk2.groups.io 代表 Xiaoyao Li >> 发送时间: 2024年6月27日 9:27 >> 收件人: devel@edk2.groups.io >> 抄送: xiaoyao.li@intel.com >> 主题: [edk2-devel] [PATCH] MdePkg/Tdx.h: Fix the order of NumVcpus and >> MaxVcpus >> >> For TDCALL leaf TDG.VP.INFO, the bit 31:0 in R8 returns NUM_VCPUS and >> bit 63:32 in R8 returns MAX_VCPUS. Current struct >> TDCALL_INFO_RETURN_DATA defines them in wrong order. >> >> Signed-off-by: Xiaoyao Li >> Cc: Jiewen Yao >> Cc: Min Xu >> Cc: Gerd Hoffmann >> Cc: Laszlo Ersek >> --- >> MdePkg/Include/IndustryStandard/Tdx.h | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/MdePkg/Include/IndustryStandard/Tdx.h >> b/MdePkg/Include/IndustryStandard/Tdx.h >> index 2662761883e5..17f1e8f4146a 100644 >> --- a/MdePkg/Include/IndustryStandard/Tdx.h >> +++ b/MdePkg/Include/IndustryStandard/Tdx.h >> @@ -113,8 +113,8 @@ typedef struct { >> typedef struct { >> >> UINT64 Gpaw; >> >> UINT64 Attributes; >> >> - UINT32 MaxVcpus; >> >> UINT32 NumVcpus; >> >> + UINT32 MaxVcpus; >> >> UINT64 Resv[3]; >> >> } TDCALL_INFO_RETURN_DATA; >> >> >> >> -- >> 2.34.1 >> >> >> >> -=-=-=-=-=-= >> Groups.io Links: You receive all messages sent to this group. >> View/Reply Online (#119726): https://edk2.groups.io/g/devel/message/119726 >> Mute This Topic: https://groups.io/mt/106918890/4905953 >> Group Owner: devel+owner@edk2.groups.io >> Unsubscribe: https://edk2.groups.io/g/devel/unsub >> [gaoliming@byosoft.com.cn] >> -=-=-=-=-=-= >> > > > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#119769): https://edk2.groups.io/g/devel/message/119769 Mute This Topic: https://groups.io/mt/107012181/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-