Received: by 2002:a25:1104:0:0:0:0:0 with SMTP id 4csp962452ybr; Sat, 23 May 2020 02:44:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzNQYgvju6zZaBggQmMbvrwc3sEYuIQH8oEK2ECXVjk2lwoPSOXk+kAC7Y7VC0a7ortcu3z X-Received: by 2002:a17:906:6a43:: with SMTP id n3mr11012981ejs.33.1590227051078; Sat, 23 May 2020 02:44:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590227051; cv=none; d=google.com; s=arc-20160816; b=CYVlgbKDDW3w+GVEmYB3DDMEKZW7zjUXxQdlgIMML8BYsnRR10WrdaQDk89WxqqfWu Z2E/vYr3R/KamDO3J86sygtGFstWmxq9RIhxWF8sJlNww+GxSWgLF0+XNnAHCmvgcn70 LThlppo0Ps/Dn3efigHQJp0JWsXBuSIlMJqaZaVUiZ+gaWJW4yvc+VmoCL9PrJvIxKXV xa4eNlRsmwOiO/SVn1jVXpo4bUUMrkZJs2xuZ4BsHuHz3FiTZoAt6MwSi6N8cuV6C2M3 7oD/vSuL8E+IQurjMPd7yhmuZX2czovkhCzLJvedUxhDGsir9k/7kVZ0iJ6HkzS7+41Y A3lA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:user-agent:message-id:subject:cc :from:to:references:in-reply-to:content-transfer-encoding :mime-version; bh=kEeCteofX4A2UaCul2y4XMY11poLqBlrc3wkq2yinh8=; b=OxST/RlnKuTeGjKNiBwAR31qkXTzrvkz1oPO1rb4GivLP+AcWgIli9a4kWDCR6jlSR MrGno5cmPLoEPAb9uaMH0+BEoyuFeyh5kqVRMOgdW/4IEV8VW11I9ZNTHodkfdlnSmPw WqvRp6wnLO7tRR4EmgpZFomlrmyuCVpvRA17Nn7zhyl24mBnlCgNlfrUJ+1+z1w7/v/j 45JAPj8nJhzaNH1KBAluBUnDBW5z0CuKbmuGvnH4k/d0hq6Yi282RAig3bsSZoAor7Xy JuhmmBT1xjsCT+5TcZq6WQ+gs3sYzZ6kBTgvYDyydosNLHqJ5LLVv3xs/yYQtYvJHSFm kLig== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n23si6125380ejr.457.2020.05.23.02.43.48; Sat, 23 May 2020 02:44:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726695AbgEWJll convert rfc822-to-8bit (ORCPT + 99 others); Sat, 23 May 2020 05:41:41 -0400 Received: from mail.fireflyinternet.com ([109.228.58.192]:57880 "EHLO fireflyinternet.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725268AbgEWJll (ORCPT ); Sat, 23 May 2020 05:41:41 -0400 X-Default-Received-SPF: pass (skip=forwardok (res=PASS)) x-ip-name=78.156.65.138; Received: from localhost (unverified [78.156.65.138]) by fireflyinternet.com (Firefly Internet (M1)) with ESMTP (TLS) id 21269533-1500050 for multiple; Sat, 23 May 2020 10:41:25 +0100 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT In-Reply-To: <20200522051931.54191-1-jhubbard@nvidia.com> References: <20200522051931.54191-1-jhubbard@nvidia.com> To: Andrew Morton , John Hubbard From: Chris Wilson Cc: Souptick Joarder , Matthew Wilcox , Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , David Airlie , Daniel Vetter , Tvrtko Ursulin , Matthew Auld , intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, LKML , linux-mm@kvack.org, John Hubbard Subject: Re: [PATCH v2 0/4] mm/gup, drm/i915: refactor gup_fast, convert to pin_user_pages() Message-ID: <159022688563.11139.3402294435382936623@build.alporthouse.com> User-Agent: alot/0.8.1 Date: Sat, 23 May 2020 10:41:25 +0100 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting John Hubbard (2020-05-22 06:19:27) > The purpose of posting this series is to launch a test in the > intel-gfx-ci tree. (The patches have already been merged into Andrew's > linux-mm tree.) > > This applies to today's linux.git (note the base-commit tag at the > bottom). > > Changes since V1: > > * Fixed a bug in the refactoring patch: added FOLL_FAST_ONLY to the > list of gup_flags *not* to WARN() on. This lead to a failure in the > first intel-gfx-ci test run [1]. > > [1] https://lore.kernel.org/r/159008745422.32320.5724805750977048669@build.alporthouse.com Ran this through our CI, warn and subsequent lockup were gone. That lockup is worrying me now, but that doesn't seem to be an issue from this series. The i915 changes were simple enough, I would have computed the pin flags just once (since the readonly bit is static, that would be interesting if that was allowed to change mid gup :) Reviewed-by: Chris Wilson -Chris