From: Ard Biesheuvel <ard.biesheuvel@linaro.org>
To: edk2-devel@lists.01.org, lersek@redhat.com
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Subject: [PATCH 0/5] ArmVirtQemu: move to generic PciHostBridgeDxe
Date: Mon, 22 Aug 2016 08:35:47 +0200 [thread overview]
Message-ID: <1471847752-26574-1-git-send-email-ard.biesheuvel@linaro.org> (raw)
Now that Laszlo's virtio-gpu-pci have removed the last remaining obstacle,
we can get rid of the special PciHostBridgeDxe implementation in ArmVirtPkg,
and move to the generic one. This will allow us to perform DMA above 4GB
without bounce buffering, and use 64-bit MMIO BARs.
Patch #1 removes the linux,pci-probe-only override which does more harm than
good now that we switched to virtio-gp-pci, which does not expose a raw
framebuffer.
Patch #2 implements PciHostBridgeLib for platforms exposing a PCI host bridge
using a pci-host-ecam-generic DT node.
Patch #3 switches to the generic PciHostBridgeDxe, with no change in
functionality other than support for DMA above 4 GB without bounce buffering.
Patch #4 adds support for 64-bit MMIO BARs
Patch #5 removes the now obsolete PciHostBridgeDxe from ArmVirPkg.
Ard Biesheuvel (5):
ArmVirtPkg/PciHostBridgeDxe: don't set linux,pci-probe-only DT
property
ArmVirtPkg: implement FdtPciHostBridgeLib
ArmVirtPkg/ArmVirtQemu: switch to generic PciHostBridgeDxe
ArmVirtPkg/FdtPciHostBridgeLib: add MMIO64 support
ArmVirtPkg: remove now unused PciHostBridgeDxe
ArmVirtPkg/ArmVirtQemu.dsc | 7 +-
ArmVirtPkg/ArmVirtQemuFvMain.fdf.inc | 3 +-
ArmVirtPkg/ArmVirtQemuKernel.dsc | 7 +-
ArmVirtPkg/Library/FdtPciHostBridgeLib/FdtPciHostBridgeLib.c | 417 ++++
ArmVirtPkg/Library/FdtPciHostBridgeLib/FdtPciHostBridgeLib.inf | 56 +
ArmVirtPkg/PciHostBridgeDxe/PciHostBridge.c | 1496 --------------
ArmVirtPkg/PciHostBridgeDxe/PciHostBridge.h | 499 -----
ArmVirtPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf | 64 -
ArmVirtPkg/PciHostBridgeDxe/PciRootBridgeIo.c | 2144 --------------------
9 files changed, 487 insertions(+), 4206 deletions(-)
create mode 100644 ArmVirtPkg/Library/FdtPciHostBridgeLib/FdtPciHostBridgeLib.c
create mode 100644 ArmVirtPkg/Library/FdtPciHostBridgeLib/FdtPciHostBridgeLib.inf
delete mode 100644 ArmVirtPkg/PciHostBridgeDxe/PciHostBridge.c
delete mode 100644 ArmVirtPkg/PciHostBridgeDxe/PciHostBridge.h
delete mode 100644 ArmVirtPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
delete mode 100644 ArmVirtPkg/PciHostBridgeDxe/PciRootBridgeIo.c
--
2.7.4
next reply other threads:[~2016-08-22 6:35 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-22 6:35 Ard Biesheuvel [this message]
2016-08-22 6:35 ` [PATCH 1/5] ArmVirtPkg/PciHostBridgeDxe: don't set linux, pci-probe-only DT property Ard Biesheuvel
2016-08-23 21:23 ` Laszlo Ersek
2016-08-24 5:30 ` Ard Biesheuvel
2016-08-22 6:35 ` [PATCH 2/5] ArmVirtPkg: implement FdtPciHostBridgeLib Ard Biesheuvel
2016-08-24 15:01 ` Laszlo Ersek
2016-08-24 15:19 ` Ard Biesheuvel
2016-08-31 13:51 ` Laszlo Ersek
2016-08-31 13:54 ` Ard Biesheuvel
2016-08-22 6:35 ` [PATCH 3/5] ArmVirtPkg/ArmVirtQemu: switch to generic PciHostBridgeDxe Ard Biesheuvel
2016-08-23 18:04 ` Ard Biesheuvel
2016-08-31 12:24 ` Laszlo Ersek
2016-08-22 6:35 ` [PATCH 4/5] ArmVirtPkg/FdtPciHostBridgeLib: add MMIO64 support Ard Biesheuvel
2016-08-31 14:06 ` Laszlo Ersek
2016-08-22 6:35 ` [PATCH 5/5] ArmVirtPkg: remove now unused PciHostBridgeDxe Ard Biesheuvel
2016-08-31 14:11 ` Laszlo Ersek
2016-08-22 11:58 ` [PATCH 0/5] ArmVirtQemu: move to generic PciHostBridgeDxe Laszlo Ersek
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=1471847752-26574-1-git-send-email-ard.biesheuvel@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