Received: by 10.213.65.68 with SMTP id h4csp1408124imn; Wed, 14 Mar 2018 21:04:46 -0700 (PDT) X-Google-Smtp-Source: AG47ELsJaY8shgzlb/ghYVDjbW51/agUdOXvrnyQZ53B8XNTNa5M1AFpVINCW9qY0+ATSyaqVqrM X-Received: by 2002:a17:902:e5:: with SMTP id a92-v6mr1541549pla.26.1521086686753; Wed, 14 Mar 2018 21:04:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521086686; cv=none; d=google.com; s=arc-20160816; b=ofXp+mvhLrTFgyd72AQgkEa/u5pt03AWYELY/4MnCv1REPlkdElNZYbKcKiUH8cE7B 1Tq3h5GyaCQ6U3MM1FIh27AGT4Ve7XvOfufCjlu2cAFfWxPum2oDwCsv5T9LGq0v5bwX B5gEzBCeKXlVIIhkkqwmKAIEsRa1Xfi8On2+N+31DOS1ugjrMpRNS7jl2WLnRM7ck8hT YPdbI9Qzev2S+p0yR3LO3kvbJYDRVn1FGqKmEfx/Qm6LzTUAJg8oKWjwlfvI+zxeyJ2C 14AFRz+uBljnZ5fWKVVsTJgE40yqtLcxtQlvsu3S2ij2knmdLAft3uM7S/VXTsfuw15M eYYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:organization:from:subject:cc:to :dkim-signature:arc-authentication-results; bh=lcYQC2UY8fZn/t3AnYH1md19wanTfAc2UH7xL/cgr4g=; b=T5kpbPOTJ37GMZYAbh1eH5MPX4eHnysSvhooteCUA7XkM8LKfzcdxs2nMlbjj8jnIe x/v0dWhF2gmJJNQLgM8Rd6JMYHeVAFtxAMvHlafQY1Tu7XB186GM3VxWrAabpcJ+Sz4e OsxWG4GxALJuSul8rgAy3IYlIBDy/K8m0MgVh+DqFBzGgMkGmcq3SzSSvEAQ0mTMDqeh HLs27rDGzkSvhqHAmwLnxFmlISdcAlCUuT5tzVrj5x1Kpk6IXWs3tMdSmfPobNFbPHi4 Iubzx3F3QXi6mGLsNrpbpDC1n9aMfK9JFsDk9yRJJXMEm5mvuBoFqwUAoq1QLLq5dTG0 g/MA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=YAxqWPy0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i11-v6si3221830plk.139.2018.03.14.21.04.01; Wed, 14 Mar 2018 21:04:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=YAxqWPy0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751557AbeCOEB1 (ORCPT + 99 others); Thu, 15 Mar 2018 00:01:27 -0400 Received: from aserp2120.oracle.com ([141.146.126.78]:41058 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750715AbeCOEBY (ORCPT ); Thu, 15 Mar 2018 00:01:24 -0400 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w2F3uwfP110715; Thu, 15 Mar 2018 04:00:37 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=to : cc : subject : from : references : date : in-reply-to : message-id : mime-version : content-type; s=corp-2017-10-26; bh=lcYQC2UY8fZn/t3AnYH1md19wanTfAc2UH7xL/cgr4g=; b=YAxqWPy0ipUBuZZCGvwGB5ufnG8qWDGDdlqDVmSyt+ZLFTxSVoVD/3XyWJf3WW04ioDR sVWHZGgi6novOc1gM0D5z2RwoeaLoVxixZijwqvwxnBph3XIFtN9usVonvodcg5R69S3 64dZI8hz0/TQqvsgnZ4WgwL5YOrXl5YLHsy28Apvhz61xM3bt2OJxU/ee8vNO3QQcd2k 3K4KMPN4oTi4fBmrQ7kleEGzBiI0GSzoL6poAOiA05hkUztsFtouKT0gZ+8mKoafArJG cl5p9YM/BT4h83LcHD/aUX0TCdsM0gNIH7n1ASUH19vUo8kNyS1faMLPI89+1ssftHmF XA== Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by aserp2120.oracle.com with ESMTP id 2gqgdb16gj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 15 Mar 2018 04:00:37 +0000 Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w2F40arD031456 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 15 Mar 2018 04:00:36 GMT Received: from abhmp0019.oracle.com (abhmp0019.oracle.com [141.146.116.25]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w2F40VJW030075; Thu, 15 Mar 2018 04:00:31 GMT Received: from ca-mkp.ca.oracle.com (/10.159.214.123) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 14 Mar 2018 21:00:31 -0700 To: "Stephen Bates" Cc: Dan Williams , Logan Gunthorpe , Bjorn Helgaas , Sinan Kaya , "linux-kernel\@vger.kernel.org" , "linux-pci\@vger.kernel.org" , "linux-nvme\@lists.infradead.org" , "linux-rdma\@vger.kernel.org" , "linux-nvdimm\@lists.01.org" , "linux-block\@vger.kernel.org" , "Christoph Hellwig" , Jens Axboe , Keith Busch , Sagi Grimberg , Bjorn Helgaas , Jason Gunthorpe , Max Gurtovoy , =?utf-8?B?SsOpcsO0bWU=?= Glisse , Benjamin Herrenschmidt , Alex Williamson Subject: Re: [PATCH v3 01/11] PCI/P2PDMA: Support peer-to-peer memory From: "Martin K. Petersen" Organization: Oracle Corporation References: <3ea80992-a0fc-08f2-d93d-ae0ec4e3f4ce@codeaurora.org> <4eb6850c-df1b-fd44-3ee0-d43a50270b53@deltatee.com> <757fca36-dee4-e070-669e-f2788bd78e41@codeaurora.org> <4f761f55-4e9a-dccb-d12f-c59d2cd689db@deltatee.com> <20180313230850.GA45763@bhelgaas-glaptop.roam.corp.google.com> <8de5d3dd-a78f-02d5-0eea-4365364143b6@deltatee.com> <20180314025639.GA50067@bhelgaas-glaptop.roam.corp.google.com> <112493af-ccd0-455b-6600-b50764f7ab7e@deltatee.com> <20180314185159.GD179719@bhelgaas-glaptop.roam.corp.google.com> Date: Thu, 15 Mar 2018 00:00:27 -0400 In-Reply-To: (Stephen Bates's message of "Wed, 14 Mar 2018 19:34:53 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8832 signatures=668690 X-Proofpoint-Spam-Details: rule=notspam policy=default score=2 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=2 mlxscore=2 mlxlogscore=173 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1803150044 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Stephen, >> It would be useful if those configurations were not left behind so >> that Linux could feasibly deploy offload code to a controller in the >> PCI domain. > > Agreed. I think this would be great. Kind of like the XCOPY framework > that was proposed a while back for SCSI devices [1] but updated to also > include NVMe devices. That is definitely a use case we would like this > framework to support. I'm on my umpteenth rewrite of the block/SCSI offload code. It is not as protocol-agnostic as I would like in the block layer facing downwards. It has proven quite hard to reconcile token-based and EXTENDED COPY semantics along with the desire to support stacking. But from an application/filesystem perspective everything looks the same regardless of the intricacies of the device. Nothing is preventing us from supporting other protocols... -- Martin K. Petersen Oracle Linux Engineering