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 08F2CD8021D for ; Wed, 3 Jul 2024 01:12:54 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=r2yGvaG+Bd2sMkHsa3o0yb1jPeIdZd7OKf0Sg94Lohw=; c=relaxed/simple; d=groups.io; h=From:To:References:In-Reply-To:Subject:Date:Message-ID:MIME-Version:Thread-Index:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type:Content-Transfer-Encoding:Content-Language; s=20240206; t=1719969174; v=1; b=XMUztruMsige/mbGpkKXGGd235yj/qK5ZuhxnAb1hkz7tm1FnW1drtbeQvrg+yzcoJwJikzm kfUC5s8DoSrTT05rvHuC7SvkLRXQHvRAiIRVxdeSJY15cdHqssFc47F3pGBtRfugs0hk6HVr4CI 6kh2MVHpAPqb9NZ1u7c2kJM4r0KPqr+IA82UwaT73olWB4uH/nin0IsiIUBEudlPUEu6YGwHuZ9 QUqNrjkrX3v70JRSWkHHARV4SwscOGoB8M6YCVre629sk/sevOFevjZdXJnTLt5zJ/MCN1C9w/Z LtQyVDzrXu7IlaMyfVnOF4ra4WMzU0ZF+y3QaPQlkq6Wg== X-Received: by 127.0.0.2 with SMTP id 9wVmYY7687511xfsaW1bgmry; Tue, 02 Jul 2024 18:12:53 -0700 X-Received: from zrleap.intel-email.com (zrleap.intel-email.com [114.80.218.36]) by mx.groups.io with SMTP id smtpd.web11.41024.1719969171472909034 for ; Tue, 02 Jul 2024 18:12:52 -0700 X-Received: from zrleap.intel-email.com (localhost [127.0.0.1]) by zrleap.intel-email.com (Postfix) with ESMTP id 98BC2A32E1AB for ; Wed, 3 Jul 2024 09:12:48 +0800 (CST) X-Received: from localhost (localhost [127.0.0.1]) by zrleap.intel-email.com (Postfix) with ESMTP id 412D9A32E1AC for ; Wed, 3 Jul 2024 09:12:48 +0800 (CST) X-Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by zrleap.intel-email.com (Postfix) with SMTP id 7FD0AA32E1AF for ; Wed, 3 Jul 2024 09:12:41 +0800 (CST) X-Received: from DESKTOPS6D0PVI ([58.246.60.130]) (envelope-sender ) by 192.168.6.13 with ESMTP(SSL) for ; Wed, 03 Jul 2024 09:12:30 +0800 X-WM-Sender: gaoliming@byosoft.com.cn X-Originating-IP: 58.246.60.130 X-WM-AuthFlag: YES X-WM-AuthUser: gaoliming@byosoft.com.cn From: "gaoliming via groups.io" To: , References: <20240627012644.2545665-1-xiaoyao.li@intel.com> In-Reply-To: <20240627012644.2545665-1-xiaoyao.li@intel.com> Subject: =?UTF-8?B?5Zue5aSNOiBbZWRrMi1kZXZlbF0gW1BBVENIXSBNZGVQa2cvVGR4Lmg6IEZpeCB0aGUgb3JkZXIgb2YgTnVtVmNwdXMgYW5kIE1heFZjcHVz?= Date: Wed, 3 Jul 2024 09:12:31 +0800 Message-ID: <00d701dacce6$15725610$40570230$@byosoft.com.cn> MIME-Version: 1.0 Thread-Index: AQMaRGfv+L0Y/b6I2uu7thpnr9mA369lQ0Rg 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:12:52 -0700 Resent-From: gaoliming@byosoft.com.cn Reply-To: devel@edk2.groups.io,gaoliming@byosoft.com.cn List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: fEJzN8UXheOj2kwAlC4ZBriwx7686176AA= Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Content-Language: zh-cn X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=XMUztruM; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=pass (policy=none) header.from=groups.io Is there Pull Request for this patch? > -----=D3=CA=BC=FE=D4=AD=BC=FE----- > =B7=A2=BC=FE=C8=CB: devel@edk2.groups.io =B4=FA=B1= =ED Xiaoyao Li > =B7=A2=CB=CD=CA=B1=BC=E4: 2024=C4=EA6=D4=C227=C8=D5 9:27 > =CA=D5=BC=FE=C8=CB: devel@edk2.groups.io > =B3=AD=CB=CD: xiaoyao.li@intel.com > =D6=F7=CC=E2: [edk2-devel] [PATCH] MdePkg/Tdx.h: Fix the order of NumVcpu= s and > MaxVcpus >=20 > 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. >=20 > 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(-) >=20 > 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 { >=20 > UINT64 Gpaw; >=20 > UINT64 Attributes; >=20 > - UINT32 MaxVcpus; >=20 > UINT32 NumVcpus; >=20 > + UINT32 MaxVcpus; >=20 > UINT64 Resv[3]; >=20 > } TDCALL_INFO_RETURN_DATA; >=20 >=20 >=20 > -- > 2.34.1 >=20 >=20 >=20 > -=3D-=3D-=3D-=3D-=3D-=3D > Groups.io Links: You receive all messages sent to this group. > View/Reply Online (#119726): https://edk2.groups.io/g/devel/message/11972= 6 > 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] > -=3D-=3D-=3D-=3D-=3D-=3D >=20 -=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 (#119767): https://edk2.groups.io/g/devel/message/119767 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] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-