Received: by 10.192.165.148 with SMTP id m20csp3995829imm; Mon, 30 Apr 2018 09:52:31 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoes8Q0kEe0pnIFYqbOuuwZAAOvpKkDNavN3jE1KSRstVRmqUTfHukjOTrk8k+9KP6lhv+h X-Received: by 2002:a63:731c:: with SMTP id o28-v6mr10796215pgc.238.1525107151285; Mon, 30 Apr 2018 09:52:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525107151; cv=none; d=google.com; s=arc-20160816; b=LjCWXXryY1DEc/demBYaWb7wuDIhbVCfq3phccQFUWaMor93ARICZ9HMTaXu2OrCJr 3MHh+5tkWAEnOtXMOuCW842M1heccxoN+7RJeTA6Iy3+bk0T1CLkQzoXSCKRytgkIn5r txsQtA/iHFc5sK+V2muKGfNgm5yBZO9yy/M57oy4rfTwsa2sI1mlPc7KKFul2HTdeIiI kpnxzI53+f/2f9LEKiCflYXdUJA6fK58wDskA6apKN7PiF2LYf/En9ZL2DBs0gMxUXyM J5UD+ETrgxrqbFVXp3K7h6l459kWh5LrMS6D77IC5+Fo/PZiZaSot086vmoa3tACwnmN oEHQ== 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-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date:from :references:cc:to:subject:arc-authentication-results; bh=8K0ULcTi+VLr6iuxozBr2Zahh6JIWHJ5E/iT8WuivtI=; b=UbIpSirVb3uWDBqPXKXgdJl1qh6UQAW9dSoFXHb4b49bcxluzTLncYXiVu2nwJsylf PN4cqVsCUg8vHWpZ15Z9dA5vPBm7jXVj3/KLdSizqqAAImmzSxXKMpQiHGeW+EqzkqTh BrEpfrSPUhRHtDCgoTW3VK/fj08oGaIjDSNO+gUu6zRw2BwpSuG4ui8sL89O+CMAXEQK hryoys1NW2nJwpNkjaCbohc+E8r+JXr3MxqHl9prjDuDwATHTz3El9pKx4sJtWgU64uV 2rJeKbbzLCQ5i9kLZ/aRZioMawEPqq/y+BsqhwYvlw99EqE+9+xTBQfe2KSrQLQ9+2Ij koyA== 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 v12-v6si7676793plo.264.2018.04.30.09.52.16; Mon, 30 Apr 2018 09:52:31 -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 S1754938AbeD3QwC (ORCPT + 99 others); Mon, 30 Apr 2018 12:52:02 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:60012 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754848AbeD3QwA (ORCPT ); Mon, 30 Apr 2018 12:52:00 -0400 Received: from pps.filterd (m0098394.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w3UGnkiU033411 for ; Mon, 30 Apr 2018 12:52:00 -0400 Received: from e06smtp11.uk.ibm.com (e06smtp11.uk.ibm.com [195.75.94.107]) by mx0a-001b2d01.pphosted.com with ESMTP id 2hp3bqb54c-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 30 Apr 2018 12:52:00 -0400 Received: from localhost by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 30 Apr 2018 17:51:58 +0100 Received: from b06cxnps3075.portsmouth.uk.ibm.com (9.149.109.195) by e06smtp11.uk.ibm.com (192.168.101.141) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Mon, 30 Apr 2018 17:51:56 +0100 Received: from d06av24.portsmouth.uk.ibm.com (d06av24.portsmouth.uk.ibm.com [9.149.105.60]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w3UGpt8Q12779850; Mon, 30 Apr 2018 16:51:55 GMT Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 858214203F; Mon, 30 Apr 2018 17:43:09 +0100 (BST) Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E250C42049; Mon, 30 Apr 2018 17:43:08 +0100 (BST) Received: from oc3836556865.ibm.com (unknown [9.152.224.115]) by d06av24.portsmouth.uk.ibm.com (Postfix) with ESMTP; Mon, 30 Apr 2018 17:43:08 +0100 (BST) Subject: Re: [PATCH v2 5/5] vfio: ccw: add traceponits for interesting error paths To: Cornelia Huck Cc: Dong Jia Shi , Halil Pasic , linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org, kvm@vger.kernel.org, borntraeger@de.ibm.com, bjsdjshi@linux.ibm.com, pmorel@linux.ibm.com References: <20180423110113.59385-1-bjsdjshi@linux.vnet.ibm.com> <20180423110113.59385-6-bjsdjshi@linux.vnet.ibm.com> <20180427121353.4453bdc2.cohuck@redhat.com> <20180428055023.GS5428@bjsdjshi@linux.vnet.ibm.com> <20180430135153.1d108675.cohuck@redhat.com> <20180430170358.0ee6fe6a.cohuck@redhat.com> From: Halil Pasic Date: Mon, 30 Apr 2018 18:51:54 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180430170358.0ee6fe6a.cohuck@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 18043016-0040-0000-0000-0000045389C9 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18043016-0041-0000-0000-000020F7A20A Message-Id: <42c331bf-8ba1-7a67-5ec8-6bebcfad4ed7@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-04-30_07:,, 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-1804300161 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/30/2018 05:03 PM, Cornelia Huck wrote: >> I think the naming of this fctl thing is a bit cryptic, >> but if we don't see this as ABI I'm fine with it -- can be improved. >> What would be a better name? I was thinking along the lines accept_request. >> (Bad error code would mean that the request did not get accepted. Good >> code does not mean the requested function was performed successfully.) > I think fctl is fine (if you don't understand what 'fctl' is, you're > unlikely to understand it even if it were named differently.) > AFAIU this fctl is a bit more complicated than the normal fctl. But better let sleeping dogs lie. >> Also I think vfio_ccw_io_fctl with no zero error code would make sense >> as dev_warn. If I were an admin looking into a problem I would very much >> appreciate seeing something in the messages log (and not having to enable >> tracing first). This point seems to be a good one for high level 'request gone >> bad' kind of report. Opinions? > I'd also exclude -EOPNOTSUPP (as this also might happen with e.g. a halt/clear enabled user space, which probes availability of halt/clear support by giving it a try once (yes, I really want to post my patches this week.)) > I'm looking forward to the clear/halt. It hope it will help me understand the big vfio-ccw picture better. There are still dark spots, but I don't feel like doing something against this, as there is quite some activity going on here -- and I don't want to hamper the efforts by binding resources. Regards, Halil