From: "Sean" <spbrogan@outlook.com>
To: devel@edk2.groups.io, AbdulLateef.Attar@amd.com,
Liming Gao <gaoliming@byosoft.com.cn>,
Michael D Kinney <michael.d.kinney@intel.com>,
Zhiguang Liu <zhiguang.liu@intel.com>
Cc: Abner Chang <abner.chang@amd.com>,
Chris Fernald <chris.fernald@outlook.com>
Subject: Re: [edk2-devel] [PATCH RESEND v1] MdePkg: Adds a PCD to define IPMI interface type
Date: Mon, 22 Apr 2024 13:17:47 -0700 [thread overview]
Message-ID: <BY3PR19MB49003A9F9007A2FD04DFA47DC8122@BY3PR19MB4900.namprd19.prod.outlook.com> (raw)
In-Reply-To: <9196fe0b-37c5-483c-a560-982a113533d5@amd.com>
[-- Attachment #1: Type: text/plain, Size: 3288 bytes --]
This seems like a bad design to require the ipmi interface type at such
a high level in the code tree. UEFI provides plenty protocol and
library abstractions for IPMI so I would really prefer not to leak this
type of information into a PCD defined in MdePkg. Happy to discuss IPMI
support and I would really like to see edk2,
edk2-platforms/Features/ManageabilityPkg at master ·
tianocore/edk2-platforms (github.com)
<https://github.com/tianocore/edk2-platforms/tree/master/Features/ManageabilityPkg>,
microsoft/mu_feature_ipmi: Project Mu - Feature Repo- Firmware support
for IPMI (github.com) <https://github.com/microsoft/mu_feature_ipmi>,
and commercial vendors find some sort of alignment going forward as no
one wins with the mess that is in the industry now.
Thanks
Sean
On 4/22/2024 3:50 AM, Abdul Lateef Attar via groups.io wrote:
> Gentle reminder, review please.
>
> On 30-03-2024 10:52, Abdul Lateef Attar wrote:
>> Define IPMI interface type as per specification version 2.0,
>> section C1-1.1.
>>
>> Cc: Abner Chang <abner.chang@amd.com>
>> Cc: Michael D Kinney <michael.d.kinney@intel.com>
>> Cc: Liming Gao <gaoliming@byosoft.com.cn>
>> Cc: Zhiguang Liu <zhiguang.liu@intel.com>
>> Signed-off-by: Abdul Lateef Attar <AbdulLateef.Attar@amd.com>
>> ---
>> MdePkg/MdePkg.dec | 11 ++++++++++-
>> 1 file changed, 10 insertions(+), 1 deletion(-)
>>
>> diff --git a/MdePkg/MdePkg.dec b/MdePkg/MdePkg.dec
>> index 0c18e1decd..396d960dca 100644
>> --- a/MdePkg/MdePkg.dec
>> +++ b/MdePkg/MdePkg.dec
>> @@ -9,7 +9,7 @@
>> # (C) Copyright 2016 - 2021 Hewlett Packard Enterprise Development
>> LP<BR>
>> # 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 - 2024, 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
>> @@ -2401,6 +2401,15 @@
>> # @Prompt Time-out for a response, internal
>> gEfiMdePkgTokenSpaceGuid.PcdIpmiSsifResponseRetryIntervalMicrosecond|60000|UINT32|0x00000036
>> + ## Indicates IPMI Interface Type
>> + # The IPMI specification defines the following interface types:
>> (section C1-1.1)
>> + # 0 - Unknown
>> + # 1 - KCS : Keyboard Controller Style
>> + # 2 - SMIC : Server Management Interface Chip
>> + # 3 - BT : Block Transfer
>> + # 4 - SSIF : SMBus System Interface
>> + gEfiMdePkgTokenSpaceGuid.PcdIpmiInterfaceType|0|UINT8|0x00000038
>> +
>> [PcdsFixedAtBuild.AARCH64, PcdsPatchableInModule.AARCH64]
>> ## GUID identifying the Rng algorithm implemented by CPU
>> instruction.
>> # @Prompt CPU Rng algorithm's GUID.
>
>
>
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#118103): https://edk2.groups.io/g/devel/message/118103
Mute This Topic: https://groups.io/mt/105228733/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-
[-- Attachment #2: Type: text/html, Size: 5644 bytes --]
next prev parent reply other threads:[~2024-04-22 20:17 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-30 5:22 [edk2-devel] [PATCH RESEND v1] MdePkg: Adds a PCD to define IPMI interface type Abdul Lateef Attar via groups.io
2024-04-01 1:03 ` Chang, Abner via groups.io
2024-04-22 10:50 ` Abdul Lateef Attar via groups.io
2024-04-22 20:17 ` Sean [this message]
2024-04-23 1:51 ` Chang, Abner via groups.io
2024-04-23 4:47 ` Abdul Lateef Attar via groups.io
2024-04-23 6:12 ` Sean
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=BY3PR19MB49003A9F9007A2FD04DFA47DC8122@BY3PR19MB4900.namprd19.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