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=-3.8 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,URIBL_BLOCKED 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 E7304C2D0E4 for ; Fri, 27 Nov 2020 15:38:46 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 55B5120795 for ; Fri, 27 Nov 2020 15:38:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="KX4TTQfq"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=ffwll.ch header.i=@ffwll.ch header.b="j0CTYxjI" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 55B5120795 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ffwll.ch 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=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=RyFcWlNZ6PEMuCnI5IEcAWk/m3AfkQcbHPz7AOFjZsw=; b=KX4TTQfqNFZGvly7kXM8CeKhx OG2khwBv96+OiCeQCdJ6O+PwtgvKFSI4Cu6Ej7gQmEpmmDcJTtjYXDpwNB3ICupi/gS6lgAZu2k8H hSLb1ZbF8lhYp2JSV+6Dx5x9d+XGgL1XKMwlnnbDS+1GceRZ6i7Tw3M9CKofspP/SItLeanNgDJH2 TcX/q280IvcekSIZsFh/d/64Tewoz0LC/wdR/bjkmtw15eEyEbdBs2N1AVKNwz6T6hlnJf+BekkLc lJNaPO/8jHBSipVGm+Ftp+sQAgjeU+li6loO5U8jDCjcAw5zdpXuV8Gmb5OJZru5SyvgRHVRwDjrB JWVUEL5wg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kifo0-00039B-Ag; Fri, 27 Nov 2020 15:37:04 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kifnx-00038I-MI for linux-arm-kernel@lists.infradead.org; Fri, 27 Nov 2020 15:37:02 +0000 Received: by mail-wr1-x442.google.com with SMTP id u12so6027357wrt.0 for ; Fri, 27 Nov 2020 07:37:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to; bh=K1Lvq4AT8euTQFOTDi7SD1yQLWPU3xtKj6SslzOCQcc=; b=j0CTYxjISTzyYB3fnH07BP1SfkXZdDJFFx3Fq1Vh21kSx5OS6XHKFajDvVcGcx8pA8 cPCJqXp/h1c+KknHtBJuMbi8uavr493P4Sb/k+TrVqytxJYTAlRNAo2DznOvjz/xp51u jzdWE2vocNjByPF32K8tQ5Xdol/Cx8Q13Vf3w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to; bh=K1Lvq4AT8euTQFOTDi7SD1yQLWPU3xtKj6SslzOCQcc=; b=bNTH/oaKJdjk/YfoBUCXk2umDrYmhtT7/xoIrXOPewHtBfd0HqzuEDIdMZ8nfWcpNK Ajl2j+bo5t5LC748g+aeHdS/wp3OC8qTlGgoqhHWoxSllpjnCUHA3VmlRArSPz9xPcV1 4lPtX6rgyWTiNzUlJkmW7v+UTxMxdYhlWJ5DImZVXTeqB0snjdxbwsBfnKJSEJt8r1TT FWpbH/MzLMYAFVGauxeJQe2UHMH5RrpHR3DpH6LC2AlPop6ysdxK9DGYEcrmDUGK+Qs6 DdRxIrN4KfQNTA4jKXvgTMM+Tig5dvFAh6JgrzGg1P45z8TGe4ZG+UVUIeg6XMPiwWrD ZJoQ== X-Gm-Message-State: AOAM533cAyKtQiroisp8+EBZy5tP0Avfj34A/FfXQ/trOzcFublNDCuv 5lufw6JpqRWX5yFYyR+GxHiLOf/aJAz1ng== X-Google-Smtp-Source: ABdhPJw+HtnvrbrT1AqdueQE1hAvJ6eYSG3hDtZ8dwkM1q0A/rHWJIoxRYFcjysrLjp6WJc+IFTRWQ== X-Received: by 2002:adf:dd52:: with SMTP id u18mr10975193wrm.44.1606491420509; Fri, 27 Nov 2020 07:37:00 -0800 (PST) Received: from phenom.ffwll.local ([2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa]) by smtp.gmail.com with ESMTPSA id t184sm2744650wmt.13.2020.11.27.07.36.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Nov 2020 07:36:59 -0800 (PST) Date: Fri, 27 Nov 2020 16:36:57 +0100 From: Daniel Vetter To: Jason Gunthorpe Subject: Re: [PATCH v6 00/17] follow_pfn and other iomap races Message-ID: <20201127153657.GJ401619@phenom.ffwll.local> Mail-Followup-To: Jason Gunthorpe , DRI Development , LKML , kvm@vger.kernel.org, linux-mm@kvack.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-media@vger.kernel.org References: <20201119144146.1045202-1-daniel.vetter@ffwll.ch> <20201127131225.GX5487@ziepe.ca> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20201127131225.GX5487@ziepe.ca> X-Operating-System: Linux phenom 5.7.0-1-amd64 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201127_103701_752072_01FB27FF X-CRM114-Status: GOOD ( 21.32 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-samsung-soc@vger.kernel.org, kvm@vger.kernel.org, Daniel Vetter , LKML , DRI Development , linux-mm@kvack.org, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org 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 On Fri, Nov 27, 2020 at 09:12:25AM -0400, Jason Gunthorpe wrote: > On Thu, Nov 19, 2020 at 03:41:29PM +0100, Daniel Vetter wrote: > > I feel like this is ready for some wider soaking. Since the remaining bits > > are all kinda connnected probably simplest if it all goes through -mm. > > Did you figure out a sumbission plan for this stuff? I was kinda hoping Andrew would pick it all up. > > Daniel Vetter (17): > > drm/exynos: Stop using frame_vector helpers > > drm/exynos: Use FOLL_LONGTERM for g2d cmdlists > > misc/habana: Stop using frame_vector helpers > > misc/habana: Use FOLL_LONGTERM for userptr > > mm/frame-vector: Use FOLL_LONGTERM > > media: videobuf2: Move frame_vector into media subsystem > > At the very least it would be good to get those in right away. > > > mm: Add unsafe_follow_pfn > > media/videbuf1|2: Mark follow_pfn usage as unsafe > > vfio/type1: Mark follow_pfn as unsafe > > I'm surprised nobody from VFIO has remarked on this, I think thety > won't like it Same here tbh :-) > > mm: Close race in generic_access_phys > > PCI: Obey iomem restrictions for procfs mmap > > /dev/mem: Only set filp->f_mapping > > resource: Move devmem revoke code to resource framework > > sysfs: Support zapping of binary attr mmaps > > PCI: Revoke mappings like devmem > > This sequence seems fairly stand alone, and in good shape as well Yeah your split makes sense. I'll reorder them for the next round (which I'm prepping right now). > > My advice is to put the done things on a branch and get Stephen to put > them in linux-next. You can send a PR to Lins. There is very little mm > stuff in here, and cross subsystem stuff works better in git land, > IMHO. Yeah could do. Andrew, any preferences? -Daniel -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel