From: Ming Huang <ming.huang@linaro.org>
To: leif.lindholm@linaro.org, linaro-uefi@lists.linaro.org,
edk2-devel@lists.01.org, graeme.gregory@linaro.org
Cc: ard.biesheuvel@linaro.org, guoheyi@huawei.com,
wanghuiqiang@huawei.com, huangming23@huawei.com,
zhangjinsong2@huawei.com, huangdaode@hisilicon.com,
john.garry@huawei.com, xinliang.liu@linaro.org,
Ming Huang <ming.huang@linaro.org>
Subject: [PATCH edk2-platforms v2 00/12] Switching to generic PciHostBridge driver
Date: Tue, 24 Jul 2018 14:32:08 +0800 [thread overview]
Message-ID: <20180724063220.61679-1-ming.huang@linaro.org> (raw)
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
next reply other threads:[~2018-07-24 6:32 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-24 6:32 Ming Huang [this message]
2018-07-24 6:32 ` [PATCH edk2-platforms v2 01/12] Hisilicon: Enable WARN and INFO debug message Ming Huang
2018-07-24 6:32 ` [PATCH edk2-platforms v2 02/12] Hisilicon/D05/PlatformPciLib: fix misuse of macro Ming Huang
2018-07-24 6:32 ` [PATCH edk2-platforms v2 03/12] Hisilicon/Pci: Move PciPlatform to common directory Ming Huang
2018-07-24 6:32 ` [PATCH edk2-platforms v2 04/12] Hisilicon/Pci: Add two api for PciPlatform driver Ming Huang
2018-07-24 6:32 ` [PATCH edk2-platforms v2 05/12] Hisilicon/Pci: move ATU configuration to PciPlatformLib Ming Huang
2018-07-24 6:32 ` [PATCH edk2-platforms v2 06/12] Hisilicon/Pci: move EnlargeAtuConfig0() " Ming Huang
2018-07-24 6:32 ` [PATCH edk2-platforms v2 07/12] Hisilicon/PlatformPciLib: add segment for each root bridge Ming Huang
2018-07-24 6:32 ` [PATCH edk2-platforms v2 08/12] Hisilicon: add PciHostBridgeLib Ming Huang
2018-07-24 6:32 ` [PATCH edk2-platforms v2 09/12] Hisilicon: add PciSegmentLib for Hi161x Ming Huang
2018-07-24 6:32 ` [PATCH edk2-platforms v2 10/12] Hisilicon/D0x: Switch to generic PciHostBridge driver Ming Huang
2018-07-24 6:32 ` [PATCH edk2-platforms v2 11/12] Hisilicon: remove platform specific PciHostBridge Ming Huang
2018-07-24 6:32 ` [PATCH edk2-platforms v2 12/12] Hisilicon/PlatformPciLib: clear redundant felds in RESOURCE_APPETURE Ming Huang
2018-07-25 11:41 ` [PATCH edk2-platforms v2 00/12] Switching to generic PciHostBridge driver Ard Biesheuvel
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=20180724063220.61679-1-ming.huang@linaro.org \
--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