diff options
| author | Alexander Graf | 2015-02-13 06:46:07 +0100 |
|---|---|---|
| committer | Peter Maydell | 2015-02-13 06:46:07 +0100 |
| commit | 4d8fde1126419c5a858926a457a9b320a27a921a (patch) | |
| tree | a17678ebfd9207ae6c589360deb6c8d7b9b4032f /default-configs | |
| parent | pci: Allocate PCIe host bridge PCI ID (diff) | |
| download | qemu-4d8fde1126419c5a858926a457a9b320a27a921a.tar.gz qemu-4d8fde1126419c5a858926a457a9b320a27a921a.tar.xz qemu-4d8fde1126419c5a858926a457a9b320a27a921a.zip | |
pci: Add generic PCIe host bridge
With simple exposure of MMFG, ioport window, mmio window and an IRQ line we
can successfully create a workable PCIe host bridge that can be mapped anywhere
and only needs to get described to the OS using whatever means it likes.
This patch implements such a "generic" host bridge. It handles 4 legacy IRQ
lines. MSIs need to be handled external to the host bridge.
This device is particularly useful for the "pci-host-ecam-generic" driver in
Linux.
Signed-off-by: Alexander Graf <agraf@suse.de>
Reviewed-by: Claudio Fontana <claudio.fontana@huawei.com>
Tested-by: Claudio Fontana <claudio.fontana@huawei.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'default-configs')
0 files changed, 0 insertions, 0 deletions
