Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp2520244rwi; Tue, 1 Nov 2022 08:34:20 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7osDBxfmCMLikLlJdNfqALXzrq10ak5Jf132agP0c+/kKcBJswiFjEvoySGDM3gfkuAAYC X-Received: by 2002:a17:903:2446:b0:17f:63a3:cb48 with SMTP id l6-20020a170903244600b0017f63a3cb48mr155548pls.123.1667316860604; Tue, 01 Nov 2022 08:34:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667316860; cv=none; d=google.com; s=arc-20160816; b=YHt8FjZaK2gF7uTU6qjLFDafNB7jBnZSb8CqO/83FSpSYxOBKTTIsmEBYl9gcpBKTD Mt1W4/7rbZ4qSvY0oLoPUbebvY9MaHZ+qsL+Hm3UN2+ldl9/lB4rDk5hXJT07ABbhHHD +YnAENfbXtBTKvTb+S9q/aOBc/qpLdqZV/yc9C7GNZnOAP8K4APW8gDAxGmrCziIN9Ry 8WufaEDCkR1SsW/Vm3R+O+mO0G3OOKjkdWxmtk7KqejJNSjvZtvI/TrWiZqy3m6SjZzv c697uQf71/QPehraXOJZBfznF8WDFyh8vK9eniLXACSm1gBKxTos2MPCSr3AhF4960ql LB+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=l16TtlhzB0Pcdi0ERi9GHqw9z75F7QJ6/wkkLykF1XM=; b=tXpU1/focWL9HKhhQAhW3vjkXMp5LqQusl6IJzs9Kijm+bYNyYuNPIBJQ4H/ElAkm2 iJCsz1gcVxQq+1E5H+ImpywHvL24qQ6eVCrPY41OvptMv8Z2zMcYyHZB0CWCjyEtBgm2 hRpbumBP3KH2//FKnPsrSCjSm/qvwdWlR7Y8ipDJ9Fev71MxwyTnQmdq6gGbcNeqH3jX lPb3tvO24ZKp6qnOwOU9Kd/8UHJkR4uweGvaPWduUtGdtwM9jVsi7Qc4fvYwJBqTkUnz RDHUSOP138F1QqzzZrTWq60GIPxj/sBjEYsYA+F7hIKNawPXyX65xL/9AvjfeKLWKChB VfDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=ng31r5Fu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 1-20020a17090a0a8100b00202c8fa5c54si11965980pjw.95.2022.11.01.08.34.06; Tue, 01 Nov 2022 08:34:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=ng31r5Fu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229887AbiKAOGg (ORCPT + 96 others); Tue, 1 Nov 2022 10:06:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60222 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229783AbiKAOGe (ORCPT ); Tue, 1 Nov 2022 10:06:34 -0400 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E1D0A1A3B9; Tue, 1 Nov 2022 07:06:32 -0700 (PDT) Received: from pps.filterd (m0098417.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 2A1DsTbF002180; Tue, 1 Nov 2022 14:06:02 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : subject : from : to : cc : date : in-reply-to : references : content-type : content-transfer-encoding : mime-version; s=pp1; bh=l16TtlhzB0Pcdi0ERi9GHqw9z75F7QJ6/wkkLykF1XM=; b=ng31r5Fu5tu2x0uCZqUJCHFp2RtvIACjBlF+cHG97I7rHk1Sjnh1zL1RhIsvICdhJrVy ssIL29OY2fmS9xMQdXr7WRz8PG+6yJoJ5hkaNLiRZLmjTTNPdVoDwugw/lVbJooZMnpa EPxc/aZ8SGnbemTZ/oaVpgkTbfm1XEuq2qMRRWEuhrwYeJZA35988YdJSPTvbSBFSIvC j1uvnCCRtZPLut6VBGByqOR0gGMl3BjpEU7AoKZvc8yKw6cFQs67AUi3dPoNhMHnFf6S FXHnu3nAx3SoZhJjsot3lbKq5cb5M5Frf9SudRZXe44xtwGZFa39oVvGABEAloUX9Eqz Yg== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3kjwjj64hs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 01 Nov 2022 14:06:01 +0000 Received: from m0098417.ppops.net (m0098417.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 2A1DVaqv012245; Tue, 1 Nov 2022 14:06:00 GMT Received: from ppma01wdc.us.ibm.com (fd.55.37a9.ip4.static.sl-reverse.com [169.55.85.253]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3kjwjj64gy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 01 Nov 2022 14:06:00 +0000 Received: from pps.filterd (ppma01wdc.us.ibm.com [127.0.0.1]) by ppma01wdc.us.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 2A1DoDJo028785; Tue, 1 Nov 2022 14:05:59 GMT Received: from b03cxnp07029.gho.boulder.ibm.com (b03cxnp07029.gho.boulder.ibm.com [9.17.130.16]) by ppma01wdc.us.ibm.com with ESMTP id 3kgut9mfph-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 01 Nov 2022 14:05:59 +0000 Received: from smtpav06.dal12v.mail.ibm.com ([9.208.128.130]) by b03cxnp07029.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 2A1E5v5N4915906 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 1 Nov 2022 14:05:57 GMT Received: from smtpav06.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1A81B58065; Tue, 1 Nov 2022 14:05:58 +0000 (GMT) Received: from smtpav06.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1A93958043; Tue, 1 Nov 2022 14:05:55 +0000 (GMT) Received: from li-479af74c-31f9-11b2-a85c-e4ddee11713b.ibm.com (unknown [9.65.225.56]) by smtpav06.dal12v.mail.ibm.com (Postfix) with ESMTP; Tue, 1 Nov 2022 14:05:54 +0000 (GMT) Message-ID: <079b2810baecce3eff38cc7961271b287823e800.camel@linux.ibm.com> Subject: Re: [PATCH v1 4/7] vfio/ccw: move private to mdev lifecycle From: Eric Farman To: "Tian, Kevin" , Matthew Rosato , Alex Williamson , Cornelia Huck , Jason Gunthorpe , "Liu, Yi L" Cc: Zhenyu Wang , "Wang, Zhi A" , Jani Nikula , Joonas Lahtinen , "Vivi, Rodrigo" , Tvrtko Ursulin , David Airlie , Daniel Vetter , Halil Pasic , Vineeth Vijayan , Peter Oberparleiter , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Sven Schnelle , Tony Krowiak , Jason Herne , Harald Freudenberger , Diana Craciun , Eric Auger , Kirti Wankhede , Abhishek Sahu , Yishai Hadas , "intel-gvt-dev@lists.freedesktop.org" , "intel-gfx@lists.freedesktop.org" , "dri-devel@lists.freedesktop.org" , "linux-kernel@vger.kernel.org" , "linux-s390@vger.kernel.org" , "kvm@vger.kernel.org" Date: Tue, 01 Nov 2022 10:05:54 -0400 In-Reply-To: References: <20221019162135.798901-1-farman@linux.ibm.com> <20221019162135.798901-5-farman@linux.ibm.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 User-Agent: Evolution 3.44.4 (3.44.4-2.fc36) MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: NYVMrctPKlGfItI3yDVl_9l2p63-4PZ0 X-Proofpoint-GUID: cbuwLFw51-qcHmaGvehXbCCd2yVkJUsd X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-11-01_07,2022-11-01_02,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 mlxlogscore=999 spamscore=0 bulkscore=0 priorityscore=1501 phishscore=0 clxscore=1015 malwarescore=0 lowpriorityscore=0 adultscore=0 impostorscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2210170000 definitions=main-2211010106 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gVHVlLCAyMDIyLTExLTAxIGF0IDA5OjA4ICswMDAwLCBUaWFuLCBLZXZpbiB3cm90ZToKPiA+ IEZyb206IEVyaWMgRmFybWFuIDxmYX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