Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp8883186ybi; Tue, 23 Jul 2019 17:20:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqz2ySQ4r0tQJNXCCRHAL1YGanVKhDUfN0RJpzs0QWWZCfsXUNlLYp8rryhEYu42evvXRKPA X-Received: by 2002:a17:90a:bf08:: with SMTP id c8mr84657503pjs.75.1563927630052; Tue, 23 Jul 2019 17:20:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1563927630; cv=pass; d=google.com; s=arc-20160816; b=jYCFrFk8R0OTzTpnDnVU7w/e8cJJAWmUTzq/Vvg5Xcz1UfhIv9FLbSQxBiYWeK7DWv uOjD5jvU/P15Xcspt86UfoD9/seT1MTC0rk6EpGiY17Ef6Km51p6/Lc4VhxmoHxFz3yT QtjjEhBJTb2BEQUTQqSo36H14DZvpkTe9c+aJ8T5WePaxhspp21aOkur8REjAtkDzvR0 m544ImPA1Z/s6ROITkvKbFoHyIDFIHGM67WpBT+A5JCttbWXl3uQO5uOoRvS8UqtNaEj L7EkP8QMqH4sEOqBgBhrxMZJPxOjV5IymAHi8n+EiYCKBcqjJH/ZQ/LUjXEmAIJC1gov qi9Q== 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=UKLrYPXEShueXftdvrzxZO5snWp5SaalgZzsLn2a6wg=; b=idY6SrJY1JGTU/tqqW1nbBT3RbAGN9j+pZX4gZ1mlyHN45/PqZzGEq3mIgABgigwit 2eUTS1rpXrhdhqsApgKt0sPIAhkGcLQMXB8n4C9+9MtHIhYL9VJoVhZWYpMV1NK/xx9+ Gqi26x+HideN3RUK1QStGiyQJbxN8FOAdLKJZEp6BYbVqrTxb/2phRugg/qPiZ0awaA8 moQtziCLqBp7PtXkQQEikN3mFwRHtx4fZMRguVIUyYBxs61c8OgGEwU8ZX48hmduFtR0 BIH+wsmH5RncwSx2/rXbAGDYG23dfhU+nMKtbOJcgVNTzLRMLnDFWiWexoJjtRlMHpQq hOtg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Mellanox.com header.s=selector2 header.b=YkSM2M1b; 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 ba9si13291287plb.308.2019.07.23.17.20.14; Tue, 23 Jul 2019 17:20:30 -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=YkSM2M1b; 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 S2388423AbfGWO42 (ORCPT + 99 others); Tue, 23 Jul 2019 10:56:28 -0400 Received: from mail-eopbgr140053.outbound.protection.outlook.com ([40.107.14.53]:52867 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1732633AbfGWO41 (ORCPT ); Tue, 23 Jul 2019 10:56:27 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KZ3ey2P0e5y8aqgx77XnaU/MNUPRQT3bxmxAw+9xfOLkMJcfBytL2RGjpIpGZKkjWtf23LJamsT6pTWN9MFkGquWbD59eN5unxPASFSx4e7Z92dL4YYU/x3OHBG16lqqsYP0U0FqZ+j7Jbg4c1t2/Sm/e3WnP5Gan27JO0ljyiEX9JG6HhLkYeFl7Uxc4tADq25DttekUKXeWxRSYMWJun1ys5twf1LiImg/EwQkx52j6LnawJ2bUaZufIZCI1qAevMdyr5uhRzLL9FUvJcGHy0ccX1zSzpNwhwg6T2dPAepgb+EMVAhRwVTqjPq5ZYf6pRBadFPQFOzz8ci0dWuRg== 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=UKLrYPXEShueXftdvrzxZO5snWp5SaalgZzsLn2a6wg=; b=IhfYwTxhkl2RP3qTK0JtOROjLPAZbvXtVqDw95kt91WMXUgfJUBn3Xe93VUq5vMuOQjmum+Aa07wGvAJeUHKWNISM4QmYv9/lsicJFv3u0aaW687gDz2ZgSw+r2kGLUZ6VjX2Mxrem+BNM1SGpndpk1ac8ekejEhtjJQBC5lfIa5c8GI10xcPeFnYYjPirs5O6hZlUY3Doe3TRUbeYO1wraGeEAyNCbUXEiQ1JuJzI685AnZhIwFMW/dRrkhd5yG5C3H5S8AAvxM+4cZUFJXxTtm3FhH4ze4yqIC+g2XcnEKNXQ8oS8+5+ZqZeqDlRnQcKT0rdn2P9Xst/7lib0HIw== 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=UKLrYPXEShueXftdvrzxZO5snWp5SaalgZzsLn2a6wg=; b=YkSM2M1bv+3btw+oF362T2E6s62dPdvex+P8nuOttQESkWjgQFqHXE5UKI5j8qO7HLAwIJh7Bos5DE1qiFFnWBjLLeDOjeqwbojFNWgFjKlsO5qOXJ7KlPJikBJv2S08V30MK2Z59FPYs3qgAJSw9G1kCxdShvQdzyNo+eEmpa4= Received: from VI1PR05MB4141.eurprd05.prod.outlook.com (10.171.182.144) by VI1PR05MB3311.eurprd05.prod.outlook.com (10.170.238.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2115.10; Tue, 23 Jul 2019 14:56:24 +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 14:56:24 +0000 From: Jason Gunthorpe To: Christoph Hellwig CC: =?iso-8859-1?Q?J=E9r=F4me_Glisse?= , Ben Skeggs , Ralph Campbell , "linux-mm@kvack.org" , "nouveau@lists.freedesktop.org" , "dri-devel@lists.freedesktop.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 3/6] nouveau: remove the block parameter to nouveau_range_fault Thread-Topic: [PATCH 3/6] nouveau: remove the block parameter to nouveau_range_fault Thread-Index: AQHVQHIUDnMs0tk2hUuxzK+Cwn7RDqbYTK4A Date: Tue, 23 Jul 2019 14:56:24 +0000 Message-ID: <20190723145620.GK15331@mellanox.com> References: <20190722094426.18563-1-hch@lst.de> <20190722094426.18563-4-hch@lst.de> In-Reply-To: <20190722094426.18563-4-hch@lst.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BL0PR1501CA0028.namprd15.prod.outlook.com (2603:10b6:207:17::41) 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: 810b1f00-33f4-4691-d9a2-08d70f7dee7a 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:VI1PR05MB3311; x-ms-traffictypediagnostic: VI1PR05MB3311: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2887; x-forefront-prvs: 0107098B6C x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(376002)(366004)(136003)(346002)(396003)(39860400002)(189003)(199004)(71200400001)(71190400001)(256004)(8676002)(6116002)(3846002)(64756008)(76176011)(14454004)(6916009)(316002)(6506007)(86362001)(478600001)(6436002)(229853002)(5660300002)(6486002)(386003)(4744005)(99286004)(11346002)(25786009)(446003)(66066001)(1076003)(54906003)(7736002)(102836004)(52116002)(53936002)(305945005)(4326008)(476003)(2616005)(68736007)(66556008)(66476007)(8936002)(66946007)(81156014)(81166006)(33656002)(6512007)(486006)(2906002)(26005)(186003)(66446008)(36756003)(6246003);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR05MB3311;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: +U+aQ9ComUdtSu5ma3e9h0cA3v0Z+i4Ee4yWxNU9q57Aj8iNOVN5W+O/yavFbFty802oEecHj6JNe0y7xZrs7dikmR04JIGHQmoEK1afW5M869ko9msrOFp/eTkEv/tF2cJcXs77Q5XTboBjZMFEJ1GPGJHS1cw1R5tY1pe4XouRCABfWc7F135bNO+dJd1PDazO+KFAn7aT+bIJUQEcCs/zyaeiPLbCL8TZzcyp7J4Kj5dUoWrHwd5VTGQ6IVGFdtdRjb6WDD6E6Q1agtW14naa1yly6nNZLze+nrc7+q0vq9bA7WpfvFp6+N9O2FlSTcuX2dXrL828wT1edJ2L2CKXRo7cPPW4s2WIKaILS/K6z8XyrTF2FfjcWkwRnKzzwNlDQFZzvH4b0KukKVRZEy/FeXVN3ogGqpWDRpVrPaA= Content-Type: text/plain; charset="iso-8859-1" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 810b1f00-33f4-4691-d9a2-08d70f7dee7a X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Jul 2019 14:56:24.3381 (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: VI1PR05MB3311 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 22, 2019 at 11:44:23AM +0200, Christoph Hellwig wrote: > The parameter is always false, so remove it as well as the -EAGAIN > handling that can only happen for the non-blocking case. ? Did the EAGAIN handling get removed in this patch? > Signed-off-by: Christoph Hellwig > drivers/gpu/drm/nouveau/nouveau_svm.c | 7 +++---- > 1 file changed, 3 insertions(+), 4 deletions(-) Code seems fine Reviewed-by: Jason Gunthorpe Jason