From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:46385) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3SyY-0007YI-TG for qemu-devel@nongnu.org; Mon, 20 Aug 2012 10:29:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T3SyX-0003sX-TP for qemu-devel@nongnu.org; Mon, 20 Aug 2012 10:29:06 -0400 Received: from e06smtp13.uk.ibm.com ([195.75.94.109]:43387) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3SyX-0003rQ-Kb for qemu-devel@nongnu.org; Mon, 20 Aug 2012 10:29:05 -0400 Received: from /spool/local by e06smtp13.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 20 Aug 2012 15:29:02 +0100 Received: from d06av02.portsmouth.uk.ibm.com (d06av02.portsmouth.uk.ibm.com [9.149.37.228]) by b06cxnps4075.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q7KESqwL20381798 for ; Mon, 20 Aug 2012 14:28:52 GMT 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 q7KESvas028637 for ; Mon, 20 Aug 2012 08:28:58 -0600 From: Jens Freimann Date: Mon, 20 Aug 2012 16:28:42 +0200 Message-Id: <1345472926-21528-1-git-send-email-jfrei@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH 0/4 v4] s390: sclp patch set List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: Heinz Graalfs , qemu-devel , Einar Lueck , Christian Borntraeger , Jens Freimann , Cornelia Huck , Andreas Faerber This patch-set improves the Service-Call Logical Processor support for s390. changes v3->v4: - Event Facility was moved to the main system bus and we now keep the event_facility pointer within the current machine's global property-list as opaque pointer - removed locking - some code refactoring in response to Alexander Graf's and Andreas Faerber's review comments (variables/functions renamed, return codes changed) Patch 1 adds/changes some base SCLP support. Patch 2 adds code to support the SCLP commands Write Event Mask, Write Event Data, and Read Event Data. Patch 3 and 4 add code to implement the commands for the particular SCLP events Signal Quiesce (system_powerdown), and ASCII Console data. Heinz Graalfs (4): s390: sclp base support s390: sclp event support s390: sclp signal quiesce support s390: sclp ascii console support hw/s390-virtio.c | 4 + hw/s390x/Makefile.objs | 3 + hw/s390x/event-facility.c | 398 ++++++++++++++++++++++++++++++++++++++++++++++ hw/s390x/event-facility.h | 96 +++++++++++ hw/s390x/sclp.c | 152 ++++++++++++++++++ hw/s390x/sclp.h | 118 ++++++++++++++ hw/s390x/sclpconsole.c | 306 +++++++++++++++++++++++++++++++++++ hw/s390x/sclpquiesce.c | 112 +++++++++++++ target-s390x/cpu.h | 14 +- target-s390x/kvm.c | 5 +- target-s390x/op_helper.c | 31 +--- 11 files changed, 1197 insertions(+), 42 deletions(-) create mode 100644 hw/s390x/event-facility.c create mode 100644 hw/s390x/event-facility.h create mode 100644 hw/s390x/sclp.c create mode 100644 hw/s390x/sclp.h create mode 100644 hw/s390x/sclpconsole.c create mode 100644 hw/s390x/sclpquiesce.c -- 1.7.11.5