Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp8040627ybi; Tue, 23 Jul 2019 01:48:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqzID5LzPupVPuVdxW3As9FKFBu2TGfqOqg2KPeVEtgNXh3tagJwTQyPm9JblPm8LHs50NXc X-Received: by 2002:a17:90a:ac11:: with SMTP id o17mr82418031pjq.134.1563871712720; Tue, 23 Jul 2019 01:48:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563871712; cv=none; d=google.com; s=arc-20160816; b=nAIXbCakvkWYgzXdDdseR4fOkBmWtolse01h69/qj8NOOEf70gVwgM4gEpAqcrmGoa aOxbkkuX94wYSJ0fHYpLJEjckn8LU3/F5J/+RaJLsKH9JluLCeNExliBP7lfyuXv5viz dFbkN6w8e9pRp/m1w4604EUo4K3UFbzuAIPsTSdwRjw7ZKX3SvbQbIdORu9nbn6wfknz sjnRMsaJ+onsq3avyhEx7ougGo+kYEy3qVommu3tED03zPmVDJs1SZ3STLv8uXaLJ5ru VtHIascAEBVbBr7XU1RJVC1xlL7o9ukPoDc+bp4pWLfpAeJu8Rk9yFifuu7Q0s8PQesv 0hUA== 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=kscjS9D5ks2yd1t6YQtphh4j4hyaf8nJbzsPpcUAaRc=; b=PNTdesNTrUZyn1cdH1NcUZj2v/Zs0RmPtiRYzFNJgehLWw0SUjNJSa1oTNfrz85hLZ Ba8CYHKEBRAxmWayThHxwsP2y2w4S5tMHUMWg2FiiKNXb2IyeALuhep8Lft+2drIaFvG dSlBGdLeZY5NxdMzAPGegkzUxx8ykNfyAMLm9Q837xeNQN2RCSFxcn0MM+Og6WiK8vNt LlT+x4Z0MXFg/6KI6QqGXdwrumB6y19PJx2bpjXTk2vBE3uuG79hxs7CLQbGCPqEakUD XH1JoL1X5Nns3NbL7kpcOobD6CSGk5Jky4j4WX969FsoTY4oQlgY2yoJ/rWZVJp+KXE0 ywig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=WU2eFWp8; 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 j9si12915089pgq.555.2019.07.23.01.48.16; Tue, 23 Jul 2019 01:48:32 -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=WU2eFWp8; 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 S1728906AbfGWBLG (ORCPT + 99 others); Mon, 22 Jul 2019 21:11:06 -0400 Received: from hqemgate14.nvidia.com ([216.228.121.143]:1836 "EHLO hqemgate14.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727789AbfGWBLG (ORCPT ); Mon, 22 Jul 2019 21:11:06 -0400 Received: from hqpgpgate102.nvidia.com (Not Verified[216.228.121.13]) by hqemgate14.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Mon, 22 Jul 2019 18:11:05 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate102.nvidia.com (PGP Universal service); Mon, 22 Jul 2019 18:11:05 -0700 X-PGP-Universal: processed; by hqpgpgate102.nvidia.com on Mon, 22 Jul 2019 18:11:05 -0700 Received: from rcampbell-dev.nvidia.com (10.124.1.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 23 Jul 2019 01:11:04 +0000 Subject: Re: hmm_range_fault related fixes and legacy API removal v2 To: Christoph Hellwig , =?UTF-8?B?SsOpcsO0bWUgR2xpc3Nl?= , Jason Gunthorpe , Ben Skeggs CC: , , , References: <20190722094426.18563-1-hch@lst.de> X-Nvconfidentiality: public From: Ralph Campbell Message-ID: <7e1f33d4-4d3b-7927-38d1-b98b22ed4d78@nvidia.com> Date: Mon, 22 Jul 2019 18:11:04 -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: <20190722094426.18563-1-hch@lst.de> X-Originating-IP: [10.124.1.5] X-ClientProxiedBy: HQMAIL104.nvidia.com (172.18.146.11) 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=1563844265; bh=kscjS9D5ks2yd1t6YQtphh4j4hyaf8nJbzsPpcUAaRc=; 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=WU2eFWp8VxG3UTGHueSY5tPs9QU3Wq1Nhlz7guFIcl97+4qhR5QlTL95yfCf6KxaI zvG+wvbWkdeVrOlsvcu9YwOHFT+WhYBVxi0yTHTWJWeWbv6TU9qyGLhWAtsIkPPaUh awR6kqifuiaeIQAF50GonIw3mX+YkzyT++89VwOOVQISWEr4pkMmJrnIHmsaUNvtoH 2zoQh8J+5RREkogqGWoKWu0eSqZGrb3UTIfWNNhJ6ZMui5fwrfv3d5fUl6WLQXvfdN gouWM4XU2Cp0eWulPvR6IKD/vQGHTorAA3LK19GR8gPJFxIuXdMCgf+trx2P/b7oT/ xtykT8kHaBN4Q== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/22/19 2:44 AM, Christoph Hellwig wrote: > Hi J=C3=A9r=C3=B4me, Ben and Jason, >=20 > 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. >=20 > 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. >=20 > Changes since v1: > - don't return the valid state from hmm_range_unregister > - additional nouveau cleanups >=20 I ran some OpenCL tests from Jerome with nouveau and this series, 5.3.0-rc1, and my two HMM fixes: ("mm/hmm: fix ZONE_DEVICE anon page mapping reuse") ("mm/hmm: Fix bad subpage pointer in try_to_unmap_one") You can add for the series: Tested-by: Ralph Campbell