From patchwork Tue Mar 16 15:33:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Vetter X-Patchwork-Id: 12142497 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=-11.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT 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 DB723C433DB for ; Tue, 16 Mar 2021 15:33:16 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 E47B3650F0 for ; Tue, 16 Mar 2021 15:33:15 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E47B3650F0 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ffwll.ch Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5C3C189269; Tue, 16 Mar 2021 15:33:15 +0000 (UTC) Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by gabe.freedesktop.org (Postfix) with ESMTPS id A463189269 for ; Tue, 16 Mar 2021 15:33:13 +0000 (UTC) Received: by mail-wm1-x329.google.com with SMTP id 124-20020a1c00820000b029010b871409cfso1689285wma.4 for ; Tue, 16 Mar 2021 08:33:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=4MtyicSEo1IFZBpiFoiow7kzS1Jr8w9+zJmQTxAoVfE=; b=aOBu4s4YBTkov1on28kzZszJKza9hsa6v9IjY9CZuG1RXgyJINqB2YR9wqD8mrJsG5 oW9CNdk48E00tfQFFqf7eabOXr4V6g1rSZIOZUrY2E9p4jZhOHsIqTc/Zrr2iIrrLpRW UO0d+H76OkhNjzww3mqsdcDytyEk8Lp3GsJCc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=4MtyicSEo1IFZBpiFoiow7kzS1Jr8w9+zJmQTxAoVfE=; b=hHXQOl7+fEHaGFkweICGYi4znDSLZTobD9v9vXfm4AynI2EuSxJiPkqHnskYIrfGYO N0oek8jx8R9STnTDE9fBz28iC4Th6VrnBVWRdr7ORI0R/EkSymJEJuKoMNXCjd7cxga7 uchB2a8uju4hiE2Vn88TqboXFmiKco+byS0mH/EznLT3q9vCnj/DnhdifeZL2jX7Yo9q SKUvwtGSNXl0eJ+02+zezphQbsK/zV3iHOot/nq2fY+1Bv8z9PF803E2wq6+0/vEN/xk caWy0EzRuNjqrvzodRjTXzt5ER9Top2B84WVDDyWmg49070xPb+veEI+iMLP/fZP5VJH Gyhg== X-Gm-Message-State: AOAM5314MQa/Bs+wRhwOvl2njcKfFgSN7geQmmuQ0WRpan/uT2aYyY1m Yd4QHffYEXytAFXPstjjdDct5skLOibF1xR4 X-Google-Smtp-Source: ABdhPJwLcv8LIcwpJj11nT7CjeCYw+rPcm7MmzmWjcj9F/IESEfr8FtSUIk9PgYxtf0usoMMx2lQNw== X-Received: by 2002:a05:600c:2301:: with SMTP id 1mr258796wmo.36.1615908792340; Tue, 16 Mar 2021 08:33:12 -0700 (PDT) Received: from phenom.ffwll.local ([2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa]) by smtp.gmail.com with ESMTPSA id h22sm3985078wmb.36.2021.03.16.08.33.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Mar 2021 08:33:11 -0700 (PDT) From: Daniel Vetter To: DRI Development , LKML Subject: [PATCH 0/3] switch to unsafe_follow_pfn Date: Tue, 16 Mar 2021 16:33:00 +0100 Message-Id: <20210316153303.3216674-1-daniel.vetter@ffwll.ch> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-samsung-soc@vger.kernel.org, kvm@vger.kernel.org, Daniel Vetter , linux-mm@kvack.org, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi all, This are the leftovers from my pull that landed in 5.12: https://lore.kernel.org/dri-devel/CAKMK7uHQ=6OJcRguCUtiB456RWdCfwSNEXV8pQsfsPodTJ6uxw@mail.gmail.com/ Only changes compared to the old submission are: - dropped vfio and kvm patch - add patch to just remove follow_pfn at the end Assuming no objections I'd like to lande these three patches in my topic branch for 5.13, for sufficient amounts of testing in linux-next before the merge window. Ack/review especially on the two mm patches very much thought after. Cheers, Daniel Daniel Vetter (3): mm: Add unsafe_follow_pfn media/videobuf1|2: Mark follow_pfn usage as unsafe mm: unexport follow_pfn drivers/media/common/videobuf2/frame_vector.c | 2 +- drivers/media/v4l2-core/videobuf-dma-contig.c | 2 +- include/linux/mm.h | 4 +- mm/memory.c | 46 ++++++++++++------- mm/nommu.c | 28 ++++++++--- security/Kconfig | 13 ++++++ 6 files changed, 68 insertions(+), 27 deletions(-)