From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:52874) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTb61-00015N-Bp for qemu-devel@nongnu.org; Wed, 31 Oct 2012 12:24:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TTb5x-0006LW-59 for qemu-devel@nongnu.org; Wed, 31 Oct 2012 12:24:49 -0400 Received: from e06smtp16.uk.ibm.com ([195.75.94.112]:58828) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTb5w-0006KU-T0 for qemu-devel@nongnu.org; Wed, 31 Oct 2012 12:24:45 -0400 Received: from /spool/local by e06smtp16.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 31 Oct 2012 16:24:42 -0000 Received: from d06av01.portsmouth.uk.ibm.com (d06av01.portsmouth.uk.ibm.com [9.149.37.212]) by b06cxnps4074.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q9VGOWHi41091138 for ; Wed, 31 Oct 2012 16:24:32 GMT Received: from d06av01.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av01.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q9VGOdi7013204 for ; Wed, 31 Oct 2012 10:24:39 -0600 From: Cornelia Huck Date: Wed, 31 Oct 2012 17:24:33 +0100 Message-Id: <1351700678-41969-1-git-send-email-cornelia.huck@de.ibm.com> Subject: [Qemu-devel] [RFC PATCH v3 0/5] s390: Host support for channel I/O. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: KVM , linux-s390 , qemu-devel Cc: Carsten Otte , Anthony Liguori , Sebastian Ott , Marcelo Tosatti , Heiko Carstens , Alexander Graf , Christian Borntraeger , Avi Kivity , Martin Schwidefsky Hi, here's the latest incarnation of my host patches to support channel I/O on s390. Most patches have only seen minor fixes, but patch 5 is completely different since the kvm <-> user space interface has been reworked. We now handle only interrupt-related operations in kvm. This includes two channel I/O instructions that can dequeue pending I/O interrupts: tpi and tsch (not the part actually interacting with the subchannel). This makes the interface less complex (only one new exit for tsch handling) and avoids duplicating code from qemu. Cornelia Huck (5): KVM: s390: Support for I/O interrupts. KVM: s390: Add support for machine checks. KVM: s390: In-kernel handling of I/O instructions. KVM: s390: Base infrastructure for enabling capabilities. KVM: s390: Add support for channel I/O instructions. Documentation/virtual/kvm/api.txt | 40 +++++- arch/s390/include/asm/kvm_host.h | 11 ++ arch/s390/kvm/intercept.c | 22 ++- arch/s390/kvm/interrupt.c | 264 +++++++++++++++++++++++++++++++++++- arch/s390/kvm/kvm-s390.c | 38 ++++++ arch/s390/kvm/kvm-s390.h | 6 + arch/s390/kvm/priv.c | 275 +++++++++++++++++++++++++++++++++++--- arch/s390/kvm/trace-s390.h | 26 +++- include/linux/kvm.h | 18 +++ include/trace/events/kvm.h | 2 +- 10 files changed, 673 insertions(+), 29 deletions(-) -- 1.7.12.4