From patchwork Wed Nov 8 16:54:19 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Halil Pasic X-Patchwork-Id: 835914 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3yXC9L5MqQz9s4q for ; Thu, 9 Nov 2017 03:55:50 +1100 (AEDT) Received: from localhost ([::1]:60815 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eCTdk-0003Y1-Ph for incoming@patchwork.ozlabs.org; Wed, 08 Nov 2017 11:55:48 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55202) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eCTcx-0003Vo-Kt for qemu-devel@nongnu.org; Wed, 08 Nov 2017 11:55:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eCTct-0000Sg-2u for qemu-devel@nongnu.org; Wed, 08 Nov 2017 11:54:59 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:54132 helo=mx0a-001b2d01.pphosted.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eCTcs-0000SD-Sy for qemu-devel@nongnu.org; Wed, 08 Nov 2017 11:54:54 -0500 Received: from pps.filterd (m0098420.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id vA8GqlAh063222 for ; Wed, 8 Nov 2017 11:54:50 -0500 Received: from e06smtp14.uk.ibm.com (e06smtp14.uk.ibm.com [195.75.94.110]) by mx0b-001b2d01.pphosted.com with ESMTP id 2e45pt8j7a-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Wed, 08 Nov 2017 11:54:48 -0500 Received: from localhost by e06smtp14.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 8 Nov 2017 16:54:46 -0000 Received: from b06cxnps3075.portsmouth.uk.ibm.com (9.149.109.195) by e06smtp14.uk.ibm.com (192.168.101.144) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 8 Nov 2017 16:54:44 -0000 Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com [9.149.105.232]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id vA8GsiaY41287902; Wed, 8 Nov 2017 16:54:44 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id DC3A55203F; Wed, 8 Nov 2017 15:48:34 +0000 (GMT) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTPS id 99FFD52043; Wed, 8 Nov 2017 15:48:34 +0000 (GMT) From: Halil Pasic To: Cornelia Huck , "Dong Jia Shi" Date: Wed, 8 Nov 2017 17:54:19 +0100 X-Mailer: git-send-email 2.13.5 X-TM-AS-GCONF: 00 x-cbid: 17110816-0016-0000-0000-000004FF0C61 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17110816-0017-0000-0000-0000283AB1E2 Message-Id: <20171108165422.46267-1-pasic@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-11-08_03:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1707230000 definitions=main-1711080223 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-Received-From: 148.163.158.5 Subject: [Qemu-devel] [RFC PATCH v2 0/3] tests for CCW IDA X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-s390x@nongnu.org, Thomas Huth , Halil Pasic , Pierre Morel , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" I've keept the title althogh the scope shifted a bit: it's more about introducing ccw-testdev than about IDA. The goal is to facilitate testing the virtual channel subsystem implementation, and the ccw interpretation. The first patch is the interesting one. See it's cover letter for details. The RFC is about discussing some technical issues with this patch. The other two patches are an out of source kernel module which is basically only there so you can try out the first patch. The tests there should probably be ported to something else. I don't know what: maybe kvm-unit-tests, maybe qtest+libqos, or maybe some bios based test image. We still have to figure out that. Halil Pasic (3): s390x/ccs: add ccw-testdev emulated device ccw-tester: a tester device for ccw I/O ccw-tester: add tic test hw/misc/Makefile.objs | 1 + hw/misc/ccw-testdev.c | 284 ++++++++++++++++++++++++++++++++++++++++++++++++++ hw/misc/ccw-testdev.h | 18 ++++ 3 files changed, 303 insertions(+) create mode 100644 hw/misc/ccw-testdev.c create mode 100644 hw/misc/ccw-testdev.h