Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp526312ybi; Fri, 7 Jun 2019 12:02:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqzlrrLT4ztZzqSwGxZkLvlL3oHuGUFoJ+X9PeixTESIuzRpEwj7NW54mNnXNtuu1RpJu7IT X-Received: by 2002:a62:648d:: with SMTP id y135mr51804445pfb.98.1559934177326; Fri, 07 Jun 2019 12:02:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559934177; cv=none; d=google.com; s=arc-20160816; b=QcR+3IkeLqbGqsLGugoyMANCGT9QMLWRhnVod0n5Hh+CQ4fo/0SclUjNo47k8V2BA8 PPvdcTGDSnhmmfqlpMqeH/tOwGVaU8Puq3Q4KgMfgVqGXvKI/6VpXDp9AMcIEPN7FIMp /6/RTnFdcNy/9pae0GgvTHpozfhWXeHaBFjm56cHaYkSE3AzDkIEsXxsT/F1JsEg6d7Z AVkFaUIkhaIAgEwzdfP3SxeQ2qZocZ4XJPWST4bcy7u9NZl2/eGWiPwBm7fdd5+zAEkw oXc0Xp37NCppekTH7TP7GthU9Sx7Y+BuIA0y5wuiVXAseutc10uQnGoDFVn7pBwVTd8c hRnA== 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 :in-reply-to:references:mime-version:dkim-signature; bh=gBZaGIwgweQnWOXVd6rMqfse78NHRo0T4EcStz9iVIQ=; b=Q0TI9a2jQgmwkwo3RIrMxcXQUKVaGiVHxXlN1prLU7PIpPO+XBQ6zOhjjFUwi50s18 Fkz/VyPCtOwFl+pxx8AZ3uTrKTjwNWkyz5ZVuCwt8ITtKen0BmSk7WOhAZ6HuvaspZO4 A8Otc14MGno+/Z54iWp1JYMPXD6vBZa2kJHzUj+FBYBYFfe5ksT3kmp0VULGDdAKDQuR H2Zdc/7UP0PaD/yCJGHn10TkDCgqRZ/Ph+Cd1lSHIzbHQbjRamY/yvRz8zjqrdJQTYSW QT1vHZN7u3FLonLswtUeP3EwrKnq9TPu27qCbp4Pb8DEM1Qr7OduzFwSVRUbpURdKd3l CToQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="ddD/HTEp"; 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 r3si2670248pjd.83.2019.06.07.12.02.40; Fri, 07 Jun 2019 12:02:57 -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="ddD/HTEp"; 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 S1731910AbfFGSjs (ORCPT + 99 others); Fri, 7 Jun 2019 14:39:48 -0400 Received: from mail-lf1-f67.google.com ([209.85.167.67]:42740 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729768AbfFGSjs (ORCPT ); Fri, 7 Jun 2019 14:39:48 -0400 Received: by mail-lf1-f67.google.com with SMTP id y13so2345514lfh.9 for ; Fri, 07 Jun 2019 11:39:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=gBZaGIwgweQnWOXVd6rMqfse78NHRo0T4EcStz9iVIQ=; b=ddD/HTEp9Q9UDuxE2OsndGwM27L5u0P3bcjGx9VditCdq16qF4fOWLiTkia5NCHEC/ 1v5Ost4CHsFNdQpW1cFlTs06z2zn4hlRi3dOhy0Uu7+Cxf2W9uhXNrH7aiYYWruJqyrO c5ApyyrOQkorfM3Yc7/u5WB/XIvCt0VDQo2wSmDP+4yRe/LxcSYNCqPkQFsIJSNX4La3 4W8LU8QK/BQczStVvqxD8XJF5uDRZ1lOn5p6x7JfqdxKrel1Q+hFosS6JIDFT0nZIc/8 N7iLBzKoc2lJGV8v/gHsjhktl8xmPYIastjNXFb/fJnBdnTgux/CvqhXOzNg1+7f+TIv 14Sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=gBZaGIwgweQnWOXVd6rMqfse78NHRo0T4EcStz9iVIQ=; b=J8TIIN8WEvlS9x9MHKevKPF3Esl2C7HSdHtWKQ9U4mHXruVPIA3YlfHtwxilLg2fxU 2+yU209OWP7CO5vS0EJc5PWjyDKcS6EkwqFILk+wnTgWFQrGy9Y3JAoxjYrglirsX8mj 29EismBPqUwFSrMd/hfGM0CGFIIfgnzhoni7FkZBL60VkdBxE2hEQCUwqYAwLtz+qaOG siVS2LX5rJ5zslJ1DvhSHQSPqS7gUM/u6o5or+vId9Q8hW8UH4vlusvbDxNg87S4XVne JMOvOJCDgt/4lMgg+LJw147cJRpM+LjX5+e1fPXq0Vz0GXgr5cJwMycGDloT9vAVp9cv PcKA== X-Gm-Message-State: APjAAAUnF/0vP/K+cRcRB/ZkqIm0OhQFxwZtANasvl+/psBnaxPlbOdc 5ABB3AFjei3W3g/FOJUpgXDa9oZyw9MR1ehyvLo= X-Received: by 2002:ac2:5189:: with SMTP id u9mr26487227lfi.189.1559932786305; Fri, 07 Jun 2019 11:39:46 -0700 (PDT) MIME-Version: 1.0 References: <1558378918-25279-1-git-send-email-jrdr.linux@gmail.com> In-Reply-To: <1558378918-25279-1-git-send-email-jrdr.linux@gmail.com> From: Souptick Joarder Date: Sat, 8 Jun 2019 00:14:50 +0530 Message-ID: Subject: Re: [PATCH] drm/nouveau/svm: Convert to use hmm_range_fault() To: bskeggs@redhat.com, airlied@linux.ie, Daniel Vetter , =?UTF-8?B?SsOpcsO0bWUgR2xpc3Nl?= , jasojgg@ziepe.ca Cc: dri-devel@lists.freedesktop.org, nouveau@lists.freedesktop.org, linux-kernel@vger.kernel.org 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 Hi Jason, On Tue, May 21, 2019 at 12:27 AM Souptick Joarder wrote: > > Convert to use hmm_range_fault(). > > Signed-off-by: Souptick Joarder Would you like to take it through your new hmm tree or do I need to resend it ? > --- > drivers/gpu/drm/nouveau/nouveau_svm.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/nouveau/nouveau_svm.c b/drivers/gpu/drm/nouveau/nouveau_svm.c > index 93ed43c..8d56bd6 100644 > --- a/drivers/gpu/drm/nouveau/nouveau_svm.c > +++ b/drivers/gpu/drm/nouveau/nouveau_svm.c > @@ -649,7 +649,7 @@ struct nouveau_svmm { > range.values = nouveau_svm_pfn_values; > range.pfn_shift = NVIF_VMM_PFNMAP_V0_ADDR_SHIFT; > again: > - ret = hmm_vma_fault(&range, true); > + ret = hmm_range_fault(&range, true); > if (ret == 0) { > mutex_lock(&svmm->mutex); > if (!hmm_vma_range_done(&range)) { > -- > 1.9.1 >