Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4417315imm; Mon, 11 Jun 2018 12:00:31 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKzgebqN+j0hkr4gdc9LKY6RFM7SVrY7E0N/K9b8VbxRjExNa3j3xSVlRIJCdWRU+ZoNIPK X-Received: by 2002:a63:b609:: with SMTP id j9-v6mr292166pgf.335.1528743631439; Mon, 11 Jun 2018 12:00:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528743631; cv=none; d=google.com; s=arc-20160816; b=TWvZbKlvJlCYo/4QGVpQjRjLbve45YVt5EtPCcrCL6Tfb443wvMT+Ct+IPlwGT56GL PmsViyNCANPMONnov97BwPJqch+g0v4Rq3AXmgAM7r49L/PCUK3VqzlfRo5bVCUdSac9 tke2x7GJznSkAxIlk1iPyQ6+o0CxurBD60/Rru4F/nEof/u8s7TnSSlf+xN42nr0sy0x dl1O497/u0HmpkRivSa72w5m+qT1gHOk6KApjjB1t2o0RzDgJl84q4zMLqd7lQhN51RU sWlBMZwpp4MQG3CFjgrT2OGFWEAPcA8dZdum2by+wOyawxZXPGg0Vyi94vYFnPfIae3X JKjw== 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=/JD2r1IF+ErJVCJPp+IdgPVJD53rzYYtUTgb0YhX5pI=; b=mTrQyaB39J4X1HZx/yljXXB5vDfKmJCHyBxOAaYXZGN7THkppm5jz8gzYZE1gRrKnn VScKWjcnWWS0yUmhCXZoQr1Pgi6JqYoxsJlOL3aOX2UrkSDRxhPPQW91WqAU50G5oVIx Foq/1edgtgkTL5fmWJyOuws+vZ8kxQLMt80I8ooDQAjF56dExVkVq6ptrgknoS/yLBrY LXeY4pmnbITeMAj8eqGs1I/JxZ91mxOdxFSFTiAcHC/RZ+F3nUX8P0aXZGlWmsE6Zflq VCgcVuCg6ZjtebjN5hmrETsATemqlAxqw6hRpcxlndx1wua4TNNcV2aAya19zGZ8bInI E7XA== 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 95-v6si64618251plc.383.2018.06.11.12.00.14; Mon, 11 Jun 2018 12:00: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 S933862AbeFKQus (ORCPT + 99 others); Mon, 11 Jun 2018 12:50:48 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:60892 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S933132AbeFKQuq (ORCPT ); Mon, 11 Jun 2018 12:50:46 -0400 Received: from pps.filterd (m0098420.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w5BGmlTc009082 for ; Mon, 11 Jun 2018 12:50:45 -0400 Received: from e06smtp03.uk.ibm.com (e06smtp03.uk.ibm.com [195.75.94.99]) by mx0b-001b2d01.pphosted.com with ESMTP id 2jhug4caen-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 11 Jun 2018 12:50:45 -0400 Received: from localhost by e06smtp03.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 11 Jun 2018 17:50:43 +0100 Received: from b06cxnps3075.portsmouth.uk.ibm.com (9.149.109.195) by e06smtp03.uk.ibm.com (192.168.101.133) 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 17:50:40 +0100 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w5BGocna31654026 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 11 Jun 2018 16:50:38 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A12C3AE04D; Mon, 11 Jun 2018 17:39:30 +0100 (BST) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 6535BAE055; Mon, 11 Jun 2018 17:39:29 +0100 (BST) Received: from oc3836556865.ibm.com (unknown [9.152.224.108]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTP; Mon, 11 Jun 2018 17:39:29 +0100 (BST) Subject: Re: [PATCH v5 11/13] KVM: s390: implement mediated device open callback To: Tony Krowiak , 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> <7bb480ac-5723-83ff-c797-53c1ab0458c1@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: Halil Pasic Date: Mon, 11 Jun 2018 18:50:36 +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: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 x-cbid: 18061116-0012-0000-0000-0000027E3693 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18061116-0013-0000-0000-000020AF48EB Message-Id: 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=656 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1805220000 definitions=main-1806110192 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Halil