Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp3693518ybk; Tue, 19 May 2020 10:41:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw7FsPdj85SyAmWtgpuOvaHToWhXWmZB492ctyuLGiwrgQGUdQQijcH6ppnu78WmXU9QKub X-Received: by 2002:a17:906:1f8b:: with SMTP id t11mr324745ejr.201.1589910080656; Tue, 19 May 2020 10:41:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589910080; cv=none; d=google.com; s=arc-20160816; b=u/tpdYxp1X1FJG2mCNIHqX3/ksCh7j0DkSMC2QHGyRKn9of145ysALSsgKj2wxEoB1 1teoEHHuGNWhdN450pEaO6jnejiKem+VrH+uHoh0yzANcdOllZyWY+XzIackX+7zPFVa ko6wI484gRLc3Lkz6cIzmNxBfwGDtrreClftBXcP7SmcP9rNtplMyCfy308E5w7MLN18 AojWvuGGb4AYH7Eypkg3p5Ic23y8z7E+r421mNp+Gtp3ZgsBNEe5v0+lAbhS0AZs2nH5 hC9XwOnVELQ555qtaqXvYVce+71jlBtcSfnqQ4CsS1pEijjHqCFCx1mqpeLjHzJIFDdi UUBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=xaoEgoCHnVQjnzVlZcdR0OFGUhzt1FfKdnkkdl3fyII=; b=kyUKSqTOhTe6IFWS43EYkwWhGwlmZm22Tq2BcV0K20t89lNzjQ7RCuQD8KSQHOaPfa HDsj3XfHzL4NItoJ/xbQgoryFvAUycmmYNKUHO62P0b/zFePpznAHXwfMFlupKJDIWUD Rou+epvm3JeUAjYuA2q+kf6jhnb/X+RbJMGaMK2fMsLYHdoM2aXffFBpAHkmHDg/uvcd FlX3H6m03Bc/pbObIUCZYM6eoauHSk0Munbf9sokA0mGTzA+CRSIJUadsOlRdBVRrnAx SYGU2UgP9iczeyTdCVvS0MIgfzBApzuJezGWdzKqJNZRD6w/AtQdG7wLA6y6lM4+h3nF gX9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=eCnCl8ej; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r21si45279edi.133.2020.05.19.10.40.55; Tue, 19 May 2020 10:41:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=eCnCl8ej; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729258AbgESRjD (ORCPT + 99 others); Tue, 19 May 2020 13:39:03 -0400 Received: from hqnvemgate24.nvidia.com ([216.228.121.143]:16978 "EHLO hqnvemgate24.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726059AbgESRjD (ORCPT ); Tue, 19 May 2020 13:39:03 -0400 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate24.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Tue, 19 May 2020 10:36:40 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Tue, 19 May 2020 10:39:03 -0700 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Tue, 19 May 2020 10:39:03 -0700 Received: from [10.2.55.90] (10.124.1.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 19 May 2020 17:39:03 +0000 Subject: Re: [PATCH] fpga: dfl: afu: convert get_user_pages() --> pin_user_pages() To: Xu Yilun CC: LKML , Wu Hao , Moritz Fischer , References: <20200517011837.382189-1-jhubbard@nvidia.com> <20200519151037.GA20726@yilunxu-OptiPlex-7050> X-Nvconfidentiality: public From: John Hubbard Message-ID: <2e9e6c4e-296d-b0cd-88ce-1b300b9e2e0f@nvidia.com> Date: Tue, 19 May 2020 10:39:02 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <20200519151037.GA20726@yilunxu-OptiPlex-7050> X-Originating-IP: [10.124.1.5] X-ClientProxiedBy: HQMAIL111.nvidia.com (172.20.187.18) To HQMAIL107.nvidia.com (172.20.187.13) Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1589909800; bh=xaoEgoCHnVQjnzVlZcdR0OFGUhzt1FfKdnkkdl3fyII=; h=X-PGP-Universal:Subject:To:CC:References:X-Nvconfidentiality:From: Message-ID:Date:User-Agent:MIME-Version:In-Reply-To: X-Originating-IP:X-ClientProxiedBy:Content-Type:Content-Language: Content-Transfer-Encoding; b=eCnCl8ej/a+dubGQt/M1eDAXqkCPp41qd7x0+oSo1SeUyUfm46JGguGD4T0w4re4q ni5mQ8j0NKgUx9RydyNxzpFZuwJ+o3QNwG9Y7NELTtEcW/4N+SA+ZMySmg8Spb3Ixi W4vlzLPO+qELePyHUMrUu6lXY7NR9t1ZbRrXqbfATRuektif7yc/aqFyJfUeJ0LvPT LvM48tb4S+azJg9NMji7BVODQmFin2lYqva0ekD83OzOetCp5O4uzbLxMiVmyOiie5 8LWsnPWR4/WVLpX0STfZfg0klXdtsj6BWTeYm5p7nsICvcj0cygju6NZiKdYudAsv3 KDVaHU5VJEHmQ== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-05-19 08:10, Xu Yilun wrote: ... >> @@ -72,7 +63,7 @@ static int afu_dma_pin_pages(struct dfl_feature_platform_data *pdata, >> return 0; >> >> put_pages: > > How about we also change the tag to "unpin_pages"? > > Others look good to me. > Sure, I'll send a v2 with that. thanks, -- John Hubbard NVIDIA