From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (NAM11-DM6-obe.outbound.protection.outlook.com [40.107.223.139]) by mx.groups.io with SMTP id smtpd.web11.11794.1682654586228171409 for ; Thu, 27 Apr 2023 21:03:06 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@os.amperecomputing.com header.s=selector2 header.b=RVH+DY/C; spf=pass (domain: os.amperecomputing.com, ip: 40.107.223.139, mailfrom: tinhnguyen@os.amperecomputing.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=L397p8/nH5x4Ud6hbPTR9ANSK6lm6nTxj1E/7g91OATiFjHZYvm4KdAmEh8mzcksvgg1Z5BcFawt5POBqsGqIGUpHTxNkjrDKDjLp/gX707AD4GQw5ox+EA7iiE5wwzE0qCY2QtEXnDNDpkGZ5aHXr9+dg9k5BICb+QqBdxe+UgXyO1xQ7GlLfDsNebusXpfpgAVidXQoo5lK4dSmg23EzT65mOkpE8dfuiegYymddTV7JfkXO41Bm904oeAvX4o6+DB+zNyT6C8U6+X1PiCWRvy8oqNm0bxSdSuHHltahX9zpvJDcpDwjxectH/U4hPI0D8GMMaYw7NgS7N5z6J5A== 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=o1p6dEVCKYuKbQzGQxHDlqoi2dAoC0Z96xf4LQvb24k=; b=aORfIucD4KlVIlWUWQ0v1dhI33P58aYdCbJyT3fjSle3gdjAdVaCvxp1MONBg6IYgwFWqM9T/bWi8YI6lu2wNSB8mqCKS/CG3R4j+/Oq+Ylw5hTz/+5J6f8QZnD+kiniEYEJvTLtOQtGCO4BfGz/SyWX7ep7atpsFzLTq+De+OjJo5TxDI07tSJtrT11CHb9Mm/nb0TqPvT+cOvGuRTTlm16Xe/z7j4ypIqgD+LpmsRN5geT5MHz0EHkl8gmpDGVl0oRn/ANnPlH57c4xssMw84Bd1dmUG87UQ8/05ZFgeNDc4HSV+TzJYm6Ug4Zg0JqYKbR86JIvBUjJdHpY66W2g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=os.amperecomputing.com; dmarc=pass action=none header.from=os.amperecomputing.com; dkim=pass header.d=os.amperecomputing.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=os.amperecomputing.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=o1p6dEVCKYuKbQzGQxHDlqoi2dAoC0Z96xf4LQvb24k=; b=RVH+DY/CWzCsikby05PlazfvciW7ehz7/fT93U0Ed+/cvofKmjID2bYLqe64T+jjqGm/bVjnX5iIpVa+UZtjNSVPLoMVJ4UA9s6IXQV7gPxwtZ6hWWwyeyQC6Cm1ql6LuWTIrTr46fqCdLrFkVeVwZ/8NUHzE9w7xVQHkeiPrGE= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from DM5PR0102MB3336.prod.exchangelabs.com (2603:10b6:4:9f::11) by SJ0PR01MB6223.prod.exchangelabs.com (2603:10b6:a03:2a2::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.23; Fri, 28 Apr 2023 04:03:04 +0000 Received: from DM5PR0102MB3336.prod.exchangelabs.com ([fe80::bb9e:46d1:ae4b:caf2]) by DM5PR0102MB3336.prod.exchangelabs.com ([fe80::bb9e:46d1:ae4b:caf2%7]) with mapi id 15.20.6340.020; Fri, 28 Apr 2023 04:03:03 +0000 From: "Tinh Nguyen" To: devel@edk2.groups.io CC: patches@amperecomputing.com, michael.d.kinney@intel.com, gaoliming@byosoft.com.cn, zhiguang.liu@intel.com, abner.chang@amd.com, Tinh Nguyen Subject: [PATCH 2/2] MdePkg/IndustryStandard/IpmiNetFnApp.h: Add more definitions Date: Fri, 28 Apr 2023 10:59:40 +0700 Message-ID: <20230428035940.1765700-3-tinhnguyen@os.amperecomputing.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230428035940.1765700-1-tinhnguyen@os.amperecomputing.com> References: <20230428035940.1765700-1-tinhnguyen@os.amperecomputing.com> X-ClientProxiedBy: SG2PR02CA0057.apcprd02.prod.outlook.com (2603:1096:4:54::21) To DM5PR0102MB3336.prod.exchangelabs.com (2603:10b6:4:9f::11) Return-Path: tinhnguyen@os.amperecomputing.com MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM5PR0102MB3336:EE_|SJ0PR01MB6223:EE_ X-MS-Office365-Filtering-Correlation-Id: 9e6a7398-70e6-4999-031f-08db479d76f7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: jdDUifPev5HtWzMy/DGwg22VAX1u8FftLH+wYvn2Lu6rzt5/fW1yQAfaNiE4oKY2OBPzWI3jJqSnshk0L5u4kgwlO4+gPp6BnUHvA1ii2Pxt0vqTG8PIUYMvT+s8rtWutsS/CMCW04ThuFKtMsD3HYWZ8iKljFmilqc9CKhj9VdBzG3zJbaO3fECzt2a2HsD5ZPsg5rLADPvZO2O+ZyX5Q367np11jGml7akFFvECzZWGwalIglqTK0+u4cu0Ni+HrGBGdlNyM+uMzM8gBjAeIPDZhSkH1S15anJGs0hfQc6KTj1AWOXsm4mIokf/vwGBUgODxOyublqrfHVRKzXKT9iNfxH6+aKRHfOr9ysrA5VeFBIzLXgvbxNCTdYF5ihOfSjoztA4cd62JNniosm/IJxMxD5XfCWEy8F4YPnq7kycaNfsdIBCZqod+10YxS88yIUJ1Jh96G+pqtzpmKbU1oVBeHsqU85JTn9A09vC/50k4NFXfI9gNnrM/vMS8Kc5yetmJKTNuvpZyY32wFndwiyIox/q2A7qRYFCtuk5lsC3LKJ303xuGKdJdczGsYKA3441ds6bhN97TKhx0d+qLRG/AOjz+EJNFotms9wHMlhhbCqBVEAasGc5NS4AaKc X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM5PR0102MB3336.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230028)(6029001)(4636009)(376002)(366004)(136003)(346002)(39850400004)(396003)(451199021)(86362001)(478600001)(38100700002)(83380400001)(186003)(6486002)(107886003)(6512007)(26005)(1076003)(6506007)(52116002)(2616005)(6666004)(38350700002)(316002)(8676002)(41300700001)(2906002)(8936002)(4326008)(66556008)(5660300002)(66946007)(6916009)(66476007);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?kD5UPyRcv1AJ/72XOVIrSbOa6BIbRKRhs2wUTttSn0oe18iTarLu9l0Z1WQv?= =?us-ascii?Q?K0h8NolAOYQhhIyANH8yWi4uzWKCrXxGrmdfEWardsMc8UWdYhoyxVTaNgVk?= =?us-ascii?Q?4wlrmQitXNSUPu9Sa7YREW4onVm/KIXKNgbWoswSa2T878+BqivV0N3taraG?= =?us-ascii?Q?MCAB8yv6/jcIcNx2z8VBTP3jwV6nhOQNyQ3JaEHohebW5b0XZwReki9/6O7V?= =?us-ascii?Q?RszTqZQ1GExai4skOCa6I/kDcuuvimwaNOBXOX1SjZtqPSUhLcmPS/Qatiyj?= =?us-ascii?Q?pYFsZ7oEqAcpKkrFcrm6Lwx3xQUA+C8o8DSdJoFYN29YeuqxEkjxZuk2ENU8?= =?us-ascii?Q?e9NHMSQDJl/AO/b+1Vsa2h13vPSjz2nydQnZfV5s9KSIFyPXHpSYN7azA4a5?= =?us-ascii?Q?Uwyy1q7K+/jPiGy15XyaTNTzBw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YSpM3tBtF1k8UjCs4OONmnza86LeKPsCEuf8dRCd3BF6srpx+yq9MT?= =?us-ascii?Q?nGC3wzJAtEWZQ5VKMR/2Fnsz8z555P9bCoKDe8sCpaKA3T1mt6jrmxtIoOD8?= =?us-ascii?Q?h78iZb2JDH8NDoCX1tDK1ty3P1nX5XXialIKEuvJBGYIeGD+S4rfW8zalRgI?= =?us-ascii?Q?dUca1i8DUVBrgnV/AWFkUK4gfAOorWzAtoD6vAPsDo/64pum5I3zmOD/ty6C?= =?us-ascii?Q?KFlP0OMBkI3+NR6+Df3Bo9Eya8e1HRiPTO3jhofmxnWoQON27wbWwwnxze5G?= =?us-ascii?Q?T2SfJfTxIzzY0YBl/kQ20b+guvoTf0sFqXL85riEoNZT?= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9e6a7398-70e6-4999-031f-08db479d76f7 X-MS-Exchange-CrossTenant-AuthSource: DM5PR0102MB3336.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Apr 2023 04:03:03.6464 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3bc2b170-fd94-476d-b0ce-4229bdc904a7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: vIggfz6Ha2odG7EdBVZ+B98NsgzeKL6+ZrrIIvtrmHbqZNwL79VBYjVDx0QGgqh9CYrFCmyNmISf1cvCIR7KjoYXzyR+XVzOzeFz30/yFYZgWNYL/RLxsb6je8sREZd7 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR01MB6223 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain This adds more definitions for the IPMI Get System Interface Capabilities command. Signed-off-by: Tinh Nguyen --- MdePkg/Include/IndustryStandard/IpmiNetFnApp.h | 31 ++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/MdePkg/Include/IndustryStandard/IpmiNetFnApp.h b/MdePkg/Includ= e/IndustryStandard/IpmiNetFnApp.h index a5835ba08c00..933303b0fa2c 100644 --- a/MdePkg/Include/IndustryStandard/IpmiNetFnApp.h +++ b/MdePkg/Include/IndustryStandard/IpmiNetFnApp.h @@ -13,6 +13,7 @@ =20 Copyright (c) 1999 - 2018, Intel Corporation. All rights reserved.
Copyright (C) 2023 Advanced Micro Devices, Inc. All rights reserved.
+ Copyright (c) 2023, Ampere Computing LLC. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent **/ =20 @@ -1046,6 +1047,36 @@ typedef struct { // Constants and Structure definitions for "Get System Interface Capabili= ties" command to follow here // =20 +#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 struct { + UINT8 CompletionCode; + UINT8 Reserved; + IPMI_SYSTEM_INTERFACE_SSIF_CAPABILITIES InterfaceCap; + UINT8 InputMsgSize; + UINT8 OutputMsgSize; +} IPMI_GET_SYSTEM_INTERFACE_SSIF_CAPABILITIES_RESPONSE; + // // Definitions for Get System Interface Capabilities command SSIF transac= tion support // --=20 2.40.0