Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp11499899ybi; Thu, 25 Jul 2019 17:56:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqypcsYstjdDF3Py150tHUh2mX/+iGAhdDq4iZ6Qaz3xiH02QERGCee7IrVtP4l3cBxFSCLU X-Received: by 2002:a17:902:20e9:: with SMTP id v38mr94691186plg.62.1564102582318; Thu, 25 Jul 2019 17:56:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564102582; cv=none; d=google.com; s=arc-20160816; b=oJiCfrqHd9Iqv3+wJbPINGKsWlHirUG8t2r7JDJlCa+m6M3+HhVix0keYDVIxTONbW C7vaabOB4emt1/VIUn5379nR4jNqiF5Jqch7n0EUMB0RoPtS7PYeXSMhLzP7WdQm9tA1 R6U0NtNUOJtdtTO7/70DifnrkVYQ4Pm4fkI09CfTWzufKAst4IVu3n20yz0oP9LrlZPp 8VQhYj/PkC1y1yghOkyceTNXdqtKeSudlT4gMxu3dhLRVeLoZp+fhelrDhbhNAShHFtN BgexJStYX4C01fSfgvj88U9K8uHbaFyITOQu4jn+48k3Nf/VED7fYcvt3JC9lWR8Zt2J heOQ== 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=ZQ1jv0UqwPmyi2RPWuaB3X1EU0IchBq6t+yb1fsAdJ4=; b=MKIDoSAXN9+Paj620f9/EEwH1g5RqkVpkHPAyvbcdVkeW5PQGttdDy/xAUkPyOXBFH BUrNto4N2+RRPETAVOgAnQQgKNgjj2cvaqCtoC/Q4EJAVZ6HECPHXjza8VMuGLH5+KxW eLY5A4zFGjPUh8LQe6WJJ2mrb0e3s9UGuodk05ll08A2TNNv3fIL36biFCt8POa0lWtp fiQbeLb9P56YzBNtqgs4o5enVB4Pfjr8tgeiVt9UkWzWujIyqpJjvpZ5o8AeCmUWdaSt KsifJGXR3m76MinoPGEpF4g6ZKCjFF/iEzbuWrsLsObtOkosXANTeL3DNjtNlS/tYQv7 nkjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b="rSA4j7D/"; 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=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f8si20684090pgi.191.2019.07.25.17.56.07; Thu, 25 Jul 2019 17:56:22 -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=@nvidia.com header.s=n1 header.b="rSA4j7D/"; 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=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727027AbfGZAzH (ORCPT + 99 others); Thu, 25 Jul 2019 20:55:07 -0400 Received: from hqemgate15.nvidia.com ([216.228.121.64]:17949 "EHLO hqemgate15.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725819AbfGZAzG (ORCPT ); Thu, 25 Jul 2019 20:55:06 -0400 Received: from hqpgpgate102.nvidia.com (Not Verified[216.228.121.13]) by hqemgate15.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Thu, 25 Jul 2019 17:55:13 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate102.nvidia.com (PGP Universal service); Thu, 25 Jul 2019 17:55:05 -0700 X-PGP-Universal: processed; by hqpgpgate102.nvidia.com on Thu, 25 Jul 2019 17:55:05 -0700 Received: from rcampbell-dev.nvidia.com (172.20.13.39) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Fri, 26 Jul 2019 00:55:01 +0000 Subject: Re: hmm_range_fault related fixes and legacy API removal v3 To: Jason Gunthorpe , Christoph Hellwig CC: =?UTF-8?B?SsOpcsO0bWUgR2xpc3Nl?= , Ben Skeggs , "linux-mm@kvack.org" , "nouveau@lists.freedesktop.org" , "dri-devel@lists.freedesktop.org" , "linux-kernel@vger.kernel.org" References: <20190724065258.16603-1-hch@lst.de> <20190726001622.GL7450@mellanox.com> X-Nvconfidentiality: public From: Ralph Campbell Message-ID: Date: Thu, 25 Jul 2019 17:55:01 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <20190726001622.GL7450@mellanox.com> X-Originating-IP: [172.20.13.39] X-ClientProxiedBy: HQMAIL107.nvidia.com (172.20.187.13) To HQMAIL107.nvidia.com (172.20.187.13) Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1564102513; bh=ZQ1jv0UqwPmyi2RPWuaB3X1EU0IchBq6t+yb1fsAdJ4=; 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=rSA4j7D/xNb2bkL0Vko/F5CDOw23LnvAQ9X4DTiY7zQS3PiAsqw2fzljmrhRjSyBN 4X3+94583ksRVxxOzb4rj3LQNLiQxzqNjNyzesErehEFqBsooYKLAg/6fe8WILNsKM Xr0M1AvN11D0pFDeVa9NIi04J+6Xn9RViB3w/Xj05ZxX6hpsr0f8ZB6QJs2eJXsNN6 ttQj2VXTgfGFRU0syqQpO7ddPAhhik56aRFDYDMQRLAVAQ2EnplEBlWLmgGBf7zqPq oMGDywdYOAXCAq0xaRkg8JQMI/T5f0db79g5qEltRtKCCl+kLC+9f5Lq1eyKng0xeq T07CsoiXv06rQ== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/25/19 5:16 PM, Jason Gunthorpe wrote: > On Wed, Jul 24, 2019 at 08:52:51AM +0200, Christoph Hellwig wrote: >> Hi J=C3=A9r=C3=B4me, Ben and Jason, >> >> below is a series against the hmm tree which fixes up the mmap_sem >> locking in nouveau and while at it also removes leftover legacy HMM APIs >> only used by nouveau. >> >> The first 4 patches are a bug fix for nouveau, which I suspect should >> go into this merge window even if the code is marked as staging, just >> to avoid people copying the breakage. >> >> Changes since v2: >> - new patch from Jason to document FAULT_FLAG_ALLOW_RETRY semantics >> better >> - remove -EAGAIN handling in nouveau earlier >=20 > I don't see Ralph's tested by, do you think it changed enough to > require testing again? If so, Ralph would you be so kind? >=20 > In any event, I'm sending this into linux-next and intend to forward > the first four next week. >=20 > Thanks, > Jason >=20 I have been testing Christoph's v3 with my set of v2 changes so feel free to add my tested-by.