From: "gaoliming" <gaoliming@byosoft.com.cn>
To: <devel@edk2.groups.io>, <tinhnguyen@os.amperecomputing.com>
Cc: <patches@amperecomputing.com>, <michael.d.kinney@intel.com>,
<zhiguang.liu@intel.com>, <abner.chang@amd.com>
Subject: 回复: [ ** SPAMMAIL ** ][edk2-devel] [PATCH v3 3/3] MdePkg/IndustryStandard: Add Interface Capabilities definitions
Date: Thu, 4 May 2023 16:06:22 +0800 [thread overview]
Message-ID: <034401d97e5f$50e8d790$f2ba86b0$@byosoft.com.cn> (raw)
In-Reply-To: <20230503112415.2073176-4-tinhnguyen@os.amperecomputing.com>
Tinh:
For the patch subject, I suggest to add IPMI key word to specify this change is for IPMI, such as MdePkg/IndustryStandard: Add IPMI Interface Capabilities definitions
Thanks
Liming
> -----邮件原件-----
> 发件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 Tinh Nguyen
> via groups.io
> 发送时间: 2023年5月3日 19:24
> 收件人: devel@edk2.groups.io
> 抄送: patches@amperecomputing.com; michael.d.kinney@intel.com;
> gaoliming@byosoft.com.cn; zhiguang.liu@intel.com; abner.chang@amd.com;
> Tinh Nguyen <tinhnguyen@os.amperecomputing.com>
> 主题: [ ** SPAMMAIL ** ][edk2-devel] [PATCH v3 3/3]
> MdePkg/IndustryStandard: Add Interface Capabilities definitions
>
> This adds more definitions for the IPMI Get System Interface
> Capabilities command.
>
> Signed-off-by: Tinh Nguyen <tinhnguyen@os.amperecomputing.com>
> Cc: Michael D Kinney <michael.d.kinney@intel.com>
> Cc: Liming Gao <gaoliming@byosoft.com.cn>
> Cc: Zhiguang Liu <zhiguang.liu@intel.com>
> Cc: Abner Chang <abner.chang@amd.com>
> Reviewed-by: Abner Chang <abner.chang@amd.com>
> ---
> MdePkg/Include/IndustryStandard/IpmiNetFnApp.h | 46
> ++++++++++++++++++++
> 1 file changed, 46 insertions(+)
>
> diff --git a/MdePkg/Include/IndustryStandard/IpmiNetFnApp.h
> b/MdePkg/Include/IndustryStandard/IpmiNetFnApp.h
> index a5835ba08c00..b6bc91f46c2d 100644
> --- a/MdePkg/Include/IndustryStandard/IpmiNetFnApp.h
> +++ b/MdePkg/Include/IndustryStandard/IpmiNetFnApp.h
> @@ -13,6 +13,7 @@
>
> Copyright (c) 1999 - 2018, Intel Corporation. All rights reserved.<BR>
> Copyright (C) 2023 Advanced Micro Devices, Inc. All rights reserved.<BR>
> + Copyright (c) 2023, Ampere Computing LLC. All rights reserved.<BR>
> SPDX-License-Identifier: BSD-2-Clause-Patent
> **/
>
> @@ -1046,6 +1047,51 @@ typedef struct {
> // Constants and Structure definitions for "Get System Interface
> Capabilities" command to follow here
> //
>
> +#define
> IPMI_GET_SYSTEM_INTERFACE_CAPABILITIES_INTERFACE_TYPE_SSIF 0x0
> +#define
> IPMI_GET_SYSTEM_INTERFACE_CAPABILITIES_INTERFACE_TYPE_KCS 0x1
> +#define
> IPMI_GET_SYSTEM_INTERFACE_CAPABILITIES_INTERFACE_TYPE_SMIC 0x2
> +
> +typedef union {
> + struct {
> + UINT8 InterfaceType : 4;
> + UINT8 Reserved : 4;
> + } Bits;
> + UINT8 Uint8;
> +} IPMI_GET_SYSTEM_INTERFACE_CAPABILITIES_REQUEST;
> +
> +typedef union {
> + struct {
> + UINT8 Version : 3;
> + UINT8 PecSupport : 1;
> + UINT8 Reserved : 2;
> + UINT8 TransactionSupport : 2;
> + } Bits;
> + UINT8 Uint8;
> +} IPMI_SYSTEM_INTERFACE_SSIF_CAPABILITIES;
> +
> +typedef union {
> + struct {
> + UINT8 SystemInterfaceVersion : 3;
> + UINT8 Reserved : 5;
> + } Bits;
> + UINT8 Uint8;
> +} IPMI_SYSTEM_INTERFACE_KCS_SMIC_CAPABILITIES;
> +
> +typedef struct {
> + UINT8 CompletionCode;
> + UINT8 Reserved;
> + IPMI_SYSTEM_INTERFACE_SSIF_CAPABILITIES InterfaceCap;
> + UINT8 InputMsgSize;
> + UINT8 OutputMsgSize;
> +} IPMI_GET_SYSTEM_INTERFACE_SSIF_CAPABILITIES_RESPONSE;
> +
> +typedef struct {
> + UINT8
> CompletionCode;
> + UINT8 Reserved;
> + IPMI_SYSTEM_INTERFACE_KCS_SMIC_CAPABILITIES InterfaceCap;
> + UINT8
> InputMaxMsgSize;
> +} IPMI_GET_SYSTEM_INTERFACE_KCS_SMIC_CAPABILITIES_RESPONSE;
> +
> //
> // Definitions for Get System Interface Capabilities command SSIF
> transaction support
> //
> --
> 2.40.0
>
>
>
>
>
next prev parent reply other threads:[~2023-05-04 8:07 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-03 11:24 [PATCH v3 0/3] Add IPMI SSIF definitions Tinh Nguyen
2023-05-03 11:24 ` [PATCH v3 1/3] MdePkg/IndustryStandard: Add definitions for IPMI SSIF Tinh Nguyen
2023-05-03 11:24 ` [PATCH v3 2/3] MdePkg: Add new PCDs " Tinh Nguyen
2023-05-03 11:24 ` [PATCH v3 3/3] MdePkg/IndustryStandard: Add Interface Capabilities definitions Tinh Nguyen
2023-05-04 8:06 ` gaoliming [this message]
2023-05-07 9:34 ` 回复: [ ** SPAMMAIL ** ][edk2-devel] " Tinh Nguyen
2023-05-03 12:41 ` [PATCH v3 0/3] Add IPMI SSIF definitions Chang, Abner
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='034401d97e5f$50e8d790$f2ba86b0$@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