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=-4.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS 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 6A9F3C433ED for ; Thu, 6 May 2021 22:32:44 +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 E4B3860C41 for ; Thu, 6 May 2021 22:32:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E4B3860C41 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org 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-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=CI0/fMO5vI9VmZkBFdsexRrD9t/aYP87X+bW10JAp08=; b=UG1plnlcp1CMX30Z7YiYBo6AV 2MCg0cPuUYB97ui1xlKVeBIPmin8zXfPg5hoqu6eI+20TKnAtbdzT6zMa1NbfYuuMGkTe/3NJX8LE J+/TpxrN8MVCL9EVdnRwb7vAmHFIDPYzmnluKuJtN2E172MJPjT+y7EExpPavJdTaNfbuCp/PRFa7 eTaeBx7hsLfBLmirINO/UobY99AXNdLDqU/UGpxvdWgtbmvdeCZ78NiBxU1DAkalR81ppOc10rPlD YXK/F7Oc9RvXwWZW1i6LuYWAFMVctpPV1u47OwkKwamIJeuTC0yzpl+QumYxDsa/SXwQXcFLiY4wg UepZ9IACA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lemWU-005UQw-LD; Thu, 06 May 2021 22:31:10 +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 1lemWS-005UQk-Jm for linux-arm-kernel@desiato.infradead.org; Thu, 06 May 2021 22:31:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Type:Cc:To:Subject:Message-ID :Date:From:In-Reply-To:References:MIME-Version:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=htNAnGunm2mFYSv2XzhlQsCDD0LeBwjAb0MYMtun6cM=; b=zuVZMv16HFNIwua8wRJ7VBD2fB WT0R4jdlEnHfGyakBgpmm5zoaVGI2SP37QZ4M1cPov+4Gxt1CBuSH2Pl2xhiwDaUKU4fdE3Qfxkd8 h6cJ4AbuFQ5OO+FPJzxv4bdFBYUYlRZYP042NSieNX7hAAdV2CWZXL4z9GbbkFfTisOWfbcKg2drb YtVkl3BBViYs6lGZNK0wdTEZM+Sn2oLniMsSMrCb+FLW1/bFOQCwC3673F+OOlxZeJYmmIiKSBW78 lCkO+fV/FaxI8WHtcHor4HbgZxe4O500vbQafgOo77USQBnUjhR8Hl6cmF2yzqCe77Yg8XM2QOF82 fLk+GobQ==; Received: from mail-lf1-x12a.google.com ([2a00:1450:4864:20::12a]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lemWP-006Qv0-Rx for linux-arm-kernel@lists.infradead.org; Thu, 06 May 2021 22:31:07 +0000 Received: by mail-lf1-x12a.google.com with SMTP id j10so9998101lfb.12 for ; Thu, 06 May 2021 15:31:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=htNAnGunm2mFYSv2XzhlQsCDD0LeBwjAb0MYMtun6cM=; b=BORPcZuE9+rrQQNFUoJnt6f4FpTDIRpdNZeTdxMdbIECzBdY5oiwCD0JpZedlSNZ+7 bix+fDrgKkNKxnNlizSFTjxEzgqSzLtT6D02CJDWAGt9oBFGQ4VHrgxc6tYB6CmAeE2+ 8YQ9a8BVm4oo8k7TJnGL+6WsOCsGhg6VQJj04= 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=htNAnGunm2mFYSv2XzhlQsCDD0LeBwjAb0MYMtun6cM=; b=KdrIKbuAvigxuKFpTHkawZpqFL8wA4O8GuWif5yVOT4Z3i8rYGqNa4qW/mBK4LRB1/ 1HC63Z3R7mUqRqgrHiDE5C5OWhwy+g0zlc+X9Z9AC2aQ31xTt6I8QgLONYbNuoLLmTWz oV/qrZJ1kO55/3sw4VQTQjZ/OFKPyS91DPLbOItGJH5ZYdFkJbrDtIV0A6VXojlXUQE2 csBbeU7ywjZWrtfFuQmB7rULfO0FLEQSI9L1kRJJ4NbmPvKSKcwKUzLNtqk6htYjAwuS wc+4/qgZQDh1cEPJuSQrlohczsYhIr6hYcecaJDV+2m2VZ3KFvtuDEDBkME+XtdYPqnf Pb7w== X-Gm-Message-State: AOAM53320ZXHy4+U8Hrck1xLP22ApVtcgKJyAYdSkqtbm0NWsViWTMDr iqZLtc4uW7WIk0rM+bzJdncU140cdF3Uffz7 X-Google-Smtp-Source: ABdhPJz/+Z6kuNZddED9tKGPmzM4RD90s9Vra0c7j+IjaJJz7DnHZOr3uNSOpoRar5rlwsmyz87CTg== X-Received: by 2002:a19:6755:: with SMTP id e21mr4601891lfj.29.1620340263127; Thu, 06 May 2021 15:31:03 -0700 (PDT) Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com. [209.85.167.48]) by smtp.gmail.com with ESMTPSA id z28sm1335426ljn.31.2021.05.06.15.31.02 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 06 May 2021 15:31:02 -0700 (PDT) Received: by mail-lf1-f48.google.com with SMTP id j10so9997980lfb.12 for ; Thu, 06 May 2021 15:31:02 -0700 (PDT) X-Received: by 2002:a05:6512:1095:: with SMTP id j21mr4272160lfg.40.1620340261797; Thu, 06 May 2021 15:31:01 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Linus Torvalds Date: Thu, 6 May 2021 15:30:45 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PULL] topic/iomem-mmap-vs-gup To: Daniel Vetter Cc: DRI Development , LKML , Linux-MM , Linux ARM , Linux Media Mailing List , linux-samsung-soc@vger.kernel.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210506_153105_925984_312FEE37 X-CRM114-Status: GOOD ( 14.53 ) 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: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org [ You had a really odd Reply-to on this one ] On Mon, May 3, 2021 at 12:15 PM Daniel Vetter wrote: > > Anyway here's a small pull for you to ponder, now that the big ones are > all through. Well, _now_ I'm all caught up. Knock wood. Anyway, time to look at it: > Follow-up to my pull from last merge window: kvm and vfio lost their > very unsafe use of follow_pfn, this appropriately marks up the very > last user for some userptr-as-buffer use-cases in media. There was > some resistance to outright removing it, maybe we can do this in a few > releases. Hmm. So this looks mostly ok to me, although I think the change to the nommu case is pretty ridiculous. On nommu, unsafe_follow_pfn() should just be a wrapper around follow_pfn(). There's no races when you can't remap anything. No? Do the two media cases even work on nommu? Finally - did you intend fo this to be a real pull request? Because the email read to me like "think about this and tell me what you think" rather than "please pull".. And I have now fulfilled that "think about and tell me" part ;) Linus _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel