Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp5461832imm; Tue, 19 Jun 2018 10:43:12 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLAiI4KYogd5rp2TAwjjJKxphrBkdBofgxE6Hhrgf99bPhJ27o+NtRX+nyV6ft6IY3hdGcn X-Received: by 2002:a17:902:988f:: with SMTP id s15-v6mr19969076plp.95.1529430192668; Tue, 19 Jun 2018 10:43:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529430192; cv=none; d=google.com; s=arc-20160816; b=K52fkW0JxyWyUOyLtG3LYOl5wxeLYOoo9mcrdD7TMbBoF33jB6IjKKoKxFn75xbjZ3 nKk6LASvN3i3UFKYFVm62IQ9UsMCNMGPvb7P6ShTMjNJU2Tfa6GEly75P91+A/hKIcXN zbi7ruFiHwIEOns1MCh7CoYQPpSFyCIqT/ddcm6KXQejKM8HvOvUmXtRn3CkV5kyVd9Q uGJrj2E6PQvPJz0xErzLtJl6qGES/6+9nZT5F4HDIwt8axP6vickIHF33WGGZ6T13Kq9 b12d/ZWf+NGI7H755V/z2bHVshjO8nyhljmYSyYWeg/T/CI8gM96ip6Q6OpZnRtUkrv+ HXDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=HgRhM9AaleTo4Djg+8R1yt02pVFmI3wEuCaOcqSW5XQ=; b=kxdCNPnVZKpwt+/4BmBzm+T05fL9TGfc/QMOHoL3QdOb6YMWBGleTFEV2N3oDKR8U9 oGwUdf+uQysPvEci4MbcjJGpKs2/UE9M1WENaXnra+SJnhVDN+1BB0Z0z6RWrspfqLcZ /n0Aov30uljXJ2OOLJZsBmCTbT5hG13hh3A31RXUSoKxhlD0uB7eRGpGAIjy+BaWaaC5 Y5Us8wjJncSC8K2stk8tjNU+4ByOBCFTxlaZuFF6OVRu3F5pNKlP1cfGFgRY027Ru8lr ucm4XO1oQMUBn9gOyBrQIedoq+f6ijbInBeWKkQL+Eqrmsawd+lfTkzFanXyTiqax0th PfUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=S7zJPbGb; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b2-v6si244304plz.118.2018.06.19.10.42.45; Tue, 19 Jun 2018 10:43:12 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=S7zJPbGb; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030354AbeFSRlk (ORCPT + 99 others); Tue, 19 Jun 2018 13:41:40 -0400 Received: from mail-lf0-f66.google.com ([209.85.215.66]:41799 "EHLO mail-lf0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030242AbeFSRli (ORCPT ); Tue, 19 Jun 2018 13:41:38 -0400 Received: by mail-lf0-f66.google.com with SMTP id d24-v6so751892lfa.8; Tue, 19 Jun 2018 10:41:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=HgRhM9AaleTo4Djg+8R1yt02pVFmI3wEuCaOcqSW5XQ=; b=S7zJPbGbNX8B+qb4IhwzE7h920i3/v19+lRBaKXyWlsgLYdiVqKPUpSINo+v3LRbQF 5Aa5MROr8tFcZbkuss/J0Gg1IAzxAG+5FEGquDLHtPVWSRIE+UtkKs1PGc3UBpLObd2k Q6hdthF0UkoH6VwKeeMP6AK/uCJQg1UkNcGF1LPhYliomcUqeL6IvuQtWVwauNngM1U5 RHvpZNDIBzFBANuMmNhZE0K3mtrF879rmevLdCVUpej9LmshgQiwY+MwJi9dAR1RkSPw QKB8k/nFfsImi24lIu8oblSv2/GCoJGyZ2pu8T+T1fQ+WHQgb6r8CW1F0MYPTIfNrSHd eeEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=HgRhM9AaleTo4Djg+8R1yt02pVFmI3wEuCaOcqSW5XQ=; b=f1R0Pjruqxj3Z4zba+WD4QgZBVfsTiydv1GKX1PCwxVADrOBhDINpTbRARPsn30x2s QN9u+PxgesRWQM3TFHkE4jt30LFHgsLPVw4UzhCgwctJygoq4LW0sVpL7M9kaKwe8Tyc tC+mKo+mkKZ5O8dbzphoKHQRovWZhRebxqP7I5TvJ9a0F9XnZrwcXWcF6bK5VlUgWGah eNkO38xYAdVmpf22L74YOeviqA0bCwJnop+ZgAG1Jh5dl18gFWmifMU2l2ccUU4qM8rZ L5mL04gO21Zlg0vGG+ejE5VqZxQh45mRt1Yd5bavcBfySQYIaAL1M6DB62IUPckOjhFU la0A== X-Gm-Message-State: APt69E0qZR8kUlQZ3Gl4UwS6bHT7mJyu9ic9oluF0AT01mOSXz+cPAGd 7X/UFvilMmRJ16C1Hu98PpO+ab33Sj7R7oUl6Tg= X-Received: by 2002:a2e:93c9:: with SMTP id p9-v6mr12171373ljh.117.1529430096547; Tue, 19 Jun 2018 10:41:36 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a19:2b43:0:0:0:0:0 with HTTP; Tue, 19 Jun 2018 10:41:35 -0700 (PDT) In-Reply-To: <1E0C8AFA-5168-4916-932E-8E1C3F0EADE6@linux.vnet.ibm.com> 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> From: Souptick Joarder Date: Tue, 19 Jun 2018 23:11:35 +0530 Message-ID: Subject: Re: [PATCH] scsi: cxlflash: Change return type for fault handler To: Uma Krishnan Cc: "Matthew R. Ochs" , Matthew Wilcox , "Manoj N. Kumar" , James Bottomley , "Martin K. Petersen" , linux-scsi , linux-kernel@vger.kernel.org, Sabyasachi Gupta , brajeswar.linux@gmail.com Content-Type: text/plain; charset="UTF-8" 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 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 ?