public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Nate DeSimone" <nathaniel.l.desimone@intel.com>
To: "KARPAGAVINAYAGAM, MANICKAVASAKAM" <manickavasakamk@ami.com>,
	"devel@edk2.groups.io" <devel@edk2.groups.io>
Cc: "Oram, Isaac W" <isaac.w.oram@intel.com>,
	"Felixp@ami.com" <Felixp@ami.com>,
	"DOPPALAPUDI, HARIKRISHNA" <harikrishnad@ami.com>,
	"Jha, Manish" <manishj@ami.com>,
	"Bobroff, Zachary" <zacharyb@ami.com>,
	"KARPAGAVINAYAGAM, MANICKAVASAKAM" <manickavasakamk@ami.com>
Subject: Re: [edk2-platforms][PATCH 0/2] Support for TiogaPass Platform and Override generic PciBus Driver with
Date: Tue, 15 Jun 2021 21:40:42 +0000	[thread overview]
Message-ID: <MWHPR1101MB216083FC565C2B7B64CEF9E8CD309@MWHPR1101MB2160.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20210610234934.7531-1-manickavasakamk@ami.com>

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@ami.com> 
Sent: Thursday, June 10, 2021 4:50 PM
To: devel@edk2.groups.io
Cc: Oram, Isaac W <isaac.w.oram@intel.com>; Desimone, Nathaniel L <nathaniel.l.desimone@intel.com>; Felixp@ami.com; DOPPALAPUDI, HARIKRISHNA <harikrishnad@ami.com>; Jha, Manish <manishj@ami.com>; Bobroff, Zachary <zacharyb@ami.com>; KARPAGAVINAYAGAM, MANICKAVASAKAM <manickavasakamk@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.

       reply	other threads:[~2021-06-15 21:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20210610234934.7531-1-manickavasakamk@ami.com>
2021-06-15 21:40 ` Nate DeSimone [this message]
     [not found] ` <1688DF5AC723B2D8.32549@groups.io>
2021-06-15 21:45   ` [edk2-devel] [edk2-platforms][PATCH 0/2] Support for TiogaPass Platform and Override generic PciBus Driver with Nate DeSimone
     [not found]   ` <1688DF97A894D7DB.32549@groups.io>
2021-06-15 22:33     ` Nate DeSimone
2021-06-16 21:56       ` [EXTERNAL] " manickavasakam karpagavinayagam

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=MWHPR1101MB216083FC565C2B7B64CEF9E8CD309@MWHPR1101MB2160.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