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 41CA6C55179 for ; Thu, 5 Nov 2020 12:50:30 +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 C451C2083B for ; Thu, 5 Nov 2020 12:50:29 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="KEkPuvZZ"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=ziepe.ca header.i=@ziepe.ca header.b="ey9/JXPq" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C451C2083B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ziepe.ca 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: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:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=NUdbyOyUInVty2HJhrMZ3WBUgc1ojtxsI7NWoKYtk1Q=; b=KEkPuvZZnLP9B19vyXacN6Uq/r IoHrz4bddmEPO7C7CZbDjMkazK7rCjSS5HU5PKw2y0Q6IkrFU/uah0H35LsFEkeyprT50gYbQM3EQ N8XP5DC1Asx4zhtonjMApiL6f2Rfrd/OwG0ETax/hIHUS9T5ZcgtT6rCdpPTyP7Jqe1ADdoy1KDMb iI8u2GexNrkMtTPhaOC/0vyo8y0RicvtqgMtX+P1aPffJvQdTXMSbnuaAlZ5aKQquEgcPLPIrRwAS fYgn8ewFRPjlsVKS40L42e8W5qUaqXChyQc3ybH0AuEwC4ZAXNPyw0E+Oo9M5LepePQD09yn/5z7V nKHbZYNQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kaeiD-0003ap-1t; Thu, 05 Nov 2020 12:49:57 +0000 Received: from mail-qt1-x844.google.com ([2607:f8b0:4864:20::844]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kaei9-0003ZA-EQ for linux-arm-kernel@lists.infradead.org; Thu, 05 Nov 2020 12:49:55 +0000 Received: by mail-qt1-x844.google.com with SMTP id h12so921243qtc.9 for ; Thu, 05 Nov 2020 04:49:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=c/75nGkQrQ26C3oLWTOAYAjfB1zI6lLeh7OxDvBkYU4=; b=ey9/JXPqLzTLqSC0JUXYcVxUXf6bgAVzYD4I4rO+pMYwL+MZhAaGFEUE/+P8Locz8v LJ+RhibI0qf9gLCV/mRJ83hORIvqSMnJCg5JZJzCh+xHF7VIlIbjuRPAp0C63CSZuqsG vYgc5f9BkYulbWJWSx8NN3DJBDW1+TKWxoIWvVybUSqXDpV2fkacRRICo8Tgpy2bpeGk Ltiq/5WP3OM3AF7WaYqeeBRq6dKQGJ/PL2Qyomfzz0Quj8y3hj/F49F0vpFao5oEjJKE yviSyey2jqX+EBs1TWKrdjoCX5L1qgaPHh/4yTZi2biI/4T2G6/5ZjvS2T05bvZ3lDtu PdhQ== 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:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=c/75nGkQrQ26C3oLWTOAYAjfB1zI6lLeh7OxDvBkYU4=; b=EVGbCcI9vyg2+y/mdMANSiYk9m12MgBaw/hW3fAcEIRwsCQj1b4g4XCNk1GOfmbt7Y VszGqPXzMEy/0FpEIV9U7NlTIi2z5XtOuvB2THeZGwjthnUdQB6zn3QdSlImq36ifPPG RUrWzqZ+e3yFhOMooI/mSpttkuF+339xoTwYwwP7BHnjbDzF9ppBPMZIf/ekJ5qD4I+Y cCI2XZ0O1WCAjGLP1i6N78wNrl0rhGAmIfe2D90FpUGHZDTxzhavZeOZhzXvr/CdWGyy 0FuJIDa2GfjKmPDUqqv/neZxRXLLJv3NcDVzkLHJmxicW2PD3uE6FwYY5ywgk8r8lZZ/ RYsg== X-Gm-Message-State: AOAM533OZZ+0Vs+C6rXvetZ/5whrXR6d2CImAN0fLJ3S4/uX6hzrzhiI Feq5F7bHGII2unvYsYcT/xxiUw== X-Google-Smtp-Source: ABdhPJyp3xdvhiGf3T//L8CChJ12FUSiNzGQbei5PswIE841BlFiQ3KzgYdb3JVW6KR7+PP7QIWQow== X-Received: by 2002:ac8:46c1:: with SMTP id h1mr1733189qto.361.1604580591377; Thu, 05 Nov 2020 04:49:51 -0800 (PST) Received: from ziepe.ca (hlfxns017vw-156-34-48-30.dhcp-dynamic.fibreop.ns.bellaliant.net. [156.34.48.30]) by smtp.gmail.com with ESMTPSA id u31sm763588qtu.87.2020.11.05.04.49.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Nov 2020 04:49:50 -0800 (PST) Received: from jgg by mlx with local (Exim 4.94) (envelope-from ) id 1kaei6-00H0yJ-2m; Thu, 05 Nov 2020 08:49:50 -0400 Date: Thu, 5 Nov 2020 08:49:50 -0400 From: Jason Gunthorpe To: John Hubbard , Christoph Hellwig , J??r??me Glisse , linux-samsung-soc , Jan Kara , Pawel Osciak , KVM list , Mauro Carvalho Chehab , LKML , DRI Development , Tomasz Figa , Linux MM , Kyungmin Park , Daniel Vetter , Andrew Morton , Marek Szyprowski , Dan Williams , Linux ARM , "open list:DMA BUFFER SHARING FRAMEWORK" Subject: Re: [PATCH v5 05/15] mm/frame-vector: Use FOLL_LONGTERM Message-ID: <20201105124950.GZ36674@ziepe.ca> References: <20201104140023.GQ36674@ziepe.ca> <20201104162125.GA13007@infradead.org> <20201104163758.GA17425@infradead.org> <20201104164119.GA18218@infradead.org> <20201104181708.GU36674@ziepe.ca> <20201105092524.GQ401619@phenom.ffwll.local> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20201105092524.GQ401619@phenom.ffwll.local> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201105_074953_887293_D632261A X-CRM114-Status: GOOD ( 16.99 ) 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: , 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 Thu, Nov 05, 2020 at 10:25:24AM +0100, Daniel Vetter wrote: > > /* > > * If we can't determine whether or not a pte is special, then fail immediately > > * for ptes. Note, we can still pin HugeTLB and THP as these are guaranteed not > > * to be special. > > * > > * For a futex to be placed on a THP tail page, get_futex_key requires a > > * get_user_pages_fast_only implementation that can pin pages. Thus it's still > > * useful to have gup_huge_pmd even if we can't operate on ptes. > > */ > > We support hugepage faults in gpu drivers since recently, and I'm not > seeing a pud_mkhugespecial anywhere. So not sure this works, but probably > just me missing something again. It means ioremap can't create an IO page PUD, it has to be broken up. Does ioremap even create anything larger than PTEs? Jason _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel