From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34942) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgxaC-0004gw-Q6 for qemu-devel@nongnu.org; Wed, 22 Oct 2014 11:12:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xgxa3-0004Tg-PT for qemu-devel@nongnu.org; Wed, 22 Oct 2014 11:12:16 -0400 Received: from e06smtp13.uk.ibm.com ([195.75.94.109]:60966) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xgxa3-0004T6-GD for qemu-devel@nongnu.org; Wed, 22 Oct 2014 11:12:07 -0400 Received: from /spool/local by e06smtp13.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 22 Oct 2014 16:12:05 +0100 Received: from b06cxnps3075.portsmouth.uk.ibm.com (d06relay10.portsmouth.uk.ibm.com [9.149.109.195]) by d06dlp02.portsmouth.uk.ibm.com (Postfix) with ESMTP id C3F54219005C for ; Wed, 22 Oct 2014 16:11:39 +0100 (BST) Received: from d06av05.portsmouth.uk.ibm.com (d06av05.portsmouth.uk.ibm.com [9.149.37.229]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id s9MFC3fp12845312 for ; Wed, 22 Oct 2014 15:12:03 GMT Received: from d06av05.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av05.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s9MFC3Ct016286 for ; Wed, 22 Oct 2014 09:12:03 -0600 From: Frank Blaschka Date: Wed, 22 Oct 2014 17:11:57 +0200 Message-Id: <1413990720-39602-1-git-send-email-blaschka@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH 0/3 RFC] add PCI support for the s390 platform List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: agraf@suse.de, cornelia.huck@de.ibm.com, borntraeger@de.ibm.com, pbonzini@redhat.com, alex.williamson@redhat.com Cc: Frank Blaschka , qemu-devel@nongnu.org This set of patches implemets PCI support for the s390 platform. Now it is possible to run virtio-net-pci and potentially all virtual pci devices conforming to s390 platform constrains. (In parallel I also post some changes to make vfio run on s390) I hope to get feedback and guidance especially for kvm: extend kvm_irqchip_add_msi_route to work on s390 which adds the s390 interpretation of MSI-X to the common kvm add_msi_route functionality. Thx for any help, Frank Frank Blaschka (3): s390: Add PCI bus support s390: implement pci instructions kvm: extend kvm_irqchip_add_msi_route to work on s390 default-configs/s390x-softmmu.mak | 1 + hw/s390x/Makefile.objs | 1 + hw/s390x/css.c | 5 + hw/s390x/css.h | 1 + hw/s390x/s390-pci-bus.c | 447 +++++++++++++++++++++++ hw/s390x/s390-pci-bus.h | 252 +++++++++++++ hw/s390x/s390-virtio-ccw.c | 3 + hw/s390x/sclp.c | 10 +- include/hw/s390x/sclp.h | 8 + include/sysemu/kvm.h | 4 + kvm-all.c | 2 + target-arm/kvm.c | 5 + target-i386/kvm.c | 5 + target-mips/kvm.c | 5 + target-ppc/kvm.c | 5 + target-s390x/Makefile.objs | 2 +- target-s390x/cpu-models.h | 8 +- target-s390x/ioinst.c | 52 +++ target-s390x/ioinst.h | 1 + target-s390x/kvm.c | 77 ++++ target-s390x/pci_ic.c | 735 ++++++++++++++++++++++++++++++++++++++ target-s390x/pci_ic.h | 316 ++++++++++++++++ 22 files changed, 1942 insertions(+), 3 deletions(-) create mode 100644 hw/s390x/s390-pci-bus.c create mode 100644 hw/s390x/s390-pci-bus.h create mode 100644 target-s390x/pci_ic.c create mode 100644 target-s390x/pci_ic.h -- 1.8.5.5