Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2454824yba; Mon, 15 Apr 2019 12:00:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqzTEUUdmNF7GlLhWH95SgJjxExLlt3K8zNZsClg2YIwWYykWhYn/jYXedo22c5DjifqVyx7 X-Received: by 2002:a17:902:bc47:: with SMTP id t7mr52572229plz.122.1555354854876; Mon, 15 Apr 2019 12:00:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555354854; cv=none; d=google.com; s=arc-20160816; b=A0Knafmavgcrt6bjX6Jf947wmDkzQMW6PieIsNxmzxwVX19UrhdlkYqYGnZXys/if+ Dz/8SCKmdqcTZBK0ZpKMB1+H9B962rn6dgnDtd7DItFbkeWA9wQFjVqNMissFeVSfWYA Le0HwjOYgGRmNiQHDFkpTaOp08RuuUwMHtrw8QHkgg6q/22Q3A9zdWJTs1mTnf1aXmIh xZs4DlCophkUBoTdR6ZYD3twLqYga30hh7M72W+hEIzPD62P2cRVovnPeWXPV6YeYck7 Y7sTKopoZaLEAiF0rUAUNjtcC2XEzSqMCrQjDBtKqyXU95+Maw2d4oMm0fsHRxsTv2Bt PyKA== 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 :mime-version:organization:references:in-reply-to:subject:cc:to:from :date; bh=zIDi3h6q+u73mbzAgj8LCg9tslSnZXhvwYJdhxmKPT8=; b=IkXFb/2Gm5Jy8QgRix7QxubYB4jCErYtKyd8knDjSBoe7UvyOo1XzF0WX7bhy34EqJ lU+4bFphi1o3SrKMprNQpWefkevelJiuApGHvGgtfsqe+WeUOXKy2e4fGhFstZ0M+tf8 P372JtPp9a7QvTD9BE47eOtDTbsI/W8I4eazFT9mR5sTdj2ynDVTYPwnrBJIL5Le6jEy i70IOJQo6MVi/tAz3oI85WXDqptFGASno12TmV5TyXRSmniEA0suEVn2MsSbGzR8g4T4 z8owNphjL6X9AcI2Q+iupeKehUsTadGdi8tgemBkAFMzJWfgmvA+DqH/eR9c2YrKvqyE qjXg== 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 l62si33188036pfc.65.2019.04.15.12.00.36; Mon, 15 Apr 2019 12:00:54 -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 S1728200AbfDOTAB (ORCPT + 99 others); Mon, 15 Apr 2019 15:00:01 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:47220 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728061AbfDOTAA (ORCPT ); Mon, 15 Apr 2019 15:00:00 -0400 Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x3FIxpZ0018917 for ; Mon, 15 Apr 2019 14:59:59 -0400 Received: from e06smtp02.uk.ibm.com (e06smtp02.uk.ibm.com [195.75.94.98]) by mx0a-001b2d01.pphosted.com with ESMTP id 2rvwm65p2e-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 15 Apr 2019 14:59:59 -0400 Received: from localhost by e06smtp02.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 15 Apr 2019 19:59:57 +0100 Received: from b06cxnps4075.portsmouth.uk.ibm.com (9.149.109.197) by e06smtp02.uk.ibm.com (192.168.101.132) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Mon, 15 Apr 2019 19:59:53 +0100 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x3FIxqTB47841400 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 15 Apr 2019 18:59:52 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2EBA8AE070; Mon, 15 Apr 2019 18:59:52 +0000 (GMT) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A0054AE087; Mon, 15 Apr 2019 18:59:51 +0000 (GMT) Received: from oc2783563651 (unknown [9.152.224.66]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTP; Mon, 15 Apr 2019 18:59:51 +0000 (GMT) Date: Mon, 15 Apr 2019 20:59:50 +0200 From: Halil Pasic To: Tony Krowiak Cc: Cornelia Huck , Harald Freudenberger , linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, Reinhard Buendgen , borntraeger@de.ibm.com, frankja@linux.ibm.com, david@redhat.com, schwidefsky@de.ibm.com, heiko.carstens@de.ibm.com, pmorel@linux.ibm.com, alex.williamson@redhat.com, kwankhede@nvidia.com Subject: Re: [PATCH 1/7] s390: zcrypt: driver callback to indicate resource in use In-Reply-To: <3d762e51-7210-529f-61de-98d80689bff6@linux.ibm.com> References: <1555016604-2008-1-git-send-email-akrowiak@linux.ibm.com> <1555016604-2008-2-git-send-email-akrowiak@linux.ibm.com> <223c82c7-6a75-7209-3652-c2341c83878f@linux.ibm.com> <20190412114313.0156c01b.cohuck@redhat.com> <89f09e58-eab6-94d4-c5aa-937162d60744@linux.ibm.com> <20190415115030.1df61182.cohuck@redhat.com> <3d762e51-7210-529f-61de-98d80689bff6@linux.ibm.com> Organization: IBM X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.31; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 19041518-0008-0000-0000-000002DA18C9 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19041518-0009-0000-0000-000022464E4A Message-Id: <20190415205950.7655cee3@oc2783563651> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-04-15_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 mlxscore=0 impostorscore=0 mlxlogscore=815 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1904150131 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 15 Apr 2019 12:51:23 -0400 Tony Krowiak wrote: > Having said that, I understand your concern about a driver hogging > resources. I think I can provide a solution that serves both the > purpose of preventing problems associated with accidental removal > of AP resources as well as allowing root to remove them > forcefully. I'll work on that for v2. Can you tell us some more about this solution? Should we stop reviewing v1 because v2 is going to be different anyway? Regards, Halil