From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cornelia Huck Subject: [RFC PATCH v3 0/5] s390: Host support for channel I/O. Date: Wed, 31 Oct 2012 17:24:33 +0100 Message-ID: <1351700678-41969-1-git-send-email-cornelia.huck@de.ibm.com> Cc: Carsten Otte , Anthony Liguori , Sebastian Ott , Marcelo Tosatti , Heiko Carstens , Alexander Graf , Christian Borntraeger , Avi Kivity , Martin Schwidefsky To: KVM , linux-s390 , qemu-devel Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org Sender: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org List-Id: kvm.vger.kernel.org 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