Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1257581ybe; Thu, 5 Sep 2019 12:41:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqwHjlqceyEjDv9bfn9WALhUR4yS1Qo+uMWgmemziIlQMAiCifBo8pXbcvchlrbZJ6ukiEfR X-Received: by 2002:a17:90a:9409:: with SMTP id r9mr5751598pjo.10.1567712481762; Thu, 05 Sep 2019 12:41:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1567712481; cv=pass; d=google.com; s=arc-20160816; b=McdL0p/tQVfHTYY+m7HiOv7EHkMNwl5xP2WJ3rnBeJI1Q+gsVahwboGo5oHBrpFPCA XRSEySYAgU9dOxWO1CGVJItlEfX/RpRyz8QEyh9SX7GwoH7/M9zq58kKUgoGyH9fcskV DVXNWuEa3ue1hbozbzfvTAAS8PVaKGU7p8lMSU7RqNaAKLTApIGSnh4kavdKtFGpY4qE SZ4n38Y527AkBV1YlcXQUQ9ET6eZwnxCMNcZXO05Jx465cwDJKzQ9d1cHRzlIOHs8OcJ X4wNG4nThk6gsmBg6FEjrAkfJ01z1ctgCvTo1er/4ptTIEBdzYqm00nxEvAXM4VjFDra PK1A== 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=4CGgpiMxwsL6igR7+QqgBRYU93mG2jYhT5ek8gk7QPE=; b=bxG+yM+MYz6hLNfTWFHcWgrMSm+F9LffWW7NefiBogoPRKQ3bH1Vfiy9/uV6bx4FTt YSXLROciqdaVfV5E86aEO09oiv2LhTRcxlsknLjpyD6I7ljbzDmDFjN75mTHo7Y8pxzZ x6rmyzrClhgXW4rB5LuI70THNPyN5fYtKY6y95pY2iiXA+B96jb38Xx5++Y5M9p+Kf4q ZqzGZozcYs5LXfdfNwVNbWlW6MiJZpxAMY9aIPmSxrPnftGwzOc4WwTlkjBs9Mwm3b34 Sok23rtqS9CJhGksZn4+fFdngHgqC99Gdfl4GLlUtNMoyRdbYBoKZAYACbDecLDmJgTr c4Og== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Mellanox.com header.s=selector2 header.b=BBf28Ja+; 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 z28si3334254pff.144.2019.09.05.12.41.04; Thu, 05 Sep 2019 12:41:21 -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=BBf28Ja+; 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 S2390000AbfIEOtx (ORCPT + 99 others); Thu, 5 Sep 2019 10:49:53 -0400 Received: from mail-eopbgr140044.outbound.protection.outlook.com ([40.107.14.44]:23710 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728590AbfIEOtw (ORCPT ); Thu, 5 Sep 2019 10:49:52 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EIylbdGE1EVlj9wu9nwaCJuRrI707OhvwBGnTgTIhnv/HFDWfKAaUsUBUwlrHMJ0KG0TBtpO3ElbGXMW9+FrZuF5TDS/VffHLW/0uyrqZi0Kt2MImW4agCHKkAJrDdu5ebG5JQ7mrQVigrnGOyB9rCiwWEuHOzUX3+P6A56MPvIHY8+jCAq01ZOd9MsW70LfQVNh6pU10TH/GrDHjSbUjj/KQ1tlTxJH1oaWTdIvF2b1NBd2Sa52Zzb6LG80a5WrjJ9X3fI8UJwgv5iDiSJvy7hHePg9nqaD3vmIODQ/TIa4iVv+i9TYZIb1iRN9vxryicEmK0GLeThTzvOTqorZ+w== 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=4CGgpiMxwsL6igR7+QqgBRYU93mG2jYhT5ek8gk7QPE=; b=Bfp3h+z6XMc1f1IKxjdCpuQSTlOwmjqPVKBtxiP1IzNE0bvEDV18HKww3ioDv3ySbkA+HxYEopNFZN3UR/JbhQ2Z+s/J+aMT0qw04avZQHp22bChGjcJyq+2cfW6oB+R4Ea+d0gUc/cQ84l/xLYXrKkJEJ7lZrlLR6fL+6deFhKhLskRXOFWE6PO6gIJY7MnzgVf3uUD0dIFYhncOGgQILFHUPPuxsEnbhmH0oM03aPB0im41KqzSJ42iU1NyvmMyRp3qxXOEoyvYqIOvaqdiyAf57bNHqK0byiWjD2vIPMq8g5D1KtU1TECUWeIGHw/51L5uBmxO/cyVc5yKsBvsQ== 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=4CGgpiMxwsL6igR7+QqgBRYU93mG2jYhT5ek8gk7QPE=; b=BBf28Ja+0dNr9KWmHIa2SU1e/zf8LROnAapoZjHUyUVlJ+ZqqGqO4UNL36G1FIx4Hp4lQecePb9nUKdsE8BG/mBdJxAVcipod4qUaqvHl7hhadTGAQBXARWgk0R+imwOTDY04L7CfFHCmwHcXsWD4ooSB3ZC3AfYrHoulYcFxUw= Received: from VI1PR05MB4141.eurprd05.prod.outlook.com (10.171.182.144) by VI1PR05MB4256.eurprd05.prod.outlook.com (52.133.12.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2241.14; Thu, 5 Sep 2019 14:49:49 +0000 Received: from VI1PR05MB4141.eurprd05.prod.outlook.com ([fe80::79a3:d971:d1f3:ab6f]) by VI1PR05MB4141.eurprd05.prod.outlook.com ([fe80::79a3:d971:d1f3:ab6f%7]) with mapi id 15.20.2220.022; Thu, 5 Sep 2019 14:49:49 +0000 From: Jason Gunthorpe To: Daniel Vetter CC: LKML , Linux MM , DRI Development Subject: Re: [PATCH 0/5] mmu notifer debug annotations Thread-Topic: [PATCH 0/5] mmu notifer debug annotations Thread-Index: AQHVY/kqS7drW7tYS0OaX2gILgkMmw== Date: Thu, 5 Sep 2019 14:49:49 +0000 Message-ID: <20190905144946.GA22237@mellanox.com> References: <20190826201425.17547-1-daniel.vetter@ffwll.ch> In-Reply-To: <20190826201425.17547-1-daniel.vetter@ffwll.ch> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: LO2P265CA0425.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a0::29) 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: [193.47.165.251] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: bd59b6ed-9733-4cb9-93a1-08d732104cd9 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020);SRVR:VI1PR05MB4256; x-ms-traffictypediagnostic: VI1PR05MB4256: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-forefront-prvs: 015114592F x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(346002)(396003)(366004)(39860400002)(136003)(376002)(199004)(53754006)(189003)(8676002)(8936002)(386003)(3846002)(81156014)(76176011)(54906003)(53936002)(86362001)(102836004)(6246003)(6116002)(7736002)(2906002)(6506007)(305945005)(52116002)(316002)(81166006)(6916009)(25786009)(6486002)(229853002)(99286004)(26005)(4326008)(66946007)(5660300002)(6512007)(33656002)(36756003)(66476007)(1076003)(486006)(66446008)(64756008)(66556008)(71190400001)(71200400001)(66066001)(6436002)(14454004)(4744005)(446003)(256004)(478600001)(2616005)(11346002)(476003)(186003);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR05MB4256;H:VI1PR05MB4141.eurprd05.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX: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: geCeaHgd+mTKJRfX0h8gvuKXdvU/D8ZbTSHB4mhrm2Me8VcHwpHYJc+wlFsXtVITXFTkDADEQrLgVkhX3xvCrSBvJ4rLeopOBUEB02R6wacHlBME4CxFnlLj0TvdU0KaOL0QrZUegiIoukQmR/BoFLvdD+EJL8/6Q7pOGI1ZZ9wVZzgWrMm54CdPLVO5zjqQCYhrrNm6FjMhexWllbWaOVjSlHjqiFJeHDrmiqdTRsB3/29e8Pzxhiw9ZjvUj503cIlB4EHlebiG3W5EEbQDbKE6Fq7HhiPBz19wGhhpOnc1U2s3iCJKzTm+l3pCMwMtTRET8T6YBI4AsKsTSkV0Qp1+9t+xwSwD1U/aMXpTkTs7TEYJUQvtqy8OzP9DRdCgqo6kQY6MweqwH+HzYgMidcUmsDmg5MPqEdgIyMn7cH8= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-ID: <04647BF6CC7E11449F589A453BE4B4E0@eurprd05.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: bd59b6ed-9733-4cb9-93a1-08d732104cd9 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Sep 2019 14:49:49.6232 (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: nIf7WPDv3hzOOYMebUEEqA6sns02aoy3i+7TzAv8K6XpVea92/6MStbqsC3FkWMLN9kpmF/pokNlZ7rRT63uWw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR05MB4256 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 26, 2019 at 10:14:20PM +0200, Daniel Vetter wrote: > Hi all, >=20 > Next round. Changes: >=20 > - I kept the two lockdep annotations patches since when I rebased this > before retesting linux-next didn't yet have them. Otherwise unchanged > except for a trivial conflict. >=20 > - Ack from Peter Z. on the kernel.h patch. >=20 > - Added annotations for non_block to invalidate_range_end. I can't test > that readily since i915 doesn't use it. >=20 > - Added might_sleep annotations to also make sure the mm side keeps up > it's side of the contract here around what's allowed and what's not. >=20 > Comments, feedback, review as usual very much appreciated. >=20 >=20 > Daniel Vetter (5): > kernel.h: Add non_block_start/end() > mm, notifier: Catch sleeping/blocking for !blockable These two applied to hmm.git, with the small check patch edit, thanks! Jason