Received: by 10.192.165.148 with SMTP id m20csp733289imm; Wed, 25 Apr 2018 06:55:51 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqLkHfCh6x6B5x1fypCQeLkLPjWNNSGD5exy+jfAz3MEQguo3MlotwMzQ9UTsmA2ZInGn5A X-Received: by 2002:a17:902:758d:: with SMTP id j13-v6mr514914pll.188.1524664551065; Wed, 25 Apr 2018 06:55:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524664551; cv=none; d=google.com; s=arc-20160816; b=IqPqLD7QIZA3nGEFa6ilOEuFnl1y5lSGCeq2ClJzsqwUHpJ1tQaiIAYffIuZMFpAAN qG683gFTDOtym04xtiR9Szlqet9wg4Iy92bNPUrnqbBOkaOkpxJD3a0mXKRs5ejgvLaG wYzdHi2+sg6u0EwtTQsF9CFe+cjxp9OM2AF/8wy1oYd6oCAOId3OcStJBB05Bc6m0b9Y NZ6C+EgZcOFs4Ktn1gaWJtY4CC4bn6A8fAqd+1Rt8TXYspO5lgr9JXMM8KA+0W67grNV V4O6341hsWgpZE5P3V18EZjglY1+9knhDUyPyRy7lSJYCaVvn3Lq6w6gbWzFQhudKQZC 5cpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :from:references:cc:to:subject:arc-authentication-results; bh=11Eb/p5EP+dp9PNEhPt8jZl4ba4mncTHJ3KUG+ZxolY=; b=Y+vlLR5RnuTf6rkWowH8T8UHNI7wLVEU7u3Ea+W8GY31h0uS8easAyRXoO8YX6eQt9 jT8ISdSoMPixQjs5kUly6ORy/SkCnNq3vb8XC0OEc+QWJ5PrYs0vo5E8l1AkTTDZfiiO lnctNn54sSVHhy3YnKLhEMpJVnA45CPjWpBoThOdjNfxJYYjOJc1qp4u7ShIbqgpDz0r kc4c8JSezEl5zvrxnUdZ15Ld5kTe3S4no2rhTHfHwcPkrcqxXNKFV+uxXhGz6UigHqkY +pfJKHb1btkmrvn+MDg3pvJM623yTly6EiwDyTV1TcwNaP1afhcW/w5mv9NzaH+aohdp bcMQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f3-v6si2717998plt.298.2018.04.25.06.55.36; Wed, 25 Apr 2018 06:55:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754131AbeDYNya (ORCPT + 99 others); Wed, 25 Apr 2018 09:54:30 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:55600 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753571AbeDYNy2 (ORCPT ); Wed, 25 Apr 2018 09:54:28 -0400 Received: from pps.filterd (m0098404.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w3PDmCR6053774 for ; Wed, 25 Apr 2018 09:54:28 -0400 Received: from e06smtp15.uk.ibm.com (e06smtp15.uk.ibm.com [195.75.94.111]) by mx0a-001b2d01.pphosted.com with ESMTP id 2hjqmt1rmp-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 25 Apr 2018 09:54:27 -0400 Received: from localhost by e06smtp15.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 25 Apr 2018 14:54:25 +0100 Received: from b06cxnps4074.portsmouth.uk.ibm.com (9.149.109.196) by e06smtp15.uk.ibm.com (192.168.101.145) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 25 Apr 2018 14:54:22 +0100 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w3PDsLr51245554; Wed, 25 Apr 2018 13:54:21 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 76C424C050; Wed, 25 Apr 2018 14:46:41 +0100 (BST) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 248914C058; Wed, 25 Apr 2018 14:46:41 +0100 (BST) Received: from [9.152.224.146] (unknown [9.152.224.146]) by d06av22.portsmouth.uk.ibm.com (Postfix) with ESMTP; Wed, 25 Apr 2018 14:46:41 +0100 (BST) Subject: Re: [PATCH 03/10] vfio: ccw: new SCH_EVENT event To: Cornelia Huck Cc: pasic@linux.vnet.ibm.com, bjsdjshi@linux.vnet.ibm.com, linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org References: <1524149293-12658-1-git-send-email-pmorel@linux.vnet.ibm.com> <1524149293-12658-4-git-send-email-pmorel@linux.vnet.ibm.com> <20180425102519.16e6195b.cohuck@redhat.com> From: Pierre Morel Date: Wed, 25 Apr 2018 15:54:21 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180425102519.16e6195b.cohuck@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-TM-AS-GCONF: 00 x-cbid: 18042513-0020-0000-0000-00000415AE09 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18042513-0021-0000-0000-000042AA1A8C Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-04-25_04:,, 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=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1804250132 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 25/04/2018 10:25, Cornelia Huck wrote: > On Thu, 19 Apr 2018 16:48:06 +0200 > Pierre Morel wrote: > >> The Sub channel event callback is threaded using workqueues. >> The work uses the FSM introducing the VFIO_CCW_EVENT_SCH_EVENT >> event. > I don't think this is a good name; after all, all of the events are > events for the subchannel :) > > This seems to be more of a "we need to update the schib" event... > VFIO_CCW_EVENT_SCHIB_CHANGED? _SCH_CHANGED? _UPDATE_NEEDED? > > Tbh, I'm not quite sure this makes sense for me yet... will continue > reading, but this probably needs a 'why'. SCHIB_CHANGED or something like this sounds better indeed. :) > >> The update of the SCHIB is now done inside the FSM function. >> >> Signed-off-by: Pierre Morel >> --- >> drivers/s390/cio/vfio_ccw_drv.c | 33 +++++++++++++-------------------- >> drivers/s390/cio/vfio_ccw_fsm.c | 23 +++++++++++++++++++++++ >> drivers/s390/cio/vfio_ccw_private.h | 3 +++ >> 3 files changed, 39 insertions(+), 20 deletions(-) -- Pierre Morel Linux/KVM/QEMU in Böblingen - Germany