From: Jens Freimann Subject: [PATCH v2 0/2] KVM: s390: add floating irq controller Date: Fri, 6 Sep 2013 14:19:15 +0200 Message-ID: <1378469957-62290-1-git-send-email-jfrei@linux.vnet.ibm.com> Cc: kvm@vger.kernel.org, qemu-devel@nongnu.org, Andreas Faerber , Thomas Huth , Jens Freimann To: Christian Borntraeger , Cornelia Huck , Alexander Graf Return-path: Received: from e06smtp18.uk.ibm.com ([195.75.94.114]:53067 "EHLO e06smtp18.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751108Ab3IFMTY (ORCPT ); Fri, 6 Sep 2013 08:19:24 -0400 Received: from /spool/local by e06smtp18.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 6 Sep 2013 13:12:08 +0100 Received: from b06cxnps3075.portsmouth.uk.ibm.com (d06relay10.portsmouth.uk.ibm.com [9.149.109.195]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id 63C1D17D805D for ; Fri, 6 Sep 2013 13:19:25 +0100 (BST) Received: from d06av06.portsmouth.uk.ibm.com (d06av06.portsmouth.uk.ibm.com [9.149.37.217]) by b06cxnps3075.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r86CJ8UR61341900 for ; Fri, 6 Sep 2013 12:19:09 GMT Received: from d06av06.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av06.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id r86CJKVK009744 for ; Fri, 6 Sep 2013 06:19:20 -0600 Sender: kvm-owner@vger.kernel.org List-ID: 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. * Patch 1/2 adds a new data structure to hold interrupt information. The current one (struct kvm_s390_interrupt) does not allow to inject every kind of interrupt, e.g. some data for program interrupts and machine check interruptions were missing. * Patch 2/2 adds a kvm_device which supports getting/setting currently pending floating interrupts as well as deleting all currently pending interrupts Jens Freimann (2): KVM: s390: add and extend interrupt information data structs KVM: s390: add floating irq controller Documentation/virtual/kvm/devices/s390_flic.txt | 36 +++ arch/s390/include/asm/kvm_host.h | 35 +-- arch/s390/include/uapi/asm/kvm.h | 5 + arch/s390/kvm/interrupt.c | 304 ++++++++++++++++++++---- arch/s390/kvm/kvm-s390.c | 1 + include/linux/kvm_host.h | 1 + include/uapi/linux/kvm.h | 65 +++++ virt/kvm/kvm_main.c | 5 + 8 files changed, 368 insertions(+), 84 deletions(-) create mode 100644 Documentation/virtual/kvm/devices/s390_flic.txt -- 1.8.3.4