Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp3231619rwb; Mon, 5 Sep 2022 08:19:28 -0700 (PDT) X-Google-Smtp-Source: AA6agR6idyhEd4L2SfGNnL1y9tgQq89PQy2OZUUNTa9oKWXvQRgnAq9cdqNR2g8hKBbCPcEGgOa3 X-Received: by 2002:a05:6402:5110:b0:440:4cb1:c137 with SMTP id m16-20020a056402511000b004404cb1c137mr45691545edd.262.1662391168481; Mon, 05 Sep 2022 08:19:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662391168; cv=none; d=google.com; s=arc-20160816; b=1Ddzh3ziz4U74Clu6urIeVkomBOB5qjQKPe25VcWNqLIdgmqim20Il0l7YtgElGhvL goLC/OpIfsH5OutgC8r9tdCFd8aTvM2tGBXTBqDTg2DTTwxoLrEBGJLJ71u3Dac3lbav ZJ9X0T3IRYaojTFt7z4wOh+XVkUjk4OyWETLGL6v9zI+0fIuy/7sklOzJBRpRF0FveIR FOvbbjqXz1XW6wK0gf99LyTojJVo/UfYmV6GmFwNmBmj544Yx6IIWedk/FUlVuKI37Z8 0Pcf7BG8uawNeYA0P9H6F7p7gnsoi6iAESC3RaQOyUhxJ8dH+itYv1VWZfbIy1G2qB+5 fxiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=wyLsFcR27tbHYfIHcr8kAUx99eC0PkqGX2lPeHPbot8=; b=fHDJsEE/Pm3Nw9YHkNktdn/aKDMknt415YGiCXC9MfWPO5yZ9ekUNWE9nrCqbw7Z/A iUnPcxJphYf/3n1XBt4EEHZz447Uspw034e20w/46dfMqWQ77PNAu7x5HO5Us3IcuJCS 6XBTMxkG4Rp+0EwmiZ6S4tiL+itlrfIQH8aH7Z6ZQd7XchjGE/4pm//U65ZyFhXvqgFc T+DJM/KGb4U2nXSok21zd4oYpWryeDEMmk+6FVT1JCQfJKhYdzSlhRT8oTuXXOmnlnUl 46zxrWMh8DOUJn1tPI1JzKoog9NCbp4W00qAxSFOH9EgFTEo1g6rKtPASrC7q73Mdxxr BNGQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l9-20020a170906644900b007419b5feb98si7048386ejn.255.2022.09.05.08.19.03; Mon, 05 Sep 2022 08:19:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238558AbiIEOj3 (ORCPT + 99 others); Mon, 5 Sep 2022 10:39:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33324 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238584AbiIEOid (ORCPT ); Mon, 5 Sep 2022 10:38:33 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98AAD5F100; Mon, 5 Sep 2022 07:36:56 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id 3C02168BFE; Mon, 5 Sep 2022 16:36:53 +0200 (CEST) Date: Mon, 5 Sep 2022 16:36:53 +0200 From: Christoph Hellwig To: Logan Gunthorpe Cc: linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org, linux-block@vger.kernel.org, linux-pci@vger.kernel.org, linux-mm@kvack.org, Christoph Hellwig , Greg Kroah-Hartman , Dan Williams , Jason Gunthorpe , Christian =?iso-8859-1?Q?K=F6nig?= , John Hubbard , Don Dutile , Matthew Wilcox , Daniel Vetter , Minturn Dave B , Jason Ekstrand , Dave Hansen , Xiong Jianxin , Bjorn Helgaas , Ira Weiny , Robin Murphy , Martin Oliveira , Chaitanya Kulkarni , Ralph Campbell , Stephen Bates Subject: Re: [PATCH v9 6/8] block: set FOLL_PCI_P2PDMA in bio_map_user_iov() Message-ID: <20220905143653.GE5813@lst.de> References: <20220825152425.6296-1-logang@deltatee.com> <20220825152425.6296-7-logang@deltatee.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220825152425.6296-7-logang@deltatee.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 25, 2022 at 09:24:23AM -0600, Logan Gunthorpe wrote: > When a bio's queue supports PCI P2PDMA, set FOLL_PCI_P2PDMA for > iov_iter_get_pages_flags(). This allows PCI P2PDMA pages to be > passed from userspace and enables the NVMe passthru requests to > use P2PDMA pages. > > Signed-off-by: Logan Gunthorpe Looks good: Reviewed-by: Christoph Hellwig