From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56101) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YAhnE-0006U0-BC for qemu-devel@nongnu.org; Mon, 12 Jan 2015 11:24:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YAhn8-0002kG-5v for qemu-devel@nongnu.org; Mon, 12 Jan 2015 11:24:40 -0500 Received: from lhrrgout.huawei.com ([194.213.3.17]:19526) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YAhn7-0002k7-Il for qemu-devel@nongnu.org; Mon, 12 Jan 2015 11:24:34 -0500 Message-ID: <54B3F534.4080505@huawei.com> Date: Mon, 12 Jan 2015 17:24:20 +0100 From: Claudio Fontana MIME-Version: 1.0 References: <1420560191-48029-1-git-send-email-agraf@suse.de> In-Reply-To: <1420560191-48029-1-git-send-email-agraf@suse.de> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 0/4] ARM: Add support for a generic PCI Express host bridge List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf , qemu-devel@nongnu.org Cc: Peter Maydell , ard.biesheuvel@linaro.org, mst@redhat.com, rob.herring@linaro.org, stuart.yoder@freescale.com, a.rigo@virtualopensystems.com On 06.01.2015 17:03, Alexander Graf wrote: > Linux implements a nice binding to describe a "generic" PCI Express host bridge > using only device tree. > > This patch set adds enough emulation logic to expose the parts that are > "generic" as a simple sysbus device and maps it into ARM's virt machine. > > With this patch set, we can finally spawn PCI devices on ARM VMs. I was able > to have a fully DRM enabled virtual machine with VGA, e1000 and XHCI (for > keyboard and mouse) up and working. > > It's only a small step for QEMU, but a big step for ARM VM's usability. > > > Happy new year! > > Alexander Graf (4): > pci: Split pcie_host_mmcfg_map() > pci: Add generic PCIe host bridge > arm: Add PCIe host bridge in virt machine > arm: enable Bochs PCI VGA > > default-configs/arm-softmmu.mak | 3 + > hw/arm/virt.c | 83 +++++++++++++++++++-- > hw/pci-host/Makefile.objs | 1 + > hw/pci-host/gpex.c | 156 ++++++++++++++++++++++++++++++++++++++++ > hw/pci/pcie_host.c | 9 ++- > include/hw/pci-host/gpex.h | 56 +++++++++++++++ > include/hw/pci/pcie_host.h | 1 + > 7 files changed, 302 insertions(+), 7 deletions(-) > create mode 100644 hw/pci-host/gpex.c > create mode 100644 include/hw/pci-host/gpex.h > Tested with a modified OSv guest on AArch64 using INTx interrupt method. Tested-by: Claudio Fontana