From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Gordeev Subject: [PATCH v2 0/5] arm/pci: add PCI bus support Date: Thu, 11 Feb 2016 09:25:00 +0100 Message-ID: Cc: Alexander Gordeev , Thomas Huth , Andrew Jones To: kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:36479 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752393AbcBKIZT (ORCPT ); Thu, 11 Feb 2016 03:25:19 -0500 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (Postfix) with ESMTPS id 521224F639 for ; Thu, 11 Feb 2016 08:25:19 +0000 (UTC) Sender: kvm-owner@vger.kernel.org List-ID: 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 Cc: Andrew Jones 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