Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp4783182pxy; Tue, 27 Apr 2021 12:30:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz/z//p/2BdUGDhygrJrSAe1EvrBPFbn84QBik6RCa5nwCKiLG6QAUILa7Wl6tfh79n6eju X-Received: by 2002:a17:906:d28e:: with SMTP id ay14mr16895447ejb.33.1619551836503; Tue, 27 Apr 2021 12:30:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619551836; cv=none; d=google.com; s=arc-20160816; b=WzLUCSYYWqdZa87pJMEYe9ptL56UXHjaI9cQ5+vYd/LyMpzkj2M+UA4O3IAQ5X8Gkt I3j2hQN+f9oAYe5aUlmMXjiZFCK/uhOyqYjMcuSNl2cm+ZuZHJ8P+slTUt1PjBrt4dxy +qjZLIGfbd4zCJIZaRkDEaYBlghY7LNU+WRnrZHLdHgQxFnqY5vixiMT7EK+8fzlLC6U TGMmFbe0RWZctp08sX5KkU5kREsVMVjbdqBhuPXgMch2JdQMcEoEMqnN8fbmsY+l8AeJ 99kmQXV+MYe1MjSx0dNhBdk2vM9IhzpEi6zuBMSLDwsZp5HgQdKvV50U3NxwqUvAo1aa XXjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=DYcG+6Y4wulABOgwFwb1rxhdjQCINJ8GzZ3NxIxoP+4=; b=UQl2RaIMT9M6vo8j7gziqeF1dZDBEgTB/NS55gFNkTPe1fEQBgXpgmjtcv8dsgJBTh yBzmjvkgaFDJXoDUQfMb9/4iwHGLlfkHJGOb9kHjYL61rtSM7zZbqnOxbA3wgunbF3u7 R2d7k2bIgyyvqxshzDMTXDj22esWqRPMeMrcONtOziwj29ymiZ/D1EAhrQqPf31Nc1nn 3bDsACOz4QCHN3lFF3ujshzNB/5f2Cn23X+WZI8S3ozZ/J03KwAgp7AKAK8O/ukLucTq gCX6tAAuNY2xXPqKMlsBNrXTkjeB6KBkZ3zlIXKOMxZCQKkZKbSdWI1xTnnLFKnR0vru T7Lw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=d1W1Aqvy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gx22si667660ejb.685.2021.04.27.12.30.13; Tue, 27 Apr 2021 12:30:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=d1W1Aqvy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238526AbhD0T30 (ORCPT + 99 others); Tue, 27 Apr 2021 15:29:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238438AbhD0T3Z (ORCPT ); Tue, 27 Apr 2021 15:29:25 -0400 Received: from mail-io1-xd2e.google.com (mail-io1-xd2e.google.com [IPv6:2607:f8b0:4864:20::d2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 00D4DC061574 for ; Tue, 27 Apr 2021 12:28:41 -0700 (PDT) Received: by mail-io1-xd2e.google.com with SMTP id l21so17528717iob.1 for ; Tue, 27 Apr 2021 12:28:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=DYcG+6Y4wulABOgwFwb1rxhdjQCINJ8GzZ3NxIxoP+4=; b=d1W1Aqvy0WDQgLHfXd6KVJkwoZwwpQfM3q3r5Boe9IMOb1Ks78SGk5p7ivRqzqy7BA gSU82n1JTpmb9daPjD5Irwhh8B8KTsNa9G4UpI9HD9aQfAMHpjP5UnmkWK6P30EssgPr qJxOA1NOdKo9K00d+kPRugkI7hzjIwbR6beAJw47nAWJhCVUyqPECz8ykdHt9yMZoQDf ogK6wY42jY6a/WZjKm0cnc2nvFx8F0yTrlY8RDJ+yRE9tNcvkLbJZ6C9WY9hob38kSQH OkOHfjfKQxlSWxbGIOGwjc5CcjsPzLBsDhznnnN1CnbOGBl9wX3p6dSPxI4qPEJLDYmB oq4g== 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:references :mime-version:content-disposition:in-reply-to; bh=DYcG+6Y4wulABOgwFwb1rxhdjQCINJ8GzZ3NxIxoP+4=; b=s5ZqvS0D83F3YJlCJzoMj4XMk+JimORg6SKZQFMmMFFa22abnP1FOijhivH/ctD39P 1iouAj8IcezU076pBoJs0dRmsbEYhWfE+RdKb6lK/rqftf4K8FZXJ0H5EFGgZ715jkBz gVFMsOITdAV0mEgb/LVFLpVdYwXHnB0iNttReaoZ0ZBhk0sKvuwnnKrrDhhm7yKAzBjY mA5bSMx7FI6RW/QqltJ7WWl0hwqqGDF0Z4KKTsOAqH3CPMOpO3p1TSWqZPuGBWNVHu5U P74MKpfFLCwY4qEBHpxvm18HQfgsj6YDFRkcRLEwqKcrJPM9jAH5+z0RFC/+aBJNRzCo hLeA== X-Gm-Message-State: AOAM532jIVT238+UNpd4D5Wi3MxLiSL1pcTOIAitJgoePEcjgIE/cIrK CUSploieMWgILo416gFUI/nBdA== X-Received: by 2002:a6b:3bcd:: with SMTP id i196mr20979811ioa.121.1619551720518; Tue, 27 Apr 2021 12:28:40 -0700 (PDT) Received: from ziepe.ca ([206.223.160.26]) by smtp.gmail.com with ESMTPSA id d16sm1715512ils.48.2021.04.27.12.28.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Apr 2021 12:28:39 -0700 (PDT) Received: from jgg by mlx with local (Exim 4.94) (envelope-from ) id 1lbTNu-00DgsM-R2; Tue, 27 Apr 2021 16:28:38 -0300 Date: Tue, 27 Apr 2021 16:28:38 -0300 From: Jason Gunthorpe 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, iommu@lists.linux-foundation.org, Stephen Bates , Christoph Hellwig , Dan Williams , Christian =?utf-8?B?S8O2bmln?= , John Hubbard , Don Dutile , Matthew Wilcox , Daniel Vetter , Jakowski Andrzej , Minturn Dave B , Jason Ekstrand , Dave Hansen , Xiong Jianxin , Bjorn Helgaas , Ira Weiny , Robin Murphy Subject: Re: [PATCH 00/16] Add new DMA mapping operation for P2PDMA Message-ID: <20210427192838.GP2047089@ziepe.ca> References: <20210408170123.8788-1-logang@deltatee.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210408170123.8788-1-logang@deltatee.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 08, 2021 at 11:01:07AM -0600, Logan Gunthorpe wrote: > Hi, > > This patchset continues my work to to add P2PDMA support to the common > dma map operations. This allows for creating SGLs that have both P2PDMA > and regular pages which is a necessary step to allowing P2PDMA pages in > userspace. > > The earlier RFC[1] generated a lot of great feedback and I heard no show > stopping objections. Thus, I've incorporated all the feedback and have > decided to post this as a proper patch series with hopes of eventually > getting it in mainline. > > I'm happy to do a few more passes if anyone has any further feedback > or better ideas. For the user of the DMA API the idea seems reasonable enough, the next steps to integrate with pin_user_pages() seem fairly straightfoward too Was there no feedback on this at all? Jason