Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp6966865ybi; Mon, 22 Jul 2019 04:53:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqxJnGPwCXp/ng2PFIK/2wysTqBVMliGVgF6iSNer53pf9N7ZCdfncmuNNxMCpj52Gy1ay0F X-Received: by 2002:a63:3d0f:: with SMTP id k15mr71734371pga.343.1563796408047; Mon, 22 Jul 2019 04:53:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563796408; cv=none; d=google.com; s=arc-20160816; b=CDJg7p3xNzL9mNhqjGk6kRZ5JUr4QI8iQUfOePPLx/Jqh11P6BXNVtdts0Zy8w2Kax anwvsrf9OCNWWayGfH1akk6t2NRKyQqxO/qwNdrwBKfhjEp6MHqpIWXSDso0DIqxJ7Lu o0eaCNaH9bqSWuSe6cWZ7bMt81mo2t6MIT4nCIIl6ZKrYEhEaSWys4M5z1dozde1ZXBV JkUXC3AiqjYtvPS9aG/GpybEphSvJ+RTyKM655ShST+x2wz2/bbVi74hpDH0BaaWlhsI +sTHD6qSV/V+kR6w+svp0ShPaOU7E51MeFhEjVlP46xzpx6Jxs11ATwXQEiggwUrOkr+ aTTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=O26sc2nLoVFgJqI+86Nh+/jE5QZWcSMhT2Y2hH/y3V8=; b=mtO62wuJ5uJFf42J+nw3HP65JiZbcwmHLogCHa7pIs/UMdVEL60rDn1clYmWRW6NhS PLQpH8NEGu4fY+mLIW41ZNiJAmHR36DYCV3qgQRNatrxtNdHzFD3T/JRhSVcVWCYjbAN IsFgE4JhO5M5thnx+O2SQ14COQJsA+RfF1AJibmJYxat0g0VlUFeHSRTeyanIFWKJsVn CWGED42aZNqyBw3iegl8bZt4/5ZOjaUqQ6w8dQOHTH8sHxBq6BPloGbEa+EMdAGqaNOO HoW4EzrWmikjLGNmFbfQQHGUfEB1SS6EOciZrnkUSMp9IbVqOf3dey9cu7vMU6lsDXZ+ OosA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=AfgJ8lP1; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a21si8527194pgv.185.2019.07.22.04.53.07; Mon, 22 Jul 2019 04:53:28 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=AfgJ8lP1; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729114AbfGVJod (ORCPT + 99 others); Mon, 22 Jul 2019 05:44:33 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:35258 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727167AbfGVJoc (ORCPT ); Mon, 22 Jul 2019 05:44:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=O26sc2nLoVFgJqI+86Nh+/jE5QZWcSMhT2Y2hH/y3V8=; b=AfgJ8lP1A7t1NBzOAMyaRjNbd T7I9Zn/foXgv6ag7KA/LDtL1Fh5GITciR4hIQAlS1u3mi0JtAqcdEFqbeD8V7L5YoeZQpj8qCpTEb w3J1/Qeffo9punlPAzBqh5esZiJsiko9MyMhJo15FFT3k4bJ5rW6JtUxbDeHdKRN5MoOM2ban6PLO vm80xm0u0Zd4kBX34rz+RMHF+g83+rgSzKOcWWeJtlM0NSyheBCY+FayqQuVWf2u+mhYMDA6LgPUT m8X2OIBfxYeAdHjxte71yKVXT/1qfYuiMLaSqLrcboQb5GQJHyKyIpj3af5EFzxqXsIe+SJKcOcE2 5wys/HGlw==; Received: from 089144207240.atnat0016.highway.bob.at ([89.144.207.240] helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.92 #3 (Red Hat Linux)) id 1hpUrs-0001rX-DG; Mon, 22 Jul 2019 09:44:28 +0000 From: Christoph Hellwig To: =?UTF-8?q?J=C3=A9r=C3=B4me=20Glisse?= , Jason Gunthorpe , Ben Skeggs Cc: Ralph Campbell , linux-mm@kvack.org, nouveau@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: hmm_range_fault related fixes and legacy API removal v2 Date: Mon, 22 Jul 2019 11:44:20 +0200 Message-Id: <20190722094426.18563-1-hch@lst.de> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jérôme, 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 v1: - don't return the valid state from hmm_range_unregister - additional nouveau cleanups