pci: Add support for Designware IP block
commitd64e5eabc4c7e20cc8d242545c02198b82e223ca
authorAndrey Smirnov <andrew.smirnov@gmail.com>
Fri, 9 Mar 2018 17:09:43 +0000 (9 17:09 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 9 Mar 2018 17:09:43 +0000 (9 17:09 +0000)
treed592ce5fbce9edce5b980e823640e95729e6c090
parent8f2ba1f278b3161119646a3b3d510455a8c16fbb
pci: Add support for Designware IP block

Add code needed to get a functional PCI subsytem when using in
conjunction with upstream Linux guest (4.13+). Tested to work against
"e1000e" (network adapter, using MSI interrupts) as well as
"usb-ehci" (USB controller, using legacy PCI interrupts).

Based on "i.MX6 Applications Processor Reference Manual" (Document
Number: IMX6DQRM Rev. 4) as well as corresponding dirver in Linux
kernel (circa 4.13 - 4.16 found in drivers/pci/dwc/*)

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
default-configs/arm-softmmu.mak
hw/pci-host/Makefile.objs
hw/pci-host/designware.c [new file with mode: 0644]
include/hw/pci-host/designware.h [new file with mode: 0644]
include/hw/pci/pci_ids.h