From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Gordeev Subject: [kvm-unit-tests PATCH 00/11] pci/arm: add PCI bus support Date: Sat, 9 Jan 2016 13:22:47 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 5BD1D49969 for ; Sat, 9 Jan 2016 07:19:14 -0500 (EST) Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id N4fz3ZkCVn2E for ; Sat, 9 Jan 2016 07:19:13 -0500 (EST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mm01.cs.columbia.edu (Postfix) with ESMTPS id 23849497F8 for ; Sat, 9 Jan 2016 07:19:12 -0500 (EST) Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id 154C4742 for ; Sat, 9 Jan 2016 12:23:03 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kvmarm-bounces@lists.cs.columbia.edu Sender: kvmarm-bounces@lists.cs.columbia.edu To: kvmarm@lists.cs.columbia.edu Cc: Alexander Gordeev List-Id: kvmarm@lists.cs.columbia.edu This series extends the kvm-unit-tests/arm framework to support PCI. Cc: Andrew Jones Alexander Gordeev (11): arm/pci: Device tree PCI probing arm/pci: PCI bus scanning arm/pci: Read devices BARs arm/pci: Allocate and assign memory/io space resources arm/pci: Add pci_find_dev() and pci_bar_addr() functions arm/pci: PCI testdev existence test arm/pci: PCI device operation test arm/pci: PCI device read/write test arm/pci: PCI host bridge info printing arm/pci: PCI devices basic info printing arm/pci: PCI testdev test flavour printing arm/pci-test.c | 32 +++ config/config-arm-common.mak | 6 +- lib/alloc.c | 3 - lib/libcflat.h | 3 + lib/pci-host-generic.c | 502 +++++++++++++++++++++++++++++++++++++++++++ lib/pci-host-generic.h | 37 ++++ lib/pci-testdev.c | 198 +++++++++++++++++ lib/pci.h | 33 +++ 8 files changed, 810 insertions(+), 4 deletions(-) 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 create mode 100644 lib/pci.h -- 1.8.3.1