Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp8898597ybi; Tue, 23 Jul 2019 17:38:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqzULtqL+/pBzdVJ+O7YDNw3zaEVkf9sOj2xKLjNdq1FQon/Efbw6PjiTJNnX/8FHZxm0IN8 X-Received: by 2002:aa7:957c:: with SMTP id x28mr8396288pfq.42.1563928734492; Tue, 23 Jul 2019 17:38:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1563928734; cv=pass; d=google.com; s=arc-20160816; b=ItDUzjkjlX0ST0peDNAcbvbrs90xN2M/zWguAWWV+YKbrut7V4N/mkwbZljRa9BeKv v65Yrxz7fKu6osNcRaw7WClmAL7w2OP4T1wFdtLH4zMjo5L7HkZMSGxhTyBe0U8Z2nL+ FmpGW+suga1mtb8RqX1U36TvnrrGe1OoAL2zKrPVHkgoLV8txxoRbdgL0pOvgPehOkX7 KHH5ilw9hFILToec0GpUaQuYZgoQTaSznitjCeo5VTB9s2imL+2EaNpOls97MqqWSpDa s3ajdNGOqrvEDXMw3unz75OydM9QadpLpBr9Tn6d5S8CdFBopA7SBJ0PFx5C4DACVuvW bcow== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=MpcazAqwrCQDcqNA29XrIefQcOTMThsWzZPeF9D1w0Q=; b=ATzCeaC57qk2lHpyuTkP01fLPPNij9Tlg/aU5AgRq5NuGlL04jjUImc3WAOzUvZKSR kSc0fqJUNyy5QsvPOSrE2qr+cG5BEbjTlpmaNfstqPZFczm91YmIbyYpacTN9YTY3Gfe qE8D88t1BQg6jGks4jlkuNb6O/rWqp4cDKZN2f34ssvj5sLUZv6AwhH5WlhD/vasKK/4 5i2QT+LpXzKX6WLuR3BsckludXVfhPaiaoTfhC5fjoK8g1dv7hg/PliwwdMSAQd+mzMM 6Lpw2fv5MzmLLFEnfW5Buv9tPxcRN8nIzHfkhnTNIcm6TMnc7t/Qhqz0G4EeAzadJV7/ BbOA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Mellanox.com header.s=selector2 header.b=XJBnB7PI; arc=pass (i=1 spf=pass spfdomain=mellanox.com dkim=pass dkdomain=mellanox.com dmarc=pass fromdomain=mellanox.com); 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=mellanox.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g15si11021142plo.239.2019.07.23.17.38.38; Tue, 23 Jul 2019 17:38:54 -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=@Mellanox.com header.s=selector2 header.b=XJBnB7PI; arc=pass (i=1 spf=pass spfdomain=mellanox.com dkim=pass dkdomain=mellanox.com dmarc=pass fromdomain=mellanox.com); 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=mellanox.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729210AbfGWP1q (ORCPT + 99 others); Tue, 23 Jul 2019 11:27:46 -0400 Received: from mail-eopbgr00071.outbound.protection.outlook.com ([40.107.0.71]:1861 "EHLO EUR02-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726283AbfGWP1q (ORCPT ); Tue, 23 Jul 2019 11:27:46 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=a9JVfRA9eJHXCkYNRem5dyoBhHLOryjZThoRqNJPOm4/yihKZhp9AJamZnS1GzDsOjnXUNMc4TJHc13mYPjUo8TJb9LXRPIrl0zYhqlcLR2uRaaPqSVVmpg5obj1HlZA4o+nj5AD1win1Ds5SD28GMPpFWbRtHnkld80PS5PE1VKuKKW2N6/vvX6oo1NJZely3X9t5SJvc0vhX9OYjuDlmQUy7oQKXwnmKPBG7cuVJSctC2uzbEXOgBWJAuyhT1Di0WAR0BBGoC81lx+OK34HRbHse3AtK06sI1iiTRtAw8LZUheoeSjGut+dwQm8N68WDPMP7Oj7yV4bQVaO0z7ig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=MpcazAqwrCQDcqNA29XrIefQcOTMThsWzZPeF9D1w0Q=; b=jm52erIVMC8iZWoT+kq1+d0w3ELz5RvDuIJKUti1F7kLjm3YdL9da0+fmV8TugvsUkPZDQu6fER15qc2ts6cEODPqMz8xpZovU8nHaoM+x7PQt8CeFequOzhJNwvl8I2udWfA3Jqw6x7rsOn5ak3B9QuBFvLN9Hj/1GfJwEJqsbA87WjUNCh1Jrj7Eldv2OQhAKneY+jX0KdaWxade4umlT39z0DtEZu0fQhZwJSmkNpPWKUlFqHhXOMQtQErZX0t2MI7UGMTrJPX1tBeISOXpyKLz5aaDPbR0v/T19Iw/YXDh62ozKiIpxlL81OjhF4w3+mzSvN6450jyDQBkFr8Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=mellanox.com;dmarc=pass action=none header.from=mellanox.com;dkim=pass header.d=mellanox.com;arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=MpcazAqwrCQDcqNA29XrIefQcOTMThsWzZPeF9D1w0Q=; b=XJBnB7PIkzKOMDnsh5SUGs37M5rW+u53Sx8EGfBiwdYBkeOw1yFpYP3A6LARSKLSQJYIj1XUIY7NyVjEQ0imXacqKZgg6TSHbcucLW8EnVVTDpiP9Fv8XD+QRC4MdO3lKf4qjX3wZN9G4P1pji5WSnBt/Nk0G/88gWKpSYUKtiE= Received: from VI1PR05MB4141.eurprd05.prod.outlook.com (10.171.182.144) by VI1PR05MB5261.eurprd05.prod.outlook.com (20.178.8.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2094.16; Tue, 23 Jul 2019 15:27:42 +0000 Received: from VI1PR05MB4141.eurprd05.prod.outlook.com ([fe80::5c6f:6120:45cd:2880]) by VI1PR05MB4141.eurprd05.prod.outlook.com ([fe80::5c6f:6120:45cd:2880%4]) with mapi id 15.20.2094.013; Tue, 23 Jul 2019 15:27:41 +0000 From: Jason Gunthorpe To: Christoph Hellwig CC: =?utf-8?B?SsOpcsO0bWUgR2xpc3Nl?= , Ben Skeggs , Ralph Campbell , "linux-mm@kvack.org" , "nouveau@lists.freedesktop.org" , "dri-devel@lists.freedesktop.org" , "linux-kernel@vger.kernel.org" Subject: Re: hmm_range_fault related fixes and legacy API removal v2 Thread-Topic: hmm_range_fault related fixes and legacy API removal v2 Thread-Index: AQHVQHIRntNvIPdbDk2nPEKsWJGfiKbYVWyA Date: Tue, 23 Jul 2019 15:27:41 +0000 Message-ID: <20190723152737.GO15331@mellanox.com> References: <20190722094426.18563-1-hch@lst.de> In-Reply-To: <20190722094426.18563-1-hch@lst.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: YTBPR01CA0021.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:14::34) To VI1PR05MB4141.eurprd05.prod.outlook.com (2603:10a6:803:4d::16) authentication-results: spf=none (sender IP is ) smtp.mailfrom=jgg@mellanox.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [156.34.55.100] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c7910dff-f7dc-46ae-41ab-08d70f824d91 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020);SRVR:VI1PR05MB5261; x-ms-traffictypediagnostic: VI1PR05MB5261: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-forefront-prvs: 0107098B6C x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(346002)(366004)(396003)(39860400002)(136003)(376002)(189003)(199004)(68736007)(86362001)(3846002)(6116002)(6486002)(99286004)(316002)(6916009)(54906003)(446003)(81166006)(186003)(6246003)(11346002)(386003)(4326008)(66476007)(76176011)(2906002)(33656002)(102836004)(25786009)(6506007)(2616005)(476003)(26005)(66946007)(66446008)(64756008)(66556008)(6436002)(53936002)(6512007)(52116002)(66574012)(1076003)(256004)(8936002)(7736002)(305945005)(486006)(14454004)(5660300002)(66066001)(71190400001)(71200400001)(478600001)(36756003)(4744005)(229853002)(81156014)(8676002);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR05MB5261;H:VI1PR05MB4141.eurprd05.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: RxWwY38iPTu3gct/6iBhlpL/aVkkdN7hnnhRxGv2qFeUZas6kcGkuNyN/7QbBf1qgeWRPZ8ywvR6MRXK5bmHutzVZm91HR/iUdU+APW6okeQX/xiLWpVuvJiL71ul/Z6egvJv358/Q5cNJIFzv9fjVKuaE9sk3tXJe0xaxLiqVllAyB2ELo76i2oivCKyzN/bcZj7Amb9Jk6LYmrG5AIi4pcTMJvVASD+F7AHGsiY6bEPhFnH504tr1tIjEXuvfMRRLNhP76FkykhwjIaI3XleE/YNjptqxIgUdonutgj194LNu+JV0smdg2tvu6Rbuvg7940j0zQ5MMfSYd/0yggkv5S8UriywNVtrIz4OZ6WmdxOxGDpcszeFkktbdM1gSLr7byOz3xSIoSfuPB/oUfyYTooR0hYE7mIUk+xxxte4= Content-Type: text/plain; charset="utf-8" Content-ID: <26A6F7202CFF03408F66F9FA8B336B7C@eurprd05.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: c7910dff-f7dc-46ae-41ab-08d70f824d91 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Jul 2019 15:27:41.8784 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: jgg@mellanox.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR05MB5261 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gTW9uLCBKdWwgMjIsIDIwMTkgYXQgMTE6NDQ6MjBBTSArMDIwMCwgQ2hyaXN0b3BoIEhlbGx3 aWcgd3JvdGU6DQo+IEhpIErDqXLDtG1lLCBCZW4gYW5kIEphc29uLA0KPiANCj4gYmVsb3cgaXMg YSBzZXJpZXMgYWdhaW5zdCB0aGUgaG1tIHRyZWUgd2hpY2ggZml4ZXMgdXAgdGhlIG1tYXBfc2Vt DQo+IGxvY2tpbmcgaW4gbm91dmVhdSBhbmQgd2hpbGUgYXQgaXQgYWxzbyByZW1vdmVzIGxlZnRv dmVyIGxlZ2FjeSBITU0gQVBJcw0KPiBvbmx5IHVzZWQgYnkgbm91dmVhdS4NCj4gDQo+IF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