Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1393308ybi; Wed, 3 Jul 2019 15:04:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqy0zfxb6V87gcH28ti/9E3MCwKn3unTRVHjKEzNwrGVtbTTiPXpSDtESbEMtDl/YvIVt8pW X-Received: by 2002:a65:640d:: with SMTP id a13mr30003854pgv.256.1562191450388; Wed, 03 Jul 2019 15:04:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562191450; cv=none; d=google.com; s=arc-20160816; b=cXPALgiO3gPxbWnrdJq9bi6qMVib/uNaatgfh4oshuUp+/fwjC8MePVK52Wa+kVYpC +3FT8ltb/z3DLzWGsZitWbQoELpA+i790faGYQZWxWysJ5CIV1vBcSVBKN9gnTtvXLiQ UnZY8MAAsDvg5wrSc1rH7PHXTBh4Vt9rsI31fZmOhKmId95B7BAQTudpvumquFLJZiBE 5u9YZMwHsEr/sm4PMyq32KEQzG4Oqz5RSTpv42IAOEGXWGaQz1IxUjUwCxGPjCCkkZYj Um3dXpV5vrPywIROq6n2jOEoPeyrFihs0iQET34KRhln1Gjv1R9OYEuNOfO4FcpfsSsR rnsw== 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=aR9uGMKGXKbHfq0jNFOgm2SkQaXqyDisE482MLvao/8=; b=atdtNatV+MbZYrLu1mp8MMX6McODuroYfIBasuIYCQHnt47rEmzvVtQoQVumPWsl4M +7Kz09VVdGXJc+QQ90bzjMt2DP22bMb3wg1r2Z3CAeptvn1woknCG8aebYyamU6Yoew9 AB+pUw7diDKXEuSuRa0qZaOZsR8/MV8eonATwePYN0XvTIBVR7MGNm4pVIpuRJgHoVfu pje4WS0gviRGaonmbTqXCwZ1uG8xawByFCYaVLzNGkXAtIFeNFktfQ3mTiDE8ZMjXif3 gdrEX3MvCGj7Py6Pcx/x6AFEKCYiyuQGExrbNmx8l5y+9lLy+lSCD7CMLL3sJQlyY9LS Av9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=ZoXDWaM0; 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 r9si3162576pgv.272.2019.07.03.15.03.55; Wed, 03 Jul 2019 15:04:10 -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=ZoXDWaM0; 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 S1727476AbfGCWCm (ORCPT + 99 others); Wed, 3 Jul 2019 18:02:42 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:33846 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727100AbfGCWCU (ORCPT ); Wed, 3 Jul 2019 18:02:20 -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=aR9uGMKGXKbHfq0jNFOgm2SkQaXqyDisE482MLvao/8=; b=ZoXDWaM0JtTHhc2otW2p82e/T /jNnbQZZmVgh2h79y9++LJbnLByPF/oaDm7Qo7iKHdL2D4Ih95NUhDkWF3aTF78fDdiRt4AArcezL HbG1KY2whzTjugStJ0zV9TMW005Tf85+ZyT8SLxtOeO5JSTgxOIzL8b7Sx0xaCtGUxic8y+uI4Moj bpjSCQsQetvIZf757cl9CAMduvgTlsWQBWKzRSxxwPAOi7TNaZ1BZD6oqtaqqwD1QdwQl/X9DJJhn TRzWUblKWO70fd5ENlz40DeZ3x7FAWOeqQradP3mRmuFpOzbg63IOXzNu4J8MfzJzyqrXb1PfSjVV oappvp1fQ==; Received: from rap-us.hgst.com ([199.255.44.250] helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.92 #3 (Red Hat Linux)) id 1hinKR-0004EN-KS; Wed, 03 Jul 2019 22:02:15 +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: Wed, 3 Jul 2019 15:02:08 -0700 Message-Id: <20190703220214.28319-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. Changes since v1: - don't return the valid state from hmm_range_unregister - additional nouveau cleanups