Received: by 2002:a25:2c96:0:0:0:0:0 with SMTP id s144csp726898ybs; Sun, 24 May 2020 19:49:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxg54Mb4jph3GCFF20kGcrcsd9LxVY1AEWdvHCJjlPAeU6Ts9tu9KpiPhJ0D94lDhhmj/EH X-Received: by 2002:a17:906:1751:: with SMTP id d17mr18115944eje.314.1590374981457; Sun, 24 May 2020 19:49:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590374981; cv=none; d=google.com; s=arc-20160816; b=frjZKxlLcLYZn2tUCErPPBEfJHEY+1sIqyN87o1Q8Ovp62V4tBgsN9Z9xcq+V6z393 ozJrXDjAwEwKEiGRU8C/OXb548bhhQkNHwSr88vBAandr/+S8UxTsG0OLSWjt2RTBaOH s4/w7RcJzY17dIXvzXJlxeb9G7u384tYGehewrzabaVY8d9Xk50XilOx1G7AKGYvibf3 7oTUQjTR4R51JkjKPnYtYEMuHSbEAHCAW3wq+btb9ynxH5PgNln7c6QrGbulpNW1RL6f zqxpQB8CmLr9N1a1PxMQrc3J+oFauEeFVyyytltrp8x1CTERyG5XXI6FpSOI61+8ArIF YZSw== 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=UqIhK3yrHz4RCjr9Tqqe8Ckbi0ZVaOt+z/KBLejweaU=; b=YZ2/f5yQpU66fAEUR0fXSphXnUkJohG2gzSK8Eiv/IxAwFyglU8IjwSHcybxSusqC2 kNaGlfiuHR2xrHSL5pE1nNJ5ptogtrPppk1HEwTzF79Vc5SSefuD+jdlNhXyD0GsLohu 5Qk4BilKjp62Pf5KqudezTrjiiBL1Hm9DH/8dCjMXZQmCIm0N0oLarUK/CPYzX5F4aBk 94ZjCZhqRiUR5eu7pRA05qlLP4FmLAt5CoTZ7BlY/x3SkPZmBBsenkUgpS9Bi7ZcCEMC yck3t+k8IMkLbp744uo5+Uu3dsKJ9YqVHlpQXufZrxUoYBkHiYzCzAl2V8Xv7iFLSK0F Z3wA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=XO2qLGmc; 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 e21si8384810edv.87.2020.05.24.19.49.18; Sun, 24 May 2020 19:49:41 -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=XO2qLGmc; 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 S2388712AbgEYCeg (ORCPT + 99 others); Sun, 24 May 2020 22:34:36 -0400 Received: from hqnvemgate25.nvidia.com ([216.228.121.64]:14502 "EHLO hqnvemgate25.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388110AbgEYCeg (ORCPT ); Sun, 24 May 2020 22:34:36 -0400 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate25.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Sun, 24 May 2020 19:33:14 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Sun, 24 May 2020 19:34:35 -0700 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Sun, 24 May 2020 19:34:35 -0700 Received: from [10.2.58.199] (10.124.1.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 25 May 2020 02:34:35 +0000 Subject: Re: [PATCH v2] fpga: dfl: afu: convert get_user_pages() --> pin_user_pages() To: "Wu, Hao" , Moritz Fischer CC: LKML , "Xu, Yilun" , "linux-fpga@vger.kernel.org" References: <20200519201449.3136033-1-jhubbard@nvidia.com> <64aa1494-7570-5319-b096-ea354ff20431@nvidia.com> <20200523205717.GA443638@epycbox.lan> X-Nvconfidentiality: public From: John Hubbard Message-ID: <4f326d89-d034-72ea-06d0-a2f9ba62bcc9@nvidia.com> Date: Sun, 24 May 2020 19:34:35 -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: X-Originating-IP: [10.124.1.5] X-ClientProxiedBy: HQMAIL101.nvidia.com (172.20.187.10) 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=1590373994; bh=UqIhK3yrHz4RCjr9Tqqe8Ckbi0ZVaOt+z/KBLejweaU=; 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=XO2qLGmcly07D+VUuZ46k3yHmfYpwrfntoxzgVPQ5z0mrHaw+pjwowIjSOf4ZPust 25EiFUyZ50g2bpdCwUITvJixZ+CoHgRScOWT+jTmgPy88g7sVG1AZF+L+Uv1f9I4IK 99Jr16tZxqDb9oS55lQSheIWqxt0A9qKx3lBp6UOueIm4utoHe90ZawOW1BfoXkI/m LzYAPHz4BDosWaf9HNP+BKmVtwDwtKnjcHFtKRCwlxgpECxsm6BU58d76S8Qgx2HLi T92uTmZLhtt/bHiINfrWesztz24f6kx21Eahz0WqkyEsg/IhkV54FDtR955KQOTT6B xM1uGg5BQxEkA== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-05-24 19:25, Wu, Hao wrote: >>>> Hi Moritz and FPGA developers, >>>> >>>> Is this OK? And if so, is it going into your git tree? Or should I >>>> send it up through a different tree? (I'm new to the FPGA development >>>> model). >>> >>> I can take it, sorry for sluggish response. >>> >> >> That's great news, thanks Moritz! Sorry to be pushy, just didn't want it >> to get lost. :) > > Thanks John for this patch, and thanks Moritz for taking care of this. > Sorry for late response, one thing here we may need to be careful is > a recent bug fixing patch, that fixing patch has been merged by Greg > in char-misc-next tree, and may have some conflict with this one. > > https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git/commit/?h=char-misc-next&id=c9d7e3da1f3c4cf5dddfc5d7ce4d76d013aba1cc > fpga: dfl: afu: Corrected error handling levels > > I guess we need to rebase this patch on top of it? > Moritz, do you have any suggestion? > I'll send you a v2, rebased on top of the latest char-misc.git, no problem. thanks, -- John Hubbard NVIDIA