Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4335407imm; Mon, 11 Jun 2018 10:32:35 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJUTb9b+4wkNPBCewFWRI6ZP1OQYxKliI2MwPs3cvOLrcv2NdtWa8o/SonSbg4u2YpKoETA X-Received: by 2002:a62:ff1d:: with SMTP id b29-v6mr84648pfn.181.1528738355576; Mon, 11 Jun 2018 10:32:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528738355; cv=none; d=google.com; s=arc-20160816; b=XVuX444Og9Ex7JUrD6GXBalgGrTY5IYoy80B8lD4C1hb3ytBmAzIQY80xDTvIdB2bQ 3yrwzfSwchCY4cW4NDFt5ww7XaIEwO7NVporbemrCP7JH+Hk7OwF+tRFuOwevInnKOJL ce4h2X+Szd7TUEHukQxKdTlps8TlXJDmll0WXLMwpyHt3qNY8YTMlpOIRemms5kfZfnW yja67yJmVHjlv/qxryVr473477Kbllo6TUwytgHtJqoEH1iG4By24ncTCSBccFUx2Qek Ze7jeHmJdiNHaHoj6vOHKOh0b3f1OLbx8u2JKDNJFRw5thAYSvkvT2EfQgPmiN4HlHI4 Xvew== 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=Uctcxi7NeWlymsbRfKNCb0fqTkjdRjFL/qtpmu8rojs=; b=k+94CSSwE+tnz2RmawLYF0Uk9CZr8MxkTDdSzG0DfXjfJrIfBdmTwkBStKrk+tF4B9 R6QsrPVtlSzwsIMLAbW593yMMk/fY5woC1mDOlnLhHHrhGl+5597ZsviGbvFjrIKOaWa vZKBUD1dut2cEC7D32c/Wf3bMRLf31fz9lS0OnMhqhq/ucurpMKm0KJvIDyGnpK97z1E jap7Zzr8ceXkbiqtnGRM3M6v81/9qm09cGserTY9ixzENanbEYBxsWvaZch/oMddQUsW heYGtQUH4xnf3SdGXvATfJEvaebCZWLOrOtnV6EnPE/bkPiZkBgG01ovgrLObuCMGZ/8 302A== 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 3-v6si62611550plm.428.2018.06.11.10.31.51; Mon, 11 Jun 2018 10:32:35 -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 S933988AbeFKQys (ORCPT + 99 others); Mon, 11 Jun 2018 12:54:48 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:59502 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933969AbeFKQyq (ORCPT ); Mon, 11 Jun 2018 12:54:46 -0400 Received: from pps.filterd (m0098393.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w5BGsHHb025047 for ; Mon, 11 Jun 2018 12:54:46 -0400 Received: from e14.ny.us.ibm.com (e14.ny.us.ibm.com [129.33.205.204]) by mx0a-001b2d01.pphosted.com with ESMTP id 2jhvuh0e91-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 11 Jun 2018 12:54:45 -0400 Received: from localhost by e14.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 11 Jun 2018 12:54:44 -0400 Received: from b01cxnp23032.gho.pok.ibm.com (9.57.198.27) by e14.ny.us.ibm.com (146.89.104.201) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Mon, 11 Jun 2018 12:54:39 -0400 Received: from b01ledav004.gho.pok.ibm.com (b01ledav004.gho.pok.ibm.com [9.57.199.109]) by b01cxnp23032.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w5BGsb9S8454624 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 11 Jun 2018 16:54:37 GMT Received: from b01ledav004.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id CB230112061; Mon, 11 Jun 2018 12:54:35 -0400 (EDT) Received: from b01ledav004.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 430DD112065; Mon, 11 Jun 2018 12:54:34 -0400 (EDT) Received: from oc8043147753.ibm.com (unknown [9.85.207.139]) by b01ledav004.gho.pok.ibm.com (Postfix) with ESMTP; Mon, 11 Jun 2018 12:54:34 -0400 (EDT) Subject: Re: [PATCH v5 11/13] KVM: s390: implement mediated device open callback To: Halil Pasic , Janosch Frank , pmorel@linux.ibm.com, linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org Cc: freude@de.ibm.com, schwidefsky@de.ibm.com, heiko.carstens@de.ibm.com, borntraeger@de.ibm.com, cohuck@redhat.com, kwankhede@nvidia.com, bjsdjshi@linux.vnet.ibm.com, pbonzini@redhat.com, alex.williamson@redhat.com, pmorel@linux.vnet.ibm.com, alifm@linux.vnet.ibm.com, mjrosato@linux.vnet.ibm.com, jjherne@linux.vnet.ibm.com, thuth@redhat.com, pasic@linux.vnet.ibm.com, berrange@redhat.com, fiuczy@linux.vnet.ibm.com, buendgen@de.ibm.com, Janosch Frank References: <1525705912-12815-1-git-send-email-akrowiak@linux.vnet.ibm.com> <93cd0f46-a410-51c8-00b9-810c1b3d3ae2@linux.ibm.com> <0f37dc39-7355-19e5-40c9-a02a1ea58c2d@linux.vnet.ibm.com> <736a1346-f81a-7f71-7d13-38729ff78e4f@linux.ibm.com> <8f68183d-8385-8025-1898-23cad604ae94@linux.vnet.ibm.com> <9e30c9b0-a04c-0c4e-9d3d-37e7a53a7f72@linux.ibm.com> <5f9c3f97-34e2-bf68-b8ca-ac9288ea5efa@linux.vnet.ibm.com> <010679ed-bd80-42f8-3f6f-e4dee10e82f5@linux.ibm.com> From: Tony Krowiak Date: Mon, 11 Jun 2018 12:54:35 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-TM-AS-GCONF: 00 x-cbid: 18061116-0052-0000-0000-000002FBFAD0 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00009171; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000265; SDB=6.01045482; UDB=6.00535357; IPR=6.00824460; MB=3.00021582; MTD=3.00000008; XFM=3.00000015; UTC=2018-06-11 16:54:42 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18061116-0053-0000-0000-00005CFA4D12 Message-Id: <25428d65-bb54-c92e-bc0e-69f67156e886@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-06-11_08:,, 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=662 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1805220000 definitions=main-1806110193 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/11/2018 12:50 PM, Halil Pasic wrote: > > > On 06/11/2018 06:26 PM, Tony Krowiak wrote: >>>> @Janosch: Does core KVM share my opinion? >>> At least I do. >>> >>> KVM does not care about who has which crypto queue/card. >>> I'd like to have a driver that does internal bookkeeping and then >>> registers the crycb with KVM, so the VM can use it. >> >> I am not sure what you mean by "registers the crycb with KVM". >> Can you provide more detail? >> > > I'm pretty sure he means copy the masks form the internal bookkeeping > in the mdev device to the CRYCB fields. Please work on this assumption. Will do. > > > Halil