mbox series

[edk2,edk2-platforms,v2,00/12] Switching to generic PciHostBridge driver

Message ID 20180724063220.61679-1-ming.huang@linaro.org
Headers show
Series Switching to generic PciHostBridge driver | expand

Message

Ming Huang July 24, 2018, 6:32 a.m. UTC
The major features of this patchset include:
1 switching to generic PciHostBridge driver;
2 Change DEBUG log level;

Code can also be found in github: https://github.com/hisilicon/OpenPlatformPkg.git
branch: pcihostbridge-v2


Heyi Guo (9):
  Hisilicon: Enable WARN and INFO debug message
  Hisilicon/D05/PlatformPciLib: fix misuse of macro
  Hisilicon/Pci: Move PciPlatform to common directory
  Hisilicon/PlatformPciLib: add segment for each root bridge
  Hisilicon: add PciHostBridgeLib
  Hisilicon: add PciSegmentLib for Hi161x
  Hisilicon/D0x: Switch to generic PciHostBridge driver
  Hisilicon: remove platform specific PciHostBridge
  Hisilicon/PlatformPciLib: clear redundant felds in RESOURCE_APPETURE

Ming Huang (3):
  Hisilicon/Pci: Add two api for PciPlatform driver
  Hisilicon/Pci: move ATU configuration to PciPlatformLib
  Hisilicon/Pci: move EnlargeAtuConfig0() to PciPlatformLib

 Platform/Hisilicon/D03/D03.dsc                |   14 +-
 Platform/Hisilicon/D03/D03.fdf                |    5 +-
 .../D03/Drivers/PciPlatform/PciPlatform.h     |  180 --
 .../Library/PlatformPciLib/PlatformPciLib.c   |   24 +-
 Platform/Hisilicon/D05/D05.dsc                |   14 +-
 Platform/Hisilicon/D05/D05.fdf                |    5 +-
 .../Library/PlatformPciLib/PlatformPciLib.c   |   66 +-
 .../PciHostBridgeLib/PciHostBridgeLib.c       |  304 +++
 .../PciHostBridgeLib/PciHostBridgeLib.inf     |   51 +
 .../Drivers/PciHostBridgeDxe/PciHostBridge.c  | 1659 ------------
 .../Drivers/PciHostBridgeDxe/PciHostBridge.h  |  528 ----
 .../PciHostBridgeDxe/PciHostBridgeDxe.inf     |   74 -
 .../PciHostBridgeDxe/PciRootBridgeIo.c        | 2405 -----------------
 .../Drivers/PciPlatform/PciPlatform.c         |   45 +
 .../Drivers/PciPlatform/PciPlatform.inf       |    1 +
 .../Hi161xPciPlatformLib.c                    |  384 +++
 .../Hi161xPciPlatformLib.inf                  |   42 +
 .../Hi161xPciSegmentLib.inf                   |   36 +
 .../Hi161xPciSegmentLib/PciSegmentLib.c       | 1503 ++++++++++
 Silicon/Hisilicon/Hisilicon.dsc.inc           |    8 +-
 .../Include/Library/PlatformPciLib.h          |    3 +-
 21 files changed, 2434 insertions(+), 4917 deletions(-)
 delete mode 100644 Platform/Hisilicon/D03/Drivers/PciPlatform/PciPlatform.h
 create mode 100644 Platform/Hisilicon/Library/PciHostBridgeLib/PciHostBridgeLib.c
 create mode 100644 Platform/Hisilicon/Library/PciHostBridgeLib/PciHostBridgeLib.inf
 delete mode 100644 Silicon/Hisilicon/Drivers/PciHostBridgeDxe/PciHostBridge.c
 delete mode 100644 Silicon/Hisilicon/Drivers/PciHostBridgeDxe/PciHostBridge.h
 delete mode 100644 Silicon/Hisilicon/Drivers/PciHostBridgeDxe/PciHostBridgeDxe.inf
 delete mode 100644 Silicon/Hisilicon/Drivers/PciHostBridgeDxe/PciRootBridgeIo.c
 rename {Platform/Hisilicon/D03 => Silicon/Hisilicon}/Drivers/PciPlatform/PciPlatform.c (89%)
 rename {Platform/Hisilicon/D03 => Silicon/Hisilicon}/Drivers/PciPlatform/PciPlatform.inf (94%)
 create mode 100644 Silicon/Hisilicon/Hi1610/Library/Hi161xPciPlatformLib/Hi161xPciPlatformLib.c
 create mode 100644 Silicon/Hisilicon/Hi1610/Library/Hi161xPciPlatformLib/Hi161xPciPlatformLib.inf
 create mode 100644 Silicon/Hisilicon/Hi1610/Library/Hi161xPciSegmentLib/Hi161xPciSegmentLib.inf
 create mode 100644 Silicon/Hisilicon/Hi1610/Library/Hi161xPciSegmentLib/PciSegmentLib.c

-- 
2.17.0

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Comments

Ard Biesheuvel July 25, 2018, 11:41 a.m. UTC | #1
On 24 July 2018 at 08:32, Ming Huang <ming.huang@linaro.org> wrote:
> The major features of this patchset include:

> 1 switching to generic PciHostBridge driver;

> 2 Change DEBUG log level;

>

> Code can also be found in github: https://github.com/hisilicon/OpenPlatformPkg.git

> branch: pcihostbridge-v2

>

>

> Heyi Guo (9):

>   Hisilicon: Enable WARN and INFO debug message

>   Hisilicon/D05/PlatformPciLib: fix misuse of macro

>   Hisilicon/Pci: Move PciPlatform to common directory

>   Hisilicon/PlatformPciLib: add segment for each root bridge

>   Hisilicon: add PciHostBridgeLib

>   Hisilicon: add PciSegmentLib for Hi161x

>   Hisilicon/D0x: Switch to generic PciHostBridge driver

>   Hisilicon: remove platform specific PciHostBridge

>   Hisilicon/PlatformPciLib: clear redundant felds in RESOURCE_APPETURE

>

> Ming Huang (3):

>   Hisilicon/Pci: Add two api for PciPlatform driver

>   Hisilicon/Pci: move ATU configuration to PciPlatformLib

>   Hisilicon/Pci: move EnlargeAtuConfig0() to PciPlatformLib

>


For the series

Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>


Pushed as a34ea15dbf31..016d55843a01

>  Platform/Hisilicon/D03/D03.dsc                |   14 +-

>  Platform/Hisilicon/D03/D03.fdf                |    5 +-

>  .../D03/Drivers/PciPlatform/PciPlatform.h     |  180 --

>  .../Library/PlatformPciLib/PlatformPciLib.c   |   24 +-

>  Platform/Hisilicon/D05/D05.dsc                |   14 +-

>  Platform/Hisilicon/D05/D05.fdf                |    5 +-

>  .../Library/PlatformPciLib/PlatformPciLib.c   |   66 +-

>  .../PciHostBridgeLib/PciHostBridgeLib.c       |  304 +++

>  .../PciHostBridgeLib/PciHostBridgeLib.inf     |   51 +

>  .../Drivers/PciHostBridgeDxe/PciHostBridge.c  | 1659 ------------

>  .../Drivers/PciHostBridgeDxe/PciHostBridge.h  |  528 ----

>  .../PciHostBridgeDxe/PciHostBridgeDxe.inf     |   74 -

>  .../PciHostBridgeDxe/PciRootBridgeIo.c        | 2405 -----------------

>  .../Drivers/PciPlatform/PciPlatform.c         |   45 +

>  .../Drivers/PciPlatform/PciPlatform.inf       |    1 +

>  .../Hi161xPciPlatformLib.c                    |  384 +++

>  .../Hi161xPciPlatformLib.inf                  |   42 +

>  .../Hi161xPciSegmentLib.inf                   |   36 +

>  .../Hi161xPciSegmentLib/PciSegmentLib.c       | 1503 ++++++++++

>  Silicon/Hisilicon/Hisilicon.dsc.inc           |    8 +-

>  .../Include/Library/PlatformPciLib.h          |    3 +-

>  21 files changed, 2434 insertions(+), 4917 deletions(-)

>  delete mode 100644 Platform/Hisilicon/D03/Drivers/PciPlatform/PciPlatform.h

>  create mode 100644 Platform/Hisilicon/Library/PciHostBridgeLib/PciHostBridgeLib.c

>  create mode 100644 Platform/Hisilicon/Library/PciHostBridgeLib/PciHostBridgeLib.inf

>  delete mode 100644 Silicon/Hisilicon/Drivers/PciHostBridgeDxe/PciHostBridge.c

>  delete mode 100644 Silicon/Hisilicon/Drivers/PciHostBridgeDxe/PciHostBridge.h

>  delete mode 100644 Silicon/Hisilicon/Drivers/PciHostBridgeDxe/PciHostBridgeDxe.inf

>  delete mode 100644 Silicon/Hisilicon/Drivers/PciHostBridgeDxe/PciRootBridgeIo.c

>  rename {Platform/Hisilicon/D03 => Silicon/Hisilicon}/Drivers/PciPlatform/PciPlatform.c (89%)

>  rename {Platform/Hisilicon/D03 => Silicon/Hisilicon}/Drivers/PciPlatform/PciPlatform.inf (94%)

>  create mode 100644 Silicon/Hisilicon/Hi1610/Library/Hi161xPciPlatformLib/Hi161xPciPlatformLib.c

>  create mode 100644 Silicon/Hisilicon/Hi1610/Library/Hi161xPciPlatformLib/Hi161xPciPlatformLib.inf

>  create mode 100644 Silicon/Hisilicon/Hi1610/Library/Hi161xPciSegmentLib/Hi161xPciSegmentLib.inf

>  create mode 100644 Silicon/Hisilicon/Hi1610/Library/Hi161xPciSegmentLib/PciSegmentLib.c

>

> --

> 2.17.0

>

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel