public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Michael D Kinney" <michael.d.kinney@intel.com>
To: Leif Lindholm <leif@nuviainc.com>,
	"Kinney, Michael D" <michael.d.kinney@intel.com>
Cc: Rebecca Cran <rebecca@nuviainc.com>,
	"devel@edk2.groups.io" <devel@edk2.groups.io>,
	"Chaganty, Rangasai V" <rangasai.v.chaganty@intel.com>,
	Liming Gao <gaoliming@byosoft.com.cn>,
	"Steele, Kelly" <kelly.steele@intel.com>,
	"Agyeman, Prince" <prince.agyeman@intel.com>,
	"Sun, Zailiang" <zailiang.sun@intel.com>,
	"Qian, Yi" <yi.qian@intel.com>,
	Ard Biesheuvel <ardb+tianocore@kernel.org>,
	"Wenyi Xie" <xiewenyi2@huawei.com>,
	"Chiu, Chasel" <chasel.chiu@intel.com>,
	"Ni, Ray" <ray.ni@intel.com>, Abner Chang <abner.chang@hpe.com>,
	Daniel Schaefer <daniel.schaefer@hpe.com>,
	Gilbert Chen <gilbert.chen@hpe.com>,
	"Thomas Abraham" <thomas.abraham@arm.com>,
	Pete Batard <pete@akeo.ie>, Marcin Wojtas <mw@semihalf.com>
Subject: Re: [edk2-platforms PATCH 0/1] Update SMBIOS includes to use capitalization 'Smbios.h' vs 'SmBios.h'
Date: Mon, 11 Jan 2021 22:28:19 +0000	[thread overview]
Message-ID: <BL0PR11MB32362DA9B2171AE60341F6EDD2AB0@BL0PR11MB3236.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20210111114753.GN1664@vanye>

Leif,

I would like to see this proposed filename case change split out.

I am ok with functional changes to follow the SMBIOS Spec.

I am also ok if the SMBIOS Spec decided to make a non-backwards
compatible change and we have to follow the change.

I am also ok if a mistake is made in the translation of 
SMBIOS spec content to EDK II .h files.  We need to fix
those.

The filename case change does not fit into any of the
above that are required to follow specs required for
FW functionality.  Changing the case or name of any
file path in the tree is not related to FW functionality
and needs to be discussed and reviewed on its own.

Since this is about consistence with other usage of the
name "Smbios" or "SmBios" or "SMBios" or "SMBIOS" in
the source code, we need to discuss all the options to
make them consist and then understand what the impact is
to make them consistent.  For example, we could discuss
changing the Protocol/Guid file name instead of the 
IndustryStandard filename.  Or just leaving it alone.

I do not want to see progress slowed on functional
changes for this one.  Please enter a BZ for the filename
inconsistency issue so the issue is not lost and progress
on FW functionality changes can continue.

Thanks,

Mike


> -----Original Message-----
> From: Leif Lindholm <leif@nuviainc.com>
> Sent: Monday, January 11, 2021 3:48 AM
> To: Kinney, Michael D <michael.d.kinney@intel.com>
> Cc: Rebecca Cran <rebecca@nuviainc.com>; devel@edk2.groups.io; Chaganty, Rangasai V <rangasai.v.chaganty@intel.com>;
> Liming Gao <gaoliming@byosoft.com.cn>; Steele, Kelly <kelly.steele@intel.com>; Agyeman, Prince <prince.agyeman@intel.com>;
> Sun, Zailiang <zailiang.sun@intel.com>; Qian, Yi <yi.qian@intel.com>; Ard Biesheuvel <ardb+tianocore@kernel.org>; Wenyi
> Xie <xiewenyi2@huawei.com>; Chiu, Chasel <chasel.chiu@intel.com>; Ni, Ray <ray.ni@intel.com>; Abner Chang
> <abner.chang@hpe.com>; Daniel Schaefer <daniel.schaefer@hpe.com>; Gilbert Chen <gilbert.chen@hpe.com>; Thomas Abraham
> <thomas.abraham@arm.com>; Pete Batard <pete@akeo.ie>; Marcin Wojtas <mw@semihalf.com>
> Subject: Re: [edk2-platforms PATCH 0/1] Update SMBIOS includes to use capitalization 'Smbios.h' vs 'SmBios.h'
> 
> On Mon, Jan 11, 2021 at 04:42:49 +0000, Kinney, Michael D wrote:
> > Hi Rebecca,
> >
> > Where is the review of the change to rename SmBios.h to Smbios.h in MdePkg?
> >
> > I do not think that change is a good idea because it would impact
> > every downstream platform that produces SMBIOS records.
> 
> If those platforms are tracking master, this sort of thing should be
> expected.
> 
> If they are jumping between stable tags, they are likely to have more
> things than this to worry about on each rebase.
> 
> If they are "randomly" cherry-picking patches, they will already be
> used to fixing up much worse things like this.
> 
> Not to mention that platforms that build only on Windows and Os X are
> unlikely to even notice due to case insensitive filesystems. And in my
> experience, if they ever move to build on a case-sensitive filesystem,
> they will as a result find many other case typos to fix.
> 
> As Sean said:
> "If a platform dev model can't handle this type of breaking change
> then this project is paralyzed and bigger things should be addressed."
> 
> /
>     Leif
> 
> >
> > Mike
> >
> > > -----Original Message-----
> > > From: Rebecca Cran <rebecca@nuviainc.com>
> > > Sent: Sunday, January 10, 2021 7:31 PM
> > > To: devel@edk2.groups.io
> > > Cc: Rebecca Cran <rebecca@nuviainc.com>; Chaganty, Rangasai V <rangasai.v.chaganty@intel.com>; Liming Gao
> > > <gaoliming@byosoft.com.cn>; Kinney, Michael D <michael.d.kinney@intel.com>; Steele, Kelly <kelly.steele@intel.com>;
> > > Agyeman, Prince <prince.agyeman@intel.com>; Sun, Zailiang <zailiang.sun@intel.com>; Qian, Yi <yi.qian@intel.com>; Leif
> > > Lindholm <leif@nuviainc.com>; Ard Biesheuvel <ardb+tianocore@kernel.org>; Wenyi Xie <xiewenyi2@huawei.com>; Chiu,
> Chasel
> > > <chasel.chiu@intel.com>; Ni, Ray <ray.ni@intel.com>; Abner Chang <abner.chang@hpe.com>; Daniel Schaefer
> > > <daniel.schaefer@hpe.com>; Gilbert Chen <gilbert.chen@hpe.com>; Thomas Abraham <thomas.abraham@arm.com>; Pete Batard
> > > <pete@akeo.ie>; Marcin Wojtas <mw@semihalf.com>
> > > Subject: [edk2-platforms PATCH 0/1] Update SMBIOS includes to use capitalization 'Smbios.h' vs 'SmBios.h'
> > >
> > > Update SMBIOS includes to use capitalization 'Smbios.h' vs 'SmBios.h'
> > >
> > > This patch depends on the corresponding edk2 change with subject
> > > "Various packages: rename SmBios.h to Smbios.h in MdePkg and update references through edk2 tree".
> > >
> > > Rebecca Cran (1):
> > >   Update SMBIOS includes to use capitalization 'Smbios.h' vs 'SmBios.h'
> > >
> > >  Features/Intel/SystemInformation/SmbiosFeaturePkg/SmbiosFeaturePkg.dec               | 10 +++++-----
> > >  Features/Intel/SystemInformation/SmbiosFeaturePkg/SmbiosBasicDxe/SmbiosBasic.h       |  2 +-
> > >  Platform/Intel/QuarkPlatformPkg/Platform/Dxe/MemorySubClass/MemorySubClass.h         |  2 +-
> > >  Platform/Intel/QuarkPlatformPkg/Platform/Dxe/SmbiosMiscDxe/CommonHeader.h            |  2 +-
> > >  Platform/Intel/SimicsOpenBoardPkg/Library/BoardBdsHookLib/BoardBdsHook.h             |  4 ++--
> > >  Platform/Intel/SimicsOpenBoardPkg/Library/PlatformBootManagerLib/BdsPlatform.h       |  4 ++--
> > >  Platform/Intel/SimicsOpenBoardPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.h              |  2 +-
> > >  Platform/Intel/Vlv2TbltDevicePkg/SmBiosMiscDxe/CommonHeader.h                        |  2 +-
> > >  Silicon/Hisilicon/Drivers/Smbios/AddSmbiosType9/AddSmbiosType9.h                     |  2 +-
> > >  Silicon/Hisilicon/Drivers/Smbios/MemorySubClassDxe/MemorySubClass.h                  |  2 +-
> > >  Silicon/Hisilicon/Drivers/Smbios/ProcessorSubClassDxe/ProcessorSubClass.h            |  2 +-
> > >  Silicon/Hisilicon/Drivers/Smbios/SmbiosMiscDxe/SmbiosMisc.h                          |  2 +-
> > >  Silicon/Intel/CoffeelakeSiliconPkg/Cpu/Library/PeiCpuPolicyLib/PeiCpuPolicyLibrary.h |  2 +-
> > >  Silicon/Intel/IntelSiliconPkg/Include/IndustryStandard/FirmwareVersionInfo.h         |  2 +-
> > >  Silicon/Intel/KabylakeSiliconPkg/Cpu/Library/PeiCpuPolicyLib/PeiCpuPolicyLibrary.h   |  2 +-
> > >  Silicon/RISC-V/ProcessorPkg/Include/ProcessorSpecificHobData.h                       |  2 +-
> > >  Silicon/RISC-V/ProcessorPkg/Include/SmbiosProcessorSpecificData.h                    |  2 +-
> > >  Platform/ARM/JunoPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.c                           |  2 +-
> > >  Platform/Hisilicon/D03/Library/OemMiscLib2P/BoardFeature2PHi1610.c                   |  2 +-
> > >  Platform/Hisilicon/D05/Library/OemMiscLibD05/BoardFeatureD05.c                       |  2 +-
> > >  Platform/Hisilicon/D06/Library/OemMiscLibD06/BoardFeatureD06.c                       |  2 +-
> > >  Platform/Intel/Vlv2TbltDevicePkg/PlatformSetupDxe/SetupInfoRecords.c                 |  2 +-
> > >  Platform/RaspberryPi/Drivers/PlatformSmbiosDxe/PlatformSmbiosDxe.c                   |  4 ++--
> > >  Platform/Socionext/DeveloperBox/SmbiosPlatformDxe/SmbiosPlatformDxe.c                |  2 +-
> > >  Silicon/AMD/Styx/Drivers/PlatformSmbiosDxe/PlatformSmbiosDxe.c                       |  4 ++--
> > >  Silicon/Intel/IntelSiliconPkg/Library/DxeSmbiosDataHobLib/DxeSmbiosDataHobLib.c      |  2 +-
> > >  Silicon/Marvell/Drivers/SmbiosPlatformDxe/SmbiosPlatformDxe.c                        |  2 +-
> > >  27 files changed, 35 insertions(+), 35 deletions(-)
> > >
> > > --
> > > 2.26.2
> >

  reply	other threads:[~2021-01-11 22:28 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-11  3:31 [edk2-platforms PATCH 0/1] Update SMBIOS includes to use capitalization 'Smbios.h' vs 'SmBios.h' Rebecca Cran
2021-01-11  3:31 ` [edk2-platforms PATCH 1/1] " Rebecca Cran
2021-01-11  3:37   ` Abner Chang
2021-01-11 12:35   ` Pete Batard
2021-01-11  4:42 ` [edk2-platforms PATCH 0/1] " Michael D Kinney
2021-01-11  5:11   ` 回复: [edk2-devel] " gaoliming
2021-01-11  6:02   ` Rebecca Cran
2021-01-11 11:47   ` Leif Lindholm
2021-01-11 22:28     ` Michael D Kinney [this message]
2021-01-12 18:35       ` Leif Lindholm

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=BL0PR11MB32362DA9B2171AE60341F6EDD2AB0@BL0PR11MB3236.namprd11.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