public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "gaoliming via groups.io" <gaoliming=byosoft.com.cn@groups.io>
To: <devel@edk2.groups.io>, <xiaoyao.li@intel.com>
Subject: 回复: [edk2-devel] [PATCH] MdePkg/Tdx.h: Fix the order of NumVcpus and MaxVcpus
Date: Wed, 3 Jul 2024 09:12:31 +0800	[thread overview]
Message-ID: <00d701dacce6$15725610$40570230$@byosoft.com.cn> (raw)
In-Reply-To: <20240627012644.2545665-1-xiaoyao.li@intel.com>

Is there Pull Request for this patch?

> -----邮件原件-----
> 发件人: devel@edk2.groups.io <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 <xiaoyao.li@intel.com>
> Cc: Jiewen Yao <jiewen.yao@intel.com>
> Cc: Min Xu <min.m.xu@intel.com>
> Cc: Gerd Hoffmann <kraxel@redhat.com>
> Cc: Laszlo Ersek <lersek@redhat.com>
> ---
>  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 (#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]
-=-=-=-=-=-=-=-=-=-=-=-



  reply	other threads:[~2024-07-03  1:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-27  1:26 [edk2-devel] [PATCH] MdePkg/Tdx.h: Fix the order of NumVcpus and MaxVcpus Xiaoyao Li
2024-07-03  1:12 ` gaoliming via groups.io [this message]
2024-07-03  1:19   ` 回复: " Xiaoyao Li

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='00d701dacce6$15725610$40570230$@byosoft.com.cn' \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox