Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp86950imm; Tue, 19 Jun 2018 16:30:51 -0700 (PDT) X-Google-Smtp-Source: ADUXVKL6wWsbzgijEhfy0dpGRy4d04dTpUbDw64aGMd/Kkr/HrwR7zUzLQixCSMb/B5nGUl4WIp3 X-Received: by 2002:a63:6e08:: with SMTP id j8-v6mr16614260pgc.428.1529451051646; Tue, 19 Jun 2018 16:30:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529451051; cv=none; d=google.com; s=arc-20160816; b=ktT8JwEHUSHfKKLmnptfTu8N1iRwD3aOdgw3A3+RKKWVqIE2QbTOkF/N951P2biwXZ 9F4xUIotzoRysINXtx7LjRccHvxajGcB8n76S072KXulKo0Osr5prDoR3BUT7rRMKons WQMLQhuCtOFSLGd9wH1Me2vqj8zYYYFUAB4W4+5HdnOikodu+fjkhN3HdZiW9zFvKjPt CGryx5NUGPoOgIKEmDW1MBZOkihCgE8YjGiJoV3fKqWWCNT+acVOz3+eOrFLkHISCksr +oO1vvACqp6Od8mdpt4czqnPLfJq1vJVmDHittudwsm4uaeFAXWbT9Hgk1M1Ky6m3lp/ fpzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:user-agent:in-reply-to :content-disposition:mime-version:references:subject:cc:to:from:date :arc-authentication-results; bh=goA60QqbF+YU3sY8vuqq2PRpAtxYqD+n4hHI0c0K0/w=; b=uKI6xms0eWEWk19RoRVVCysQ6VQhkubhTV8d1pa7QrWwSsfVM54YpBjn0IR8v2LjRD GTKrN/+Lqy6emLCpN3tVBhtkKzj++NXdeTWXMyz79E6PtRTtmcOlHP+ts78nlv5OW1uA RsCPKgpQzroaUnnPK5x81m1xudSonVVV6m2m2No8fWAQWPhHFyLgnRsiXtmbjJ9qiu4t aIU9lzQ4ykQ5uqbVbxczLEhm6I3E5VSiKn/+y/b32wbKsds6iNUiQX5v3ghcXVEyBj35 3EH7VD0bn+up0l4kOg42Fh+UgELn0ZtVN/IHdNBGdN3YBOHn7oZI3JnzOnUMZIG4LssU FMDA== 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 o10-v6si847707pll.158.2018.06.19.16.30.37; Tue, 19 Jun 2018 16:30:51 -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 S1752747AbeFSX3k (ORCPT + 99 others); Tue, 19 Jun 2018 19:29:40 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:48916 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751655AbeFSX3i (ORCPT ); Tue, 19 Jun 2018 19:29:38 -0400 Received: from pps.filterd (m0098394.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w5JNTC6L110166 for ; Tue, 19 Jun 2018 19:29:37 -0400 Received: from e17.ny.us.ibm.com (e17.ny.us.ibm.com [129.33.205.207]) by mx0a-001b2d01.pphosted.com with ESMTP id 2jq809ypp2-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 19 Jun 2018 19:29:37 -0400 Received: from localhost by e17.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 19 Jun 2018 19:29:36 -0400 Received: from b01cxnp22036.gho.pok.ibm.com (9.57.198.26) by e17.ny.us.ibm.com (146.89.104.204) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Tue, 19 Jun 2018 19:29:32 -0400 Received: from b01ledav004.gho.pok.ibm.com (b01ledav004.gho.pok.ibm.com [9.57.199.109]) by b01cxnp22036.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w5JNTWr548758826 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 19 Jun 2018 23:29:32 GMT Received: from b01ledav004.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 5F5CE112061; Tue, 19 Jun 2018 19:29:29 -0400 (EDT) Received: from b01ledav004.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 98D45112062; Tue, 19 Jun 2018 19:29:28 -0400 (EDT) Received: from p8tul1-build.aus.stglabs.ibm.com (unknown [9.3.141.206]) by b01ledav004.gho.pok.ibm.com (Postfix) with ESMTPS; Tue, 19 Jun 2018 19:29:28 -0400 (EDT) Date: Tue, 19 Jun 2018 18:29:30 -0500 From: "Matthew R. Ochs" To: Souptick Joarder Cc: Uma Krishnan , Matthew Wilcox , "Manoj N. Kumar" , James Bottomley , "Martin K. Petersen" , linux-scsi , linux-kernel@vger.kernel.org, Sabyasachi Gupta , brajeswar.linux@gmail.com Subject: Re: [PATCH] scsi: cxlflash: Change return type for fault handler References: <20180611194204.GA18687@jordon-HP-15-Notebook-PC> <20180613232347.GA3851@p8tul1-build.aus.stglabs.ibm.com> <1E0C8AFA-5168-4916-932E-8E1C3F0EADE6@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-TM-AS-GCONF: 00 x-cbid: 18061923-0040-0000-0000-000004427A41 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00009222; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000265; SDB=6.01049451; UDB=6.00537736; IPR=6.00828425; MB=3.00021747; MTD=3.00000008; XFM=3.00000015; UTC=2018-06-19 23:29:35 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18061923-0041-0000-0000-0000084889BF Message-Id: <20180619232930.GB10658@p8tul1-build.aus.stglabs.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-06-19_12:,, 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=961 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1805220000 definitions=main-1806190250 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 19, 2018 at 11:11:35PM +0530, Souptick Joarder wrote: > On Tue, Jun 19, 2018 at 7:41 PM, Uma Krishnan > wrote: > > > > > >> On Jun 19, 2018, at 12:10 AM, Souptick Joarder wrote: > >> > >> On Thu, Jun 14, 2018 at 4:53 AM, Matthew R. Ochs > >> wrote: > >>> On Tue, Jun 12, 2018 at 01:12:04AM +0530, Souptick Joarder wrote: > >>>> Use new return type vm_fault_t for fault handler. For > >>>> now, this is just documenting that the function returns > >>>> a VM_FAULT value rather than an errno. Once all instances > >>>> are converted, vm_fault_t will become a distinct type. > >>>> > >>>> Ref-> commit 1c8f422059ae ("mm: change return type to vm_fault_t") > >>>> > >>>> Signed-off-by: Souptick Joarder > >>> > >>> This looks fine to me. > >>> > >>> FYI that there is another handler for this driver in a series > >>> destined for 4.18 and currently in next/master. > >>> > >>> Acked-by: Matthew R. Ochs > >>> > >> > >> Matthew, is this patch queued for 4.19 ? > >> > > Below is the commit that added fault handler in ocxl. It is in 4.18 rc1 (upstream/master tree) > > > > commit 93b8f8df552c5a30bfddb75a632f1b2a436c2cae > > scsi: cxlflash: Support adapter context mmap and release > > > No, that's a different patch with commit > 93b8f8df552c5a30bfddb75a632f1b2a436c2cae. > Not the patch under discussion in this mail thread :) > > Anyway the other patch with commit 93b8f8df552c5a30b also has to be modified > to use new return type vm_fault_t for fault handler ocxlflash_mmap_fault(). > > Shall I modify and submit the same ? > Since this has not yet been queued for 4.19, please submit a v2 with the modifications to also update the return type for ocxlflash_mmap_fault(). -matt