From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 81CA8C433F5 for ; Thu, 21 Oct 2021 13:51:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6A4A6611F2 for ; Thu, 21 Oct 2021 13:51:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231207AbhJUNxX (ORCPT ); Thu, 21 Oct 2021 09:53:23 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:31318 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231203AbhJUNxW (ORCPT ); Thu, 21 Oct 2021 09:53:22 -0400 Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 19LBmFYm000410; Thu, 21 Oct 2021 09:50:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=pp1; bh=d14w0g8tRnMjwP/1zNSn1u/1Y8YLZR36+3iNTDkZh8I=; b=Lg/nCcRThY7W9THtk9v1eTDRaJuTzuTgzNrwThBoZ35cAkzZ15UqSYVKIAX+jbnG05u1 +RmUUAEIJ3OulA0gJ/GHGSI4ayGGmhk9ZDJ0p0p2I5DdoKDS3F8yvzBf0NFEL37TLNgV EWWf0ejp+1k0kBiMlom4W8JB2wD0Bhc9OLmaK11sekmrxE7zr9nj5Z1HyubV6MFnAISK KG9MxVBCInAvylwllgQJhYN1ldl7PsnNAFeryJq3E9RUkhj+h+ZJtFg+jI/fne3RBdKr zmH7/ZL4U5XowaUyLcn7bq9nxW/+n5Z9CWMKl9edGkWYagtfXC+8cVAeKpdjzyAa/Abf IA== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com with ESMTP id 3bu7neawmr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Oct 2021 09:50:54 -0400 Received: from m0098396.ppops.net (m0098396.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.43/8.16.0.43) with SMTP id 19LCnquk017418; Thu, 21 Oct 2021 09:50:54 -0400 Received: from ppma04wdc.us.ibm.com (1a.90.2fa9.ip4.static.sl-reverse.com [169.47.144.26]) by mx0a-001b2d01.pphosted.com with ESMTP id 3bu7neawm7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Oct 2021 09:50:54 -0400 Received: from pps.filterd (ppma04wdc.us.ibm.com [127.0.0.1]) by ppma04wdc.us.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 19LDhURC005979; Thu, 21 Oct 2021 13:50:52 GMT Received: from b01cxnp23034.gho.pok.ibm.com (b01cxnp23034.gho.pok.ibm.com [9.57.198.29]) by ppma04wdc.us.ibm.com with ESMTP id 3bqpccdhtw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Oct 2021 13:50:52 +0000 Received: from b01ledav006.gho.pok.ibm.com (b01ledav006.gho.pok.ibm.com [9.57.199.111]) by b01cxnp23034.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 19LDopjk38273510 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 21 Oct 2021 13:50:51 GMT Received: from b01ledav006.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 64589AC05F; Thu, 21 Oct 2021 13:50:51 +0000 (GMT) Received: from b01ledav006.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id DDC04AC059; Thu, 21 Oct 2021 13:50:45 +0000 (GMT) Received: from li-c92d2ccc-254b-11b2-a85c-a700b5bfb098.ibm.com (unknown [9.211.103.136]) by b01ledav006.gho.pok.ibm.com (Postfix) with ESMTP; Thu, 21 Oct 2021 13:50:45 +0000 (GMT) Subject: Re: [PATCH v3 02/10] vfio/ccw: Use functions for alloc/free of the vfio_ccw_private To: Jason Gunthorpe , David Airlie , Tony Krowiak , Alex Williamson , Christian Borntraeger , Cornelia Huck , Jonathan Corbet , Daniel Vetter , dri-devel@lists.freedesktop.org, Eric Farman , Harald Freudenberger , Vasily Gorbik , Heiko Carstens , intel-gfx@lists.freedesktop.org, intel-gvt-dev@lists.freedesktop.org, Jani Nikula , Jason Herne , Joonas Lahtinen , kvm@vger.kernel.org, Kirti Wankhede , linux-doc@vger.kernel.org, linux-s390@vger.kernel.org, Peter Oberparleiter , Halil Pasic , Rodrigo Vivi , Vineeth Vijayan , Zhenyu Wang , Zhi Wang Cc: Christoph Hellwig , Christoph Hellwig References: <2-v3-57c1502c62fd+2190-ccw_mdev_jgg@nvidia.com> From: Matthew Rosato Message-ID: Date: Thu, 21 Oct 2021 09:50:44 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: <2-v3-57c1502c62fd+2190-ccw_mdev_jgg@nvidia.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: OMk12XytGYsZSzM7d5PGpXAUx36OhJuG X-Proofpoint-GUID: eErX0QzMpAEo3M3GdgZUorSNXEG2-ggA X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-10-21_04,2021-10-21_02,2020-04-07_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 suspectscore=0 bulkscore=0 spamscore=0 mlxlogscore=982 mlxscore=0 clxscore=1015 priorityscore=1501 impostorscore=0 malwarescore=0 phishscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2109230001 definitions=main-2110210072 Precedence: bulk List-ID: X-Mailing-List: linux-doc@vger.kernel.org On 10/1/21 1:52 PM, Jason Gunthorpe wrote: > Makes the code easier to understand what is memory lifecycle and what is > other stuff. > > Reviewed-by: Eric Farman > Signed-off-by: Jason Gunthorpe Reviewed-by: Matthew Rosato