[edk2-devel] [edk2-platforms][PATCH 0/2] Support for TiogaPass Platform and Override generic PciBus Driver with

Nate DeSimone nathaniel.l.desimone at intel.com
Tue Jun 15 21:40:42 UTC 2021


Hi Manic,

I looked over all of your changes. The code itself looks good. However, there is an issue with the copyright headers that you have placed on the top of many of the files included here. It appears that you added the following:

/** @file

Copyright (c) 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent

**/

//***********************************************************************
//*                                                                     *
//*   Copyright (c) 1985 - 2021, American Megatrends International LLC. *
//*                                                                     *
//*      All rights reserved.                                           *
//*                                                                     *
//*      SPDX-License-Identifier: BSD-2-Clause-Patent                   *
//*                                                                     *
//***********************************************************************

Note that the SPDX spec requires that there be only one copyright and license statement per file. The correct way to add your new attribution would be the following:

/** @file

Copyright (c) 2018, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2021, American Megatrends International LLC.
SPDX-License-Identifier: BSD-2-Clause-Patent

**/

There are also several files where you modified the file but did not add the new copyright notice. For example AmlOffsetTable.c, BoardAcpiDxeDsdt.c do not have the new copyright added. Please correct this and send a new patch series.

Thanks,
Nate

-----Original Message-----
From: manickavasakam karpagavinayagam <manickavasakamk at ami.com> 
Sent: Thursday, June 10, 2021 4:50 PM
To: devel at edk2.groups.io
Cc: Oram, Isaac W <isaac.w.oram at intel.com>; Desimone, Nathaniel L <nathaniel.l.desimone at intel.com>; Felixp at ami.com; DOPPALAPUDI, HARIKRISHNA <harikrishnad at ami.com>; Jha, Manish <manishj at ami.com>; Bobroff, Zachary <zacharyb at ami.com>; KARPAGAVINAYAGAM, MANICKAVASAKAM <manickavasakamk at ami.com>
Subject: [edk2-platforms][PATCH 0/2] Support for TiogaPass Platform and Override generic PciBus Driver with

Add BoardTiogaPass packages to support TiogaPass Platform Overriden generic PciBus Driver with Platform specific instance of PciBus driver To skip SPI controller initialization during PCI enumeration to avoid SET variable assert issue during POST To skip executing a specific MLX card UEFI OPROM


manickavasakam karpagavinayagam (2):
  PurleyOpenBoardPkg : Support for TiogaPass Platform
  PurleyOpenBoardPkg : Override generic PciBus Driver with Platform
    specific instance of PciBus driver.

 .../Acpi/BoardAcpiDxe/AmlOffsetTable.c        |  452 +-
 .../Acpi/BoardAcpiDxe/BoardAcpiDxeDsdt.c      |    2 +
 .../BoardTiogaPass/CoreDxeInclude.dsc         |  168 +
 .../BoardTiogaPass/CoreUefiBootInclude.fdf    |   82 +
 .../BoardTiogaPass/GitEdk2MinTiogaPass.bat    |  102 +
 .../BasePlatformHookLib/BasePlatformHookLib.c |  397 ++
 .../BasePlatformHookLib.inf                   |   46 +
 .../BoardAcpiLib/DxeBoardAcpiTableLib.c       |   45 +
 .../BoardAcpiLib/DxeBoardAcpiTableLib.inf     |   50 +
 .../BoardAcpiLib/DxeTiogaPassAcpiTableLib.c   |   62 +
 .../BoardAcpiLib/SmmBoardAcpiEnableLib.c      |   71 +
 .../BoardAcpiLib/SmmBoardAcpiEnableLib.inf    |   51 +
 .../BoardAcpiLib/SmmSiliconAcpiEnableLib.c    |  129 +
 .../BoardAcpiLib/SmmTiogaPassAcpiEnableLib.c  |   46 +
 .../Library/BoardInitLib/AllLanesEparam.c     |   53 +
 .../Library/BoardInitLib/GpioTable.c          |  305 +
 .../Library/BoardInitLib/IioBifur.c           |   79 +
 .../BoardInitLib/PeiBoardInitPostMemLib.c     |   55 +
 .../BoardInitLib/PeiBoardInitPostMemLib.inf   |   47 +
 .../BoardInitLib/PeiBoardInitPreMemLib.c      |  121 +
 .../BoardInitLib/PeiBoardInitPreMemLib.inf    |   79 +
 .../Library/BoardInitLib/PeiTiogaPassDetect.c |   37 +
 .../BoardInitLib/PeiTiogaPassInitLib.h        |   27 +
 .../BoardInitLib/PeiTiogaPassInitPostMemLib.c |   95 +
 .../BoardInitLib/PeiTiogaPassInitPreMemLib.c  |  647 ++
 .../Library/BoardInitLib/UsbOC.c              |   55 +
 .../Library/PeiReportFvLib/PeiReportFvLib.c   |  147 +
 .../Library/PeiReportFvLib/PeiReportFvLib.inf |   60 +
 .../BoardTiogaPass/OpRoms/uefi_2500_800.efi   |  Bin 0 -> 36928 bytes
 .../BoardTiogaPass/OpenBoardPkg.dsc           |  255 +
 .../BoardTiogaPass/OpenBoardPkg.fdf           |  610 ++
 .../BoardTiogaPass/PlatformPkgBuildOption.dsc |   94 +
 .../BoardTiogaPass/PlatformPkgConfig.dsc      |   68 +
 .../BoardTiogaPass/PlatformPkgPcd.dsc         |  402 ++
 .../BoardTiogaPass/StructureConfig.dsc        | 6246 +++++++++++++++++
 .../BoardTiogaPass/__init__.py                |    0
 .../PurleyOpenBoardPkg/BoardTiogaPass/bld.bat |  148 +
 .../BoardTiogaPass/build_board.py             |  204 +
 .../BoardTiogaPass/build_config.cfg           |   42 +
 .../BoardTiogaPass/logo.txt                   |   10 +
 .../BoardTiogaPass/postbuild.bat              |  105 +
 .../BoardTiogaPass/prebuild.bat               |  221 +
 .../Ipmi/Library/IpmiLibKcs/IpmiLibKcs.inf    |    6 +-
 .../IpmiPlatformHookLib.inf                   |    2 +-
 .../Include/Guid/PchRcVariable.h              |    5 +
 .../Include/Guid/SetupVariable.h              |   14 +-
 .../Bus/Pci/PciBusDxe/ComponentName.c         |  170 +
 .../Bus/Pci/PciBusDxe/ComponentName.h         |  146 +
 .../MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.c   |  460 ++
 .../MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h   |  396 ++
 .../Bus/Pci/PciBusDxe/PciBusDxe.inf           |  112 +
 .../Bus/Pci/PciBusDxe/PciBusDxe.uni           |   16 +
 .../Bus/Pci/PciBusDxe/PciBusDxeExtra.uni      |   14 +
 .../Bus/Pci/PciBusDxe/PciCommand.c            |  267 +
 .../Bus/Pci/PciBusDxe/PciCommand.h            |  232 +
 .../Bus/Pci/PciBusDxe/PciDeviceSupport.c      | 1056 +++
 .../Bus/Pci/PciBusDxe/PciDeviceSupport.h      |  266 +
 .../Bus/Pci/PciBusDxe/PciDriverOverride.c     |  188 +
 .../Bus/Pci/PciBusDxe/PciDriverOverride.h     |   83 +
 .../Bus/Pci/PciBusDxe/PciEnumerator.c         | 2210 ++++++
 .../Bus/Pci/PciBusDxe/PciEnumerator.h         |  515 ++
 .../Bus/Pci/PciBusDxe/PciEnumeratorSupport.c  | 2884 ++++++++  .../Bus/Pci/PciBusDxe/PciEnumeratorSupport.h  |  480 ++
 .../Bus/Pci/PciBusDxe/PciHotPlugSupport.c     |  484 ++
 .../Bus/Pci/PciBusDxe/PciHotPlugSupport.h     |  205 +
 .../MdeModulePkg/Bus/Pci/PciBusDxe/PciIo.c    | 2087 ++++++
 .../MdeModulePkg/Bus/Pci/PciBusDxe/PciIo.h    |  660 ++
 .../MdeModulePkg/Bus/Pci/PciBusDxe/PciLib.c   | 1809 +++++
 .../MdeModulePkg/Bus/Pci/PciBusDxe/PciLib.h   |  179 +
 .../Bus/Pci/PciBusDxe/PciOptionRomSupport.c   |  775 ++
 .../Bus/Pci/PciBusDxe/PciOptionRomSupport.h   |  136 +
 .../Bus/Pci/PciBusDxe/PciPowerManagement.c    |   82 +
 .../Bus/Pci/PciBusDxe/PciPowerManagement.h    |   28 +
 .../Bus/Pci/PciBusDxe/PciResourceSupport.c    | 2292 ++++++
 .../Bus/Pci/PciBusDxe/PciResourceSupport.h    |  456 ++
 .../Bus/Pci/PciBusDxe/PciRomTable.c           |  135 +
 .../Bus/Pci/PciBusDxe/PciRomTable.h           |   48 +
 Platform/Intel/build.cfg                      |    1 +
 Platform/Intel/build_bios.py                  |    2 +-
 79 files changed, 30584 insertions(+), 232 deletions(-)  create mode 100644 Platform/Intel/PurleyOpenBoardPkg/BoardTiogaPass/CoreDxeInclude.dsc
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/BoardTiogaPass/CoreUefiBootInclude.fdf
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/BoardTiogaPass/GitEdk2MinTiogaPass.bat
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/BoardTiogaPass/Library/BasePlatformHookLib/BasePlatformHookLib.c
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/BoardTiogaPass/Library/BasePlatformHookLib/BasePlatformHookLib.inf
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/BoardTiogaPass/Library/BoardAcpiLib/DxeBoardAcpiTableLib.c
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/BoardTiogaPass/Library/BoardAcpiLib/DxeBoardAcpiTableLib.inf
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/BoardTiogaPass/Library/BoardAcpiLib/DxeTiogaPassAcpiTableLib.c
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/BoardTiogaPass/Library/BoardAcpiLib/SmmBoardAcpiEnableLib.c
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/BoardTiogaPass/Library/BoardAcpiLib/SmmBoardAcpiEnableLib.inf
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/BoardTiogaPass/Library/BoardAcpiLib/SmmSiliconAcpiEnableLib.c
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/BoardTiogaPass/Library/BoardAcpiLib/SmmTiogaPassAcpiEnableLib.c
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/BoardTiogaPass/Library/BoardInitLib/AllLanesEparam.c
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/BoardTiogaPass/Library/BoardInitLib/GpioTable.c
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/BoardTiogaPass/Library/BoardInitLib/IioBifur.c
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/BoardTiogaPass/Library/BoardInitLib/PeiBoardInitPostMemLib.c
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/BoardTiogaPass/Library/BoardInitLib/PeiBoardInitPostMemLib.inf
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/BoardTiogaPass/Library/BoardInitLib/PeiBoardInitPreMemLib.c
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/BoardTiogaPass/Library/BoardInitLib/PeiBoardInitPreMemLib.inf
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/BoardTiogaPass/Library/BoardInitLib/PeiTiogaPassDetect.c
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/BoardTiogaPass/Library/BoardInitLib/PeiTiogaPassInitLib.h
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/BoardTiogaPass/Library/BoardInitLib/PeiTiogaPassInitPostMemLib.c
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/BoardTiogaPass/Library/BoardInitLib/PeiTiogaPassInitPreMemLib.c
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/BoardTiogaPass/Library/BoardInitLib/UsbOC.c
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/BoardTiogaPass/Library/PeiReportFvLib/PeiReportFvLib.c
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/BoardTiogaPass/Library/PeiReportFvLib/PeiReportFvLib.inf
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/BoardTiogaPass/OpRoms/uefi_2500_800.efi
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/BoardTiogaPass/OpenBoardPkg.dsc
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/BoardTiogaPass/OpenBoardPkg.fdf
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/BoardTiogaPass/PlatformPkgBuildOption.dsc
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/BoardTiogaPass/PlatformPkgConfig.dsc
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/BoardTiogaPass/PlatformPkgPcd.dsc
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/BoardTiogaPass/StructureConfig.dsc
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/BoardTiogaPass/__init__.py
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/BoardTiogaPass/bld.bat
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/BoardTiogaPass/build_board.py
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/BoardTiogaPass/build_config.cfg
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/BoardTiogaPass/logo.txt
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/BoardTiogaPass/postbuild.bat
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/BoardTiogaPass/prebuild.bat
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/Override/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/ComponentName.c
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/Override/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/ComponentName.h
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/Override/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.c
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/Override/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/Override/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/Override/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.uni
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/Override/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxeExtra.uni
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/Override/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/PciCommand.c
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/Override/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/PciCommand.h
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/Override/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/PciDeviceSupport.c
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/Override/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/PciDeviceSupport.h
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/Override/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/PciDriverOverride.c
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/Override/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/PciDriverOverride.h
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/Override/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumerator.c
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/Override/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumerator.h
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/Override/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/Override/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.h
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/Override/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/PciHotPlugSupport.c
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/Override/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/PciHotPlugSupport.h
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/Override/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/PciIo.c
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/Override/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/PciIo.h
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/Override/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/PciLib.c
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/Override/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/PciLib.h
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/Override/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/PciOptionRomSupport.c
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/Override/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/PciOptionRomSupport.h
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/Override/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/PciPowerManagement.c
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/Override/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/PciPowerManagement.h
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/Override/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/PciResourceSupport.c
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/Override/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/PciResourceSupport.h
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/Override/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/PciRomTable.c
 create mode 100644 Platform/Intel/PurleyOpenBoardPkg/Override/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/PciRomTable.h

--
2.25.0.windows.1


Please consider the environment before printing this email.

The information contained in this message may be confidential and proprietary to American Megatrends (AMI).  This communication is intended to be read only by the individual or entity to whom it is addressed or by their designee. If the reader of this message is not the intended recipient, you are on notice that any distribution of this message, in any form, is strictly prohibited.  Please promptly notify the sender by reply e-mail or by telephone at 770-246-8600, and then delete or destroy all copies of the transmission.


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#76561): https://edk2.groups.io/g/devel/message/76561
Mute This Topic: https://groups.io/mt/83567317/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-






More information about the edk2-devel-archive mailing list