This is 11th version of PCI support. Changes since v9: - all PCI configuration space accessors added; - data size in PCI configuration space accessors fixed; - PCI bus parity checking enabled; - coding style errors fixed; Sources are avalable at: https://github.com/a-gordeev/kvm-unit-tests.git pci-testdev-v11 Cc: Thomas Huth <thuth@xxxxxxxxxx> Cc: Andrew Jones <drjones@xxxxxxxxxx> Cc: Peter Xu <peterx@xxxxxxxxxx> Alexander Gordeev (12): pci: Fix coding style in generic PCI files pci: x86: Rename pci_config_read() to pci_config_readl() pci: Add 'extern' to public function declarations pci: x86: Add remaining PCI configuration space accessors pci: Factor out pci_bar_get() pci: Rework pci_bar_addr() pci: Add pci_bar_set_addr() pci: Add pci_dev_exists() pci: Add pci_print() pci: Add generic ECAM host support pci: Add pci-testdev PCI bus test device arm/arm64: pci: Add pci-testdev PCI device operation test arm/Makefile.common | 6 +- arm/pci-test.c | 27 ++++ arm/run | 7 +- arm/unittests.cfg | 4 + lib/arm/asm/pci.h | 1 + lib/arm64/asm/pci.h | 1 + lib/asm-generic/pci-host-bridge.h | 28 ++++ lib/pci-host-generic.c | 318 ++++++++++++++++++++++++++++++++++++++ lib/pci-host-generic.h | 46 ++++++ lib/pci-testdev.c | 192 +++++++++++++++++++++++ lib/pci.c | 212 ++++++++++++++++++++++--- lib/pci.h | 43 +++++- lib/x86/asm/pci.h | 46 +++++- x86/vmexit.c | 4 +- 14 files changed, 904 insertions(+), 31 deletions(-) create mode 100644 arm/pci-test.c create mode 100644 lib/arm/asm/pci.h create mode 100644 lib/arm64/asm/pci.h create mode 100644 lib/asm-generic/pci-host-bridge.h 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