This series extends the kvm-unit-tests/arm framework to support PCI. Major changes since v1: - PCI probe and shutdown functions turned argument-free; - PCI bus is scanned unconditionally at probing; - no statements inside asserts; - more error messages; - several patches merged, reducing the set from 11 to 5; - GPL headers added; Some suggestions and comments were not addressed as I presume the new version might make the suggested changes unnecessary. Cc: Thomas Huth <thuth@xxxxxxxxxx> Cc: Andrew Jones <drjones@xxxxxxxxxx> Alexander Gordeev (5): arm/pci: Probe Open Firmware Device Tree arm/pci: Scan PCI root bus for devices arm/pci: Allocate and assign memory and io space resources arm/pci: Add pci_find_dev() and pci_bar_addr() functions arm/pci: pci-testdev PCI device operation test arm/pci-test.c | 25 +++ config/config-arm-common.mak | 6 +- lib/pci-host-generic.c | 521 +++++++++++++++++++++++++++++++++++++++++++ lib/pci-host-generic.h | 109 +++++++++ lib/pci-testdev.c | 189 ++++++++++++++++ lib/pci.h | 9 + 6 files changed, 858 insertions(+), 1 deletion(-) create mode 100644 arm/pci-test.c create mode 100644 lib/pci-host-generic.c create mode 100644 lib/pci-host-generic.h create mode 100644 lib/pci-testdev.c -- 1.8.3.1 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html