From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-1.mimecast.com ([207.211.31.81]:21065 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725975AbgGPJH3 (ORCPT ); Thu, 16 Jul 2020 05:07:29 -0400 Date: Thu, 16 Jul 2020 11:07:17 +0200 From: Cornelia Huck Subject: Re: [kvm-unit-tests PATCH v13 9/9] s390x: css: ssch/tsch with sense and interrupt Message-ID: <20200716110717.4c399cd0.cohuck@redhat.com> In-Reply-To: <1594887809-10521-10-git-send-email-pmorel@linux.ibm.com> References: <1594887809-10521-1-git-send-email-pmorel@linux.ibm.com> <1594887809-10521-10-git-send-email-pmorel@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-s390-owner@vger.kernel.org List-ID: To: Pierre Morel Cc: kvm@vger.kernel.org, linux-s390@vger.kernel.org, frankja@linux.ibm.com, david@redhat.com, thuth@redhat.com, drjones@redhat.com On Thu, 16 Jul 2020 10:23:29 +0200 Pierre Morel wrote: > After a channel is enabled we start a SENSE_ID command using > the SSCH instruction to recognize the control unit and device. > > This tests the success of SSCH, the I/O interruption and the TSCH > instructions. > > The SENSE_ID command response is tested to report 0xff inside > its reserved field and to report the same control unit type > as the cu_type kernel argument. > > Without the cu_type kernel argument, the test expects a device > with a default control unit type of 0x3832, a.k.a virtio-net-ccw. > > Signed-off-by: Pierre Morel > --- > lib/s390x/asm/arch_def.h | 1 + > lib/s390x/css.h | 35 ++++++++ > lib/s390x/css_lib.c | 180 +++++++++++++++++++++++++++++++++++++++ > s390x/css.c | 80 +++++++++++++++++ > 4 files changed, 296 insertions(+) Reviewed-by: Cornelia Huck