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=-10.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_2 autolearn=ham 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 768BEC433ED for ; Mon, 17 May 2021 22:07:45 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E02F960FF0 for ; Mon, 17 May 2021 22:07:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E02F960FF0 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=rothwell.id.au Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=fymDloMjvmWQIbGvVTxeaEpPQ8vGg0ypfrjYjR6+tgw=; b=d1+v7yaHRCi5G+4ELb69iCmxs ng5m3rxaDAnfsRR5Yql439marCk9Ewd99MxhEThY/n2jJ37py1D3I5oAXuNouuSuj4VJ9OV/52BjD DnPOU1jaudwpoD7ba/N0RiASXotQ6y++t1XLIVw511O9MXS2S6T7QaC2l+Xb/OSpG6kLqmVcHfDK+ jC1AVkLhOFWWvJ+bEbQVs9brBUCjqF/WGxxaYVoiIJaElortahO1Z7irkQeeAjisKR2OlfK8LQdyU noi8vQn0x/zqKHLTkxtNrGoH2FIZppoD2VPsBr+QYmD4MXojtAU8gu4YTJHRtes/N3fqIgG9jQimm gry17bIjQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lilMR-00GHD9-Hk; Mon, 17 May 2021 22:05:15 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lilMN-00GHCu-V9 for linux-arm-kernel@desiato.infradead.org; Mon, 17 May 2021 22:05:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=QqPue+XWgItzS+MHu96RgEgqmOAVbOgt1v6cm4FGDxM=; b=hMTDRX8VJDNEmJMtxxJlUotQ8D YEbjRrE04iouiAziYEg7Ul+m1a3LVFlPcpZMYCj67wERc0nNX0b7sUs5uVUwkkqvuGTt57JH6wZCX 9p4WnJjUXnadoXAzgzZHjX+T3neB+Kq9r5Ym8P7MldrlN9N7EY184pJ4rScwwVYAQSdo45xASKftK 7YfOYsBMRVt8EI5ZJlDZg5nscecSrFaBW0G395ZCWNT44pvANpuZiYq/5GV7qF1U4YaGdRy4vjWck eCA/9JND2bfTg09gj4KmiWwH8cIqlODnm56O+ilRff8bsRJev+Q8wg2y07swjMjhSfq5vKkGpU/oy y//mXHQA==; Received: from gimli.rothwell.id.au ([103.230.158.156]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lilML-00EAz9-3l for linux-arm-kernel@lists.infradead.org; Mon, 17 May 2021 22:05:10 +0000 Received: from authenticated.rothwell.id.au (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.rothwell.id.au (Postfix) with ESMTPSA id 4FkY8L0S1vzyQJ; Tue, 18 May 2021 08:04:49 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=rothwell.id.au; s=201702; t=1621289095; bh=3zQXipN+5rOCvuSWYiWEGaHiIwQkUt3DbG1nZj86/GA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=HR05GDKDWir9rgKkNqrsP3gB9XDLsEcqyIvUHVkqm/81SVLRh95UaKWlAzs1Sv6FS EdvTZ8ePSqaUgMoCtJCdWuOxNjbJmVGI/qoV1ZtToTpr7LyBtOkCSmwQWJNLB1FxbS xNnTzmmQMrtA4DtMnGhNGAiHbbBLeNAGOEU/cyfS97qKdCVfXGRHy5wqGsG6rUZXQw YK79e1iKJTXf5ReYrjvWE3sClmplCce00k8aYXkPKYKAgDp44J2EI76SN2V7aApLp+ J7h8ZC+kEmV6Ye048s2mUco9cIxyfmgfOdrsuXWrSuhKR1oSXX9qdoN0b7AYBFGXb8 giw94aHB87aDg== Date: Tue, 18 May 2021 08:04:42 +1000 From: Stephen Rothwell To: Daniel Vetter Cc: Christoph Hellwig , Stephen Rothwell , Linus Torvalds , Tomasz Figa , Marek Szyprowski , Mauro Carvalho Chehab , DRI Development , LKML , Linux-MM , Linux ARM , Linux Media Mailing List , linux-samsung-soc Subject: Re: [PULL] topic/iomem-mmap-vs-gup Message-ID: <20210518080442.28080686@elm.ozlabs.ibm.com> In-Reply-To: References: X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210517_150509_342854_80EE0D19 X-CRM114-Status: GOOD ( 21.75 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============5181198728738795487==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============5181198728738795487== Content-Type: multipart/signed; boundary="Sig_/aggeSpPGRwf/ibiafiFMPrw"; protocol="application/pgp-signature"; micalg=pgp-sha256 --Sig_/aggeSpPGRwf/ibiafiFMPrw Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Daniel, On Mon, 17 May 2021 17:29:35 +0200 Daniel Vetter w= rote: > > On Mon, May 10, 2021 at 9:30 AM Christoph Hellwig wro= te: > > > > On Mon, May 10, 2021 at 09:16:58AM +0200, Daniel Vetter wrote: =20 > > > > End result: not pulling it, unless somebody can explain to me in sm= all > > > > words why I'm wrong and have the mental capacity of a damaged roden= t. =20 > > > > > > 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. =20 > > > > 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. =20 >=20 > Since I'm not getting any cozy consenus vibes here on any option I > think I'll just drop this. >=20 > Stephen, can you pls drop >=20 > git://anongit.freedesktop.org/drm/drm topic/iomem-mmap-vs-gup >=20 > from linux-next? It's not going anywhere. I'll also go ahead and > delete the branch, to make sure you catch this update :-) I have dropped this now. Thanks for letting me know. --=20 Cheers, Stephen Rothwell --Sig_/aggeSpPGRwf/ibiafiFMPrw Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmCi6HoACgkQAVBC80lX 0GyNzAf+PsJKuLMSyGdrI9Eb1SKOtnkBb4Phs9Z2XAd9Ch2v94oPoiB9Q+2fMR3X YDjZPndyD/LzF1qIRGWDZLhcf8FBU80ZXRNxTfw+yjoH9wcj+cQl5Nlw/qTdINnZ FI/aXekpdIFmzXYWl3+6h2RCq/C/+/fl3hIDqRyNgSRWIx+oqk97eSB4WEnynGLB ng3poVuFFymwD/y9fDhCyEKfwjEDZqu+fiaYS0Jvl+e9nx19iScrMtm9jVmS7F4Y yHItNAj7wnhP+UqJ4Xs2LoQv+AfX0amYwjVqen/f4mEY5cVwBgMmTiVi/7I9nQVe 5nXKiM/GXzrpZDuYnZelmd+uAsn+Gw== =3/Jz -----END PGP SIGNATURE----- --Sig_/aggeSpPGRwf/ibiafiFMPrw-- --===============5181198728738795487== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============5181198728738795487==--