Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1028336ybz; Wed, 22 Apr 2020 12:11:21 -0700 (PDT) X-Google-Smtp-Source: APiQypKqvnYk4Fr8AkN5qBbXgmlDlWmVRY6MmVwa6hNQ0QLtEkAHvA9JpI8Eq7S2C+ZkRh9vBQdX X-Received: by 2002:a05:6402:319c:: with SMTP id di28mr84678edb.185.1587582681057; Wed, 22 Apr 2020 12:11:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587582681; cv=none; d=google.com; s=arc-20160816; b=pzUiaH18YNKhxFGZ5WMsusglc75UDSZSGr5++Q6qPnM9qxkQA6VyNe7nk8amRz/9xH H92p6hSg0NJ8e2rgEbxwCJfn/FaHxYaGsvZ4kqk8zbLj+4oQzM8G2lRd0LvdJh2CKmre PqtJbE5ajKmrTVBF7A7gw4hzUcXHLpL3ZLq+D0bRzu7gSDjKHUSe4PLCP0N1fvBW2mU6 9iOhtnGc6d7sc6K96qkOQ6i1wWcwHp7MAWPAz85SgOG0X0Q5bNikbUzsrnR7+Xl4VMtT xrUEP4gf1Hx5eTQeLamqWdUBvzxeAuevM21rjInPGz7WXPJB+OF0p5q1VczkB6PNRtTt 4mLA== 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=Ibr26mSSlFN5k8tPbVlsbPzYkk2ONJQVn8RAtNIyK9E=; b=OTQmsTulF/FWOtVgRS/VWhFsLWi4aDZAhuZeMfVq43hhhnoWASNbmabVm8Ykn0FN3s QZJ0db6yhCkJ/m86Ym1aCYkMqEuxfSrA1sfo2FA9wFZcQTMVz1wNC5xcyCb7yGmPp0/E PWhaAprASDpskcE036xindEUk/VqPRIJZmkXjp9HfZPajQ+pJEZnaNsYm1Kfhiq5HFiC 29AWkjlgnplGkcllHREqGW3dwh/+GRja3MEuhR1UwYu2frWur7V3vvVVc6bJo9o2qoKW dlUJkrBfFUpfmrtImkLSBtMkEy1Gpa7rfHh/dYACxVZXwSesQByO1BgnBjriXmWxGC8c UIOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=SYRCFRSg; 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 c5si53765ejr.178.2020.04.22.12.10.56; Wed, 22 Apr 2020 12:11:21 -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=SYRCFRSg; 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 S1726412AbgDVTJL (ORCPT + 99 others); Wed, 22 Apr 2020 15:09:11 -0400 Received: from hqnvemgate24.nvidia.com ([216.228.121.143]:16119 "EHLO hqnvemgate24.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725935AbgDVTJL (ORCPT ); Wed, 22 Apr 2020 15:09:11 -0400 Received: from hqpgpgate102.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate24.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Wed, 22 Apr 2020 12:07:14 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate102.nvidia.com (PGP Universal service); Wed, 22 Apr 2020 12:09:10 -0700 X-PGP-Universal: processed; by hqpgpgate102.nvidia.com on Wed, 22 Apr 2020 12:09:10 -0700 Received: from DRHQMAIL107.nvidia.com (10.27.9.16) by HQMAIL105.nvidia.com (172.20.187.12) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 22 Apr 2020 19:09:10 +0000 Received: from rcampbell-dev.nvidia.com (172.20.13.39) by DRHQMAIL107.nvidia.com (10.27.9.16) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 22 Apr 2020 19:09:09 +0000 Subject: Re: [PATCH hmm 0/5] Adjust hmm_range_fault() API To: Jason Gunthorpe , CC: Alex Deucher , , Ben Skeggs , =?UTF-8?Q?Christian_K=c3=b6nig?= , "David (ChunMing) Zhou" , , "Kuehling, Felix" , Christoph Hellwig , , =?UTF-8?B?SsOpcsO0bWUgR2xpc3Nl?= , John Hubbard , , Niranjana Vishwanathapura , References: <0-v1-4eb72686de3c+5062-hmm_no_flags_jgg@mellanox.com> X-Nvconfidentiality: public From: Ralph Campbell Message-ID: <17ce2fdc-4f9f-7772-c10c-6f339a4183e8@nvidia.com> Date: Wed, 22 Apr 2020 12:09:09 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <0-v1-4eb72686de3c+5062-hmm_no_flags_jgg@mellanox.com> X-Originating-IP: [172.20.13.39] X-ClientProxiedBy: HQMAIL107.nvidia.com (172.20.187.13) To DRHQMAIL107.nvidia.com (10.27.9.16) 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=1587582434; bh=Ibr26mSSlFN5k8tPbVlsbPzYkk2ONJQVn8RAtNIyK9E=; 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=SYRCFRSghsuA1oPUGpaSrThd5bs4yjq3+gWlxe7OKwNdoqB2UOa004VsS8/Lr697y CWlieyjD7XPQ253DIjhDdL01VtVsGtzGEvoQqDO6lPiZ5CYv0eWmptUvjs6CnBqvRa 4hoTO4QeEmS2vafuYzVQSMQMrQxnk3yoAyIRHCI99P9Mgj2uvXuKNUDzqFBGyVCZml JGQm9m8ACFaaebFyqUIUXiOiwj4oGw/DQEJJc0XtF3If903YGzmV0z3IE+sqd6zM9+ KnxSL5/RF+iYX9gU+gjf3WtClWhx9GpAdGYAifxagOljqMjx/EX9krpg30i0tS21KU UXh/u9XgjPkgw== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/21/20 5:21 PM, Jason Gunthorpe wrote: > From: Jason Gunthorpe > > The API is a bit complicated for the uses we actually have, and > disucssions for simplifying have come up a number of times. > > This small series removes the customizable pfn format and simplifies the > return code of hmm_range_fault() > > All the drivers are adjusted to process in the simplified format. > I would appreciated tested-by's for the two drivers, thanks! For nouveau you can add: Tested-by: Ralph Campbell