From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:44771) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SpdTx-0007FO-WE for qemu-devel@nongnu.org; Fri, 13 Jul 2012 06:52:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SpdTs-0007qo-2w for qemu-devel@nongnu.org; Fri, 13 Jul 2012 06:52:21 -0400 Received: from e06smtp11.uk.ibm.com ([195.75.94.107]:59850) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SpdTr-0007qN-R1 for qemu-devel@nongnu.org; Fri, 13 Jul 2012 06:52:16 -0400 Received: from /spool/local by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 13 Jul 2012 11:52:14 +0100 Received: from d06av02.portsmouth.uk.ibm.com (d06av02.portsmouth.uk.ibm.com [9.149.37.228]) by d06nrmr1407.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q6DAqBP72285680 for ; Fri, 13 Jul 2012 11:52:11 +0100 Received: from d06av02.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q6DAq9Mh030005 for ; Fri, 13 Jul 2012 04:52:10 -0600 From: Christian Borntraeger Date: Fri, 13 Jul 2012 12:51:58 +0200 Message-Id: <1342176724-43776-1-git-send-email-borntraeger@de.ibm.com> Subject: [Qemu-devel] [PATCH 0/6v2] s390: several sclp patches List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: Cornelia Huck , Christian Borntraeger , Jens Freimann , Heinz Graalfs , qemu-devel This patch-set improve the Service-Call Logical Processor support for s390. We tried to implement most of the comments that we got from the first patch review. We still have code in hw/ since sclp supports features like console etc. target-s390/op_helper.c now handles the basic checks for the instruction itself and then passes control to the sclp code, which then parses the commands. Patch 1 is a bugfix for the current code, dealing with error and condition code handling. Patch 2 adds/changes some base SCLP support. Patch 3 adds code to support the SCLP commands Write Event Mask, Write Event Data, and Read Event Data. Patch 4 and 5 add code to implement the commands for the particular SCLP events Signal Quiesce (system_powerdown), and ASCII Console data. Patch 6 (s390: make sclp ascii console the default) is currently optional as it requires a kernel fix in the guest (http://git.kernel.org/?p=virt/kvm/kvm.git;a=commit;h=cd1834591fe9564720ac4b0193bf1c790fe89f0d KVM: s390: Perform early event mask processing during boot) Thanks Christian Borntraeger (2): s390: Fix error handling and condition code of service call s390: make sclp ascii console the default Heinz Graalfs (4): s390: sclp base support s390: sclp event support s390: sclp signal quiesce support s390: sclp ascii console support hw/s390-event-facility.c | 418 ++++++++++++++++++++++++++++++++++++++++++++++ hw/s390-event-facility.h | 107 ++++++++++++ hw/s390-sclp.c | 185 ++++++++++++++++++++ hw/s390-sclp.h | 123 ++++++++++++++ hw/s390-sclpconsole.c | 313 ++++++++++++++++++++++++++++++++++ hw/s390-sclpquiesce.c | 113 +++++++++++++ hw/s390-virtio.c | 4 +- hw/s390x/Makefile.objs | 1 + target-s390x/cpu.c | 17 ++ target-s390x/cpu.h | 18 +- target-s390x/kvm.c | 10 +- target-s390x/op_helper.c | 68 +++----- vl.c | 40 +++++ 13 files changed, 1351 insertions(+), 66 deletions(-) create mode 100644 hw/s390-event-facility.c create mode 100644 hw/s390-event-facility.h create mode 100644 hw/s390-sclp.c create mode 100644 hw/s390-sclp.h create mode 100644 hw/s390-sclpconsole.c create mode 100644 hw/s390-sclpquiesce.c -- 1.7.10.5