summary refs log tree commit diff stats
path: root/scripts/qtest.py
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2015-02-13 05:46:07 +0000
committerPeter Maydell <peter.maydell@linaro.org>2015-02-13 05:46:07 +0000
commit4d8fde1126419c5a858926a457a9b320a27a921a (patch)
treea17678ebfd9207ae6c589360deb6c8d7b9b4032f /scripts/qtest.py
parentbf439db4993b02033d4fba8460ca4dc45b15071a (diff)
downloadfocaccia-qemu-4d8fde1126419c5a858926a457a9b320a27a921a.tar.gz
focaccia-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 'scripts/qtest.py')
0 files changed, 0 insertions, 0 deletions