From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cornelia Huck Subject: [RFC PATCH 0/4] s390: virtio-ccw guest kernel support. Date: Tue, 7 Aug 2012 16:52:44 +0200 Message-ID: <1344351168-2568-1-git-send-email-cornelia.huck@de.ibm.com> Cc: Avi Kivity , Marcelo Tosatti , Anthony Liguori , Rusty Russell , Christian Borntraeger , Carsten Otte , Alexander Graf , Heiko Carstens , Martin Schwidefsky , Sebastian Ott To: KVM , linux-s390 , qemu-devel Return-path: Received: from e06smtp16.uk.ibm.com ([195.75.94.112]:38647 "EHLO e06smtp16.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755330Ab2HGOxZ (ORCPT ); Tue, 7 Aug 2012 10:53:25 -0400 Received: from /spool/local by e06smtp16.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 7 Aug 2012 15:53:23 +0100 Sender: kvm-owner@vger.kernel.org List-ID: Hi, the following patches are for Linux running as a guest under a host with virtio-ccw support. Patch 1 makes the kvm_virtio driver exit gracefully if the page containing s390-virtio information it expects is not present; it could probably go in seperately from the other patches. Patch 2 exports a needed interface. Patch 3 adds a driver handling virtio-ccw devices. The virtual subchannels have ccw devices with a special CU id this driver matches for. The virtio_ccw driver handles configuration and operation via the special new channel commands. Patch 4 is a split out of common code. Cornelia Huck (4): s390/kvm: Handle hosts not supporting s390-virtio. s390: Add a mechanism to get the subchannel id. s390/kvm: Add a channel I/O based virtio transport driver. s390/kvm: Split out early console code. arch/s390/include/asm/ccwdev.h | 5 + arch/s390/include/asm/irq.h | 1 + arch/s390/kernel/irq.c | 1 + drivers/s390/cio/device_ops.c | 10 + drivers/s390/kvm/Makefile | 2 +- drivers/s390/kvm/early_printk.c | 42 +++ drivers/s390/kvm/kvm_virtio.c | 46 ++- drivers/s390/kvm/virtio_ccw.c | 760 ++++++++++++++++++++++++++++++++++++++++ 8 files changed, 841 insertions(+), 26 deletions(-) create mode 100644 drivers/s390/kvm/early_printk.c create mode 100644 drivers/s390/kvm/virtio_ccw.c -- 1.7.11.4