Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp712700pxj; Tue, 18 May 2021 12:25:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwW8FnTTd1+qsrc/acEpc3qDoUnFDP1knOyzXil6KQ/7nMaBVHYURaeSkL2RT0oGuWF4s9n X-Received: by 2002:a17:907:209b:: with SMTP id pv27mr7662029ejb.475.1621365909195; Tue, 18 May 2021 12:25:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621365909; cv=none; d=google.com; s=arc-20160816; b=gsBL9hX2fMvl9Unrjge073Kp/ykPvgDjKkQM4v5ais40hwuJXpQsddBh5Fg+ASCjUk FxmQuEEr9ODLMUmr/UeBmrRZ/8f07gBnowfXAaOi2/jrDb+MuaUK7qBbe4haQ+tu4Cph RKUQaAjKYy/rsRZ6yz/W44uE3W7DH2j+LF1516FkLznb48Xv5nTiNhOdR8y8lgNSKMEK l9dtPMZWdRvqxVdkSdOf/4AkKZ5GV0IX0c7RwMUDeclz9P8hLgIZSRWFhyxeZZyWBFIr SgehFrp0vqtTkQrrY+k1KoHKlocHHCsVAu1ywDVr1BCDB2BbZwAeUfTV44WuA6c4fCMh Tbpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=LHuA8eHjuppTIJ75R7cv3VweFNbwB4dqcEtg7HA60qg=; b=wUMZZ/sz9UEhnqdJwyCRkip7SCks7PKkCYf7BiQ9Xo0YsF59eSGuruyIxL4feq17uJ SDmPnCC9Yfkzg+vw3YEEI8jb5Wp/+9zSCmu2yfmk1MJWjmvYGxZbBdBIkR9+EdK4Knml qKFPr/ViQAaqu5oqxoRIG8guHQ9X+yXu5jPnLJ0x8F/i/l5Y19+dQMNCk6T6ezbv5CR5 pH1JUMPoXl8+tJX4rDfBv4ELgXDkeJ4cEAqCVwvNdMbxLnSKvIliK4Ac9B6kjlknxbX1 +hRjwHmiUESu3gB5baXBXbvIcn+XvUTAcpPl6c57OfR0rXBDfhKmFVs/bNMvHjgx5mKE laXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ffwll.ch header.s=google header.b=RMks6CV9; 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 b23si19362522edv.199.2021.05.18.12.24.31; Tue, 18 May 2021 12:25:09 -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; dkim=pass header.i=@ffwll.ch header.s=google header.b=RMks6CV9; 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 S241616AbhEQQfv (ORCPT + 99 others); Mon, 17 May 2021 12:35:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40038 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245207AbhEQQfd (ORCPT ); Mon, 17 May 2021 12:35:33 -0400 Received: from mail-ot1-x332.google.com (mail-ot1-x332.google.com [IPv6:2607:f8b0:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 912A0C0610F9 for ; Mon, 17 May 2021 08:29:47 -0700 (PDT) Received: by mail-ot1-x332.google.com with SMTP id n32-20020a9d1ea30000b02902a53d6ad4bdso5893001otn.3 for ; Mon, 17 May 2021 08:29:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=LHuA8eHjuppTIJ75R7cv3VweFNbwB4dqcEtg7HA60qg=; b=RMks6CV9lAVCFBcqyvaL15OwQDYYydA46ie8ERZRUW9bdz6Ss2d63nvntdd2ppylbj TT1hoAtcrCR7P1QUgAoKu41mbQqWIXoRN7jJxyGntT0uCWz/IiczJZV24UwIWC7mZW89 iDl7tmzK3OcYBBXrYUDYJ/OJrz6o9/5h4ij88= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=LHuA8eHjuppTIJ75R7cv3VweFNbwB4dqcEtg7HA60qg=; b=du+0AJjL4GXkHZ/uiRaI9rC1J6zh6E48rMT6OvYiC/PwNNfriooyOEzSvrEd6oU6uk nAslaWJrUwbRV64RMuVVcXyxrHeNYceCvqboH1owwCmwcp5zd7Bisvg2IPMukumaIaHR O5xOupOgYX4zZ16C4t0rR4JtjZNfosSMA2t8X5Vc/TxRIQ65fY0GUIJRtHAoqwKmJd/z 1Z4UZy3URUnOSA3r2uAQijJhrOPLeQXOnwfjbzIGUPlJRdh3J2H8vRQ03JvGFTth3cdl DIb/EEqp7mysPY4T0R9FC4hx3ZcQdOmOPUat4a0vKvxSwg5O7Fx58MLIEPXFJOTsOiBf mETQ== X-Gm-Message-State: AOAM532Ck0F2jJ1Jm0jiwchV9HV9H/wJj8y6alOvYOMfTT0NR8xN7cHW ZL5siE4688r/s5KI2vfSiJJd/26NW8BmDpUHZTjQUQ== X-Received: by 2002:a05:6830:1155:: with SMTP id x21mr88425otq.303.1621265387064; Mon, 17 May 2021 08:29:47 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Daniel Vetter Date: Mon, 17 May 2021 17:29:35 +0200 Message-ID: Subject: Re: [PULL] topic/iomem-mmap-vs-gup To: Christoph Hellwig , Stephen Rothwell Cc: Linus Torvalds , Tomasz Figa , Marek Szyprowski , Mauro Carvalho Chehab , DRI Development , LKML , Linux-MM , Linux ARM , Linux Media Mailing List , linux-samsung-soc Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 10, 2021 at 9:30 AM Christoph Hellwig wrote: > > On Mon, May 10, 2021 at 09:16:58AM +0200, Daniel Vetter wrote: > > > End result: not pulling it, unless somebody can explain to me in small > > > words why I'm wrong and have the mental capacity of a damaged rodent. > > > > No rodents I think, just more backstory of how this all fits. tldr; > > pin_user_pages is the only safe use of this vb2 userptr thing. > > Yes, which is why I advocate for just ripping the follow_pfn path > out entirely. It could have been used for crazy ad dangerous peer to > peer transfers outside of any infrastructure making it safe, or for > pre-CMA kernel memory carveouts for lage contiguous memory allocations > (which are pretty broken by design as well). So IMHO the only sensible > thing is to remove this cruft entirely, and if it breaks a currently > working setup (which I think is unlikely) we'll have to make sure it > can work the proper way. Since I'm not getting any cozy consenus vibes here on any option I think I'll just drop this. Stephen, can you pls drop git://anongit.freedesktop.org/drm/drm topic/iomem-mmap-vs-gup from linux-next? It's not going anywhere. I'll also go ahead and delete the branch, to make sure you catch this update :-) Thanks, Daniel -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch