From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 225D0C49EAB for ; Tue, 5 Nov 2019 09:49:43 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id C3D1A21A4A for ; Tue, 5 Nov 2019 09:49:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=ffwll.ch header.i=@ffwll.ch header.b="KE3dP9Kv" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C3D1A21A4A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ffwll.ch Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 74C366B0003; Tue, 5 Nov 2019 04:49:42 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 7248F6B0007; Tue, 5 Nov 2019 04:49:42 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 614A86B0008; Tue, 5 Nov 2019 04:49:42 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0123.hostedemail.com [216.40.44.123]) by kanga.kvack.org (Postfix) with ESMTP id 4E4616B0003 for ; Tue, 5 Nov 2019 04:49:42 -0500 (EST) Received: from smtpin10.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with SMTP id 054D8180AD81A for ; Tue, 5 Nov 2019 09:49:42 +0000 (UTC) X-FDA: 76121751804.10.lock81_377a9f24e1c3d X-HE-Tag: lock81_377a9f24e1c3d X-Filterd-Recvd-Size: 7011 Received: from mail-wm1-f66.google.com (mail-wm1-f66.google.com [209.85.128.66]) by imf12.hostedemail.com (Postfix) with ESMTP for ; Tue, 5 Nov 2019 09:49:41 +0000 (UTC) Received: by mail-wm1-f66.google.com with SMTP id z19so15179781wmk.3 for ; Tue, 05 Nov 2019 01:49:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=sender:date:from:to:cc:subject:message-id:mail-followup-to :references:mime-version:content-disposition:in-reply-to:user-agent; bh=oRi35sDRRYSuldGaopElz5IjGs2HKuOAcqpcVoq2wdY=; b=KE3dP9KvcLUq0hJbOhSYMXJr4Z1Cuc2Vc3sYtj3A588K1AxiPBhNRv2jLPVvg3HpiB asO9jGRsCrrAGrGXQuynbnaqIOtPdku/48txDbkC3jyEv0zbAYA99l9MmTsEF4lXmu4c UlGTi/e9P81uVhAoSbMh6OU7HFW5tO869wbeU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to:user-agent; bh=oRi35sDRRYSuldGaopElz5IjGs2HKuOAcqpcVoq2wdY=; b=GwRwwlrGWLfFXY1px5zpRNkF2pEmi7DXVEpBuI87m8UKqk6xyEMRT+EkZUgHzfNjPi kDPzbpxzAnx1hElZ/JmY5doqDzC9jZqWIAzc6so59mVBiaYTLD/9Ym3J9HX6gzj9gw8h vu1Zly4o0uuNN5hzMZpY52ZkrEl53ajGTETq6PB0Q/dvPmFgaCGEZsjlBt4ldvckAVgB gAeFFtnWqFGaz91zaX/Pv6sOYOnjNG9XocWhwhESQVk0uEL0mksNE1z44+YoBXh91/Ap dCNKacxBSMcBf+ubFnWvBJd8s5sLw5T3ZXRB2ubAfhi6pUlFcVIosQkMEr7bj4SQBti/ q48Q== X-Gm-Message-State: APjAAAW5aH/jLuWfcQ4Rd2lB/ELuR8AWzZqpvcAnDaNUH1Y/8feJBzxI VelSACKRYarc9VHCdekOaA9yQA== X-Google-Smtp-Source: APXvYqy+m+ZJ5zxOn/Dji3l65qB+TEfMmH5EiR/oP/iFPjGmYGokusjpTK+YoOlM7MNeuKLe8vHIRQ== X-Received: by 2002:a7b:c925:: with SMTP id h5mr3591415wml.115.1572947379914; Tue, 05 Nov 2019 01:49:39 -0800 (PST) Received: from phenom.ffwll.local (212-51-149-96.fiber7.init7.net. [212.51.149.96]) by smtp.gmail.com with ESMTPSA id j19sm25704277wre.0.2019.11.05.01.49.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Nov 2019 01:49:39 -0800 (PST) Date: Tue, 5 Nov 2019 10:49:36 +0100 From: Daniel Vetter To: John Hubbard Cc: Ira Weiny , Andrew Morton , Al Viro , Alex Williamson , Benjamin Herrenschmidt , =?iso-8859-1?Q?Bj=F6rn_T=F6pel?= , Christoph Hellwig , Dan Williams , Dave Chinner , David Airlie , "David S . Miller" , Jan Kara , Jason Gunthorpe , Jens Axboe , Jonathan Corbet , =?iso-8859-1?B?Suly9G1l?= Glisse , Magnus Karlsson , Mauro Carvalho Chehab , Michael Ellerman , Michal Hocko , Mike Kravetz , Paul Mackerras , Shuah Khan , Vlastimil Babka , bpf@vger.kernel.org, dri-devel@lists.freedesktop.org, kvm@vger.kernel.org, linux-block@vger.kernel.org, linux-doc@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-media@vger.kernel.org, linux-rdma@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, netdev@vger.kernel.org, linux-mm@kvack.org, LKML Subject: Re: [PATCH 09/19] drm/via: set FOLL_PIN via pin_user_pages_fast() Message-ID: <20191105094936.GZ10326@phenom.ffwll.local> Mail-Followup-To: John Hubbard , Ira Weiny , Andrew Morton , Al Viro , Alex Williamson , Benjamin Herrenschmidt , =?iso-8859-1?Q?Bj=F6rn_T=F6pel?= , Christoph Hellwig , Dan Williams , Dave Chinner , David Airlie , "David S . Miller" , Jan Kara , Jason Gunthorpe , Jens Axboe , Jonathan Corbet , =?iso-8859-1?B?Suly9G1l?= Glisse , Magnus Karlsson , Mauro Carvalho Chehab , Michael Ellerman , Michal Hocko , Mike Kravetz , Paul Mackerras , Shuah Khan , Vlastimil Babka , bpf@vger.kernel.org, dri-devel@lists.freedesktop.org, kvm@vger.kernel.org, linux-block@vger.kernel.org, linux-doc@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-media@vger.kernel.org, linux-rdma@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, netdev@vger.kernel.org, linux-mm@kvack.org, LKML References: <20191030224930.3990755-1-jhubbard@nvidia.com> <20191030224930.3990755-10-jhubbard@nvidia.com> <20191031233628.GI14771@iweiny-DESK2.sc.intel.com> <20191104181055.GP10326@phenom.ffwll.local> <48d22c77-c313-59ff-4847-bc9a9813b8a7@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48d22c77-c313-59ff-4847-bc9a9813b8a7@nvidia.com> X-Operating-System: Linux phenom 5.2.0-3-amd64 User-Agent: Mutt/1.10.1 (2018-07-13) X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Mon, Nov 04, 2019 at 11:20:38AM -0800, John Hubbard wrote: > On 11/4/19 10:10 AM, Daniel Vetter wrote: > > On Thu, Oct 31, 2019 at 04:36:28PM -0700, Ira Weiny wrote: > >> On Wed, Oct 30, 2019 at 03:49:20PM -0700, John Hubbard wrote: > >>> Convert drm/via to use the new pin_user_pages_fast() call, which sets > >>> FOLL_PIN. Setting FOLL_PIN is now required for code that requires > >>> tracking of pinned pages, and therefore for any code that calls > >>> put_user_page(). > >>> > >> > >> Reviewed-by: Ira Weiny > > > > No one's touching the via driver anymore, so feel free to merge this > > through whatever tree suits best (aka I'll drop this on the floor and > > forget about it now). > > > > Acked-by: Daniel Vetter > > > > OK, great. Yes, in fact, I'm hoping Andrew can just push the whole series > in through the mm tree, because that would allow it to be done in one > shot, in 5.5 btw is there more? We should have a bunch more userptr stuff in various drivers, so was really surprised that drm/via is the only thing in your series. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch