From: "Chang, Abner" <abner.chang@amd.com>
To: Tinh Nguyen <tinhnguyen@os.amperecomputing.com>,
"devel@edk2.groups.io" <devel@edk2.groups.io>
Cc: "patches@amperecomputing.com" <patches@amperecomputing.com>,
"michael.d.kinney@intel.com" <michael.d.kinney@intel.com>,
"gaoliming@byosoft.com.cn" <gaoliming@byosoft.com.cn>,
"zhiguang.liu@intel.com" <zhiguang.liu@intel.com>
Subject: Re: [PATCH v2 2/3] MdePkg: Add new PCDs for IPMI SSIF
Date: Wed, 3 May 2023 01:13:05 +0000 [thread overview]
Message-ID: <MN2PR12MB396641F1722F3230A7A46DC3EA6C9@MN2PR12MB3966.namprd12.prod.outlook.com> (raw)
In-Reply-To: <20230502174926.2016955-1-tinhnguyen@os.amperecomputing.com>
[AMD Official Use Only - General]
Acked-by: Abner Chang <Abner.Chang@amd.com>
> -----Original Message-----
> From: Tinh Nguyen <tinhnguyen@os.amperecomputing.com>
> Sent: Wednesday, May 3, 2023 1:49 AM
> To: devel@edk2.groups.io
> Cc: patches@amperecomputing.com; michael.d.kinney@intel.com;
> gaoliming@byosoft.com.cn; zhiguang.liu@intel.com; Chang, Abner
> <Abner.Chang@amd.com>; Tinh Nguyen
> <tinhnguyen@os.amperecomputing.com>
> Subject: [PATCH v2 2/3] MdePkg: Add new PCDs for IPMI SSIF
>
> Caution: This message originated from an External Source. Use proper
> caution when opening attachments, clicking links, or responding.
>
>
> This change adds new PCDs for IPMI SSIF.
>
> Specification reference:
> https://www.intel.com/content/www/us/en/products/docs/servers/ipmi/i
> pmi-second-gen-interface-spec-v2-rev1-1.html
>
> Signed-off-by: Tinh Nguyen <tinhnguyen@os.amperecomputing.com>
> ---
> MdePkg/MdePkg.dec | 26 ++++++++++++++++++++
> 1 file changed, 26 insertions(+)
>
> diff --git a/MdePkg/MdePkg.dec b/MdePkg/MdePkg.dec index
> 7488ccda7a00..b840092382cb 100644
> --- a/MdePkg/MdePkg.dec
> +++ b/MdePkg/MdePkg.dec
> @@ -10,6 +10,7 @@
> # Copyright (c) 2022, Loongson Technology Corporation Limited. All rights
> reserved.<BR> # Copyright (c) 2021 - 2022, Arm Limited. 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 # @@ -2353,6 +2354,31 @@
> [PcdsFixedAtBuild,PcdsPatchableInModule]
> # @Prompt IPMI KCS Interface I/O Base Address
>
> gEfiMdePkgTokenSpaceGuid.PcdIpmiKcsIoBaseAddress|0xca2|UINT16|0x00
> 000031
>
> + ## This is SMBus slave address for the SSIF to the BMC.
> + # The recommended value defined by IPMI specification is 0x20 (section
> 12.12).
> + # @Prompt IPMI SSIF SMBus slave address
> +
> +
> gEfiMdePkgTokenSpaceGuid.PcdIpmiSsifSmbusSlaveAddr|0x20|UINT8|0x00
> 0000
> + 32
> +
> + ## This is the maximum number of IPMI SSIF request retries.
> + # The IPMI specification specified min value is 5 (section 12.17).
> + # @Prompt Number of IPMI SSIF request retries.
> +
> +
> gEfiMdePkgTokenSpaceGuid.PcdIpmiSsifRequestRetryCount|0x05|UINT8|0
> x000
> + 00033
> +
> + ## This is the required interval for each IPMI request retry.
> + # The IPMI specification specified a time range of 60ms to 250ms (section
> 12.17).
> + # The default setting is min.
> + # @Prompt Time between IPMI SSIF request retries.
> +
> +
> gEfiMdePkgTokenSpaceGuid.PcdIpmiSsifRequestRetryIntervalMicrosecond|
> 60
> + 000|UINT32|0x00000034
> +
> + ## This value is the maximum retries of an IPMI SSIF response #
> + @Prompt Number of IPMI SSIF response retries.
> +
> +
> gEfiMdePkgTokenSpaceGuid.PcdIpmiSsifResponseRetryCount|250|UINT8|0
> x000
> + 00035
> +
> + ## This is the required interval for each IPMI response retry.
> + # The IPMI specification specified min value is 60ms (section 12.17).
> + # @Prompt Time-out for a response, internal
> +
> +
> gEfiMdePkgTokenSpaceGuid.PcdIpmiSsifResponseRetryIntervalMicrosecond
> |6
> + 0000|UINT32|0x00000036
> +
> [PcdsFixedAtBuild, PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx]
> ## This value is used to set the base address of PCI express hierarchy.
> # @Prompt PCI Express Base Address.
> --
> 2.40.0
next prev parent reply other threads:[~2023-05-03 1:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-02 17:49 [PATCH v2 2/3] MdePkg: Add new PCDs for IPMI SSIF Tinh Nguyen
2023-05-02 17:49 ` [PATCH v2 3/3] MdePkg/IndustryStandard: Add Interface Capabilities definitions Tinh Nguyen
2023-05-03 1:13 ` Chang, Abner [this message]
2023-05-03 1:23 ` [PATCH v2 2/3] MdePkg: Add new PCDs for IPMI SSIF 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=MN2PR12MB396641F1722F3230A7A46DC3EA6C9@MN2PR12MB3966.namprd12.prod.outlook.com \
--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