From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50809) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2lBr-0002pz-A7 for qemu-devel@nongnu.org; Fri, 26 Jul 2013 12:48:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V2lBq-0006PB-Dv for qemu-devel@nongnu.org; Fri, 26 Jul 2013 12:48:27 -0400 Received: from e06smtp17.uk.ibm.com ([195.75.94.113]:42913) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2lBq-0006Os-4P for qemu-devel@nongnu.org; Fri, 26 Jul 2013 12:48:26 -0400 Received: from /spool/local by e06smtp17.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 26 Jul 2013 17:43:53 +0100 Received: from b06cxnps3074.portsmouth.uk.ibm.com (d06relay09.portsmouth.uk.ibm.com [9.149.109.194]) by d06dlp03.portsmouth.uk.ibm.com (Postfix) with ESMTP id 1BFFF1B0805D for ; Fri, 26 Jul 2013 17:48:22 +0100 (BST) Received: from d06av03.portsmouth.uk.ibm.com (d06av03.portsmouth.uk.ibm.com [9.149.37.213]) by b06cxnps3074.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r6QGmAAG66453666 for ; Fri, 26 Jul 2013 16:48:10 GMT Received: from d06av03.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av03.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id r6QGmLKP006215 for ; Fri, 26 Jul 2013 10:48:21 -0600 From: Jens Freimann Date: Fri, 26 Jul 2013 18:47:57 +0200 Message-Id: <1374857279-28248-1-git-send-email-jfrei@linux.vnet.ibm.com> Subject: [Qemu-devel] [RFC 0/2] KVM: s390: add floating irq controller List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Christian Borntraeger , Cornelia Huck Cc: Dominik Dingel , Jens Freimann , qemu-devel@nongnu.org, kvm@vger.kernel.org, Alexander Graf This series adds a kvm_device that acts as a irq controller for floating interrupts. As a first step it implements functionality to retrieve and inject interrupts for the purpose of migration and for hardening the reset code by allowing user space to explicitly remove all pending floating interrupts. PFAULT patches will also use this device for enabling/disabling pfault, therefore the pfault patch series will be reworked to use this device depending on review feedback * Patch 1 adds a new data structure to hold interrupt information. The current one (struct kvm_s390_interrupt) does not allow to inject all kinds of interrupts, e.g. some data for program interrupts and machine check interruptions were missing. * Patch 2 adds a kvm_device which supports getting/setting currently pending floating interrupts as well as deleting all currently pending interrupts Jens Freimann (2): s390/kvm: add and extend interrupt information data structs s390/kvm: add floating irq controller arch/s390/include/asm/kvm_host.h | 45 +---- arch/s390/include/uapi/asm/kvm.h | 5 + arch/s390/kvm/interrupt.c | 365 +++++++++++++++++++++++++-------------- arch/s390/kvm/kvm-s390.c | 1 + arch/s390/kvm/priv.c | 22 +-- arch/s390/kvm/sigp.c | 14 +- include/linux/kvm_host.h | 1 + include/uapi/linux/kvm.h | 63 +++++++ virt/kvm/kvm_main.c | 3 + 9 files changed, 330 insertions(+), 189 deletions(-) -- 1.8.0.1