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.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,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 E7A01C56201 for ; Thu, 12 Nov 2020 13:23:59 +0000 (UTC) Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (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 3BF31207BB for ; Thu, 12 Nov 2020 13:23:59 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=ziepe.ca header.i=@ziepe.ca header.b="JwWcwOy5" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3BF31207BB Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ziepe.ca Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=iommu-bounces@lists.linux-foundation.org Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id AF0A72E1D9; Thu, 12 Nov 2020 13:23:58 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RsRwYg15kUyK; Thu, 12 Nov 2020 13:23:57 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by silver.osuosl.org (Postfix) with ESMTP id 8E28B2E1E5; Thu, 12 Nov 2020 13:23:57 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 7591AC088B; Thu, 12 Nov 2020 13:23:57 +0000 (UTC) Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by lists.linuxfoundation.org (Postfix) with ESMTP id 74B97C016F for ; Thu, 12 Nov 2020 13:23:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 596B7870AD for ; Thu, 12 Nov 2020 13:23:56 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id toIqx+bbKTXM for ; Thu, 12 Nov 2020 13:23:55 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qk1-f174.google.com (mail-qk1-f174.google.com [209.85.222.174]) by whitealder.osuosl.org (Postfix) with ESMTPS id 899C687094 for ; Thu, 12 Nov 2020 13:23:55 +0000 (UTC) Received: by mail-qk1-f174.google.com with SMTP id n132so5171344qke.1 for ; Thu, 12 Nov 2020 05:23:55 -0800 (PST) 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=GgG+Zz++harjLdBXmMOeRXPhrbguvX47VfJimEaHELU=; b=JwWcwOy5hNV6Hs44MXlDrQMT9b8rvnkfLKT5x15JkGlQAL2D/g3vkEXmtuyY73EX6o 0KEuYAaOT/zHSDTaNE7HmvJCG+FzAyx5YAhHwnfq5EOc4rgw+CffXgMVIFUESJNkl5os 9HmCYfhwC758cBhubKJFWsIAWeEJMVzEWhyjhj/Ht0TTcziWf3PPh5fFBeEdnrX+hs+1 XhbIXpcii4+DpBpk0gr5zFemIIzbRZ7tn5BuV/igI8xW0OJgEpL4cKXVyfBXb5JWlRaD 5jHm2vhwGsyCuWRLmRZmCBXacFxtj+qlmsQ+TsjCcSKL8ngO+dHatJ0AU9/jCmaP5A6C 9cog== 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=GgG+Zz++harjLdBXmMOeRXPhrbguvX47VfJimEaHELU=; b=muX0myIC0EbcxOCTWZKGucFSLgeba1j2lN8m7aXLiBGFFQ/rfLvKHkIgEtNGzbIIql QITqSkRQLm/Iyjopp+I0lfas8lGdWfDDsXgZHrBNFcMYlk7bjSIf3XxAGq2ECY4rXwJ8 pxEP7C3sankeNNWwXQMgASylx8JXmUADeS7nY+W51scHmoqhXKTieJYGta01TrGh+/1E n2wE87LmRWAjeNy77ktrqOTx8UTnOh8197rEX+PYNiqRJLmmKk/pGsiykO9eurcip0MR gjBZbyLAwJ/pda4jkrsf+YW2MB+S0xB5pEhazj3fdR777Ekhr4BCTuoabxsTnmOwh1gJ JJbQ== X-Gm-Message-State: AOAM531w/66BsHwONfZmIFXQKQQKQgbMUMnozke4vUMKXYgQ3wLTvqDc V2V0dsZeA3WQL8DlAWlkuURdBA== X-Google-Smtp-Source: ABdhPJywkel8XB3mJwdENyyP8p0fxAGX2JW0meUrbieCppFxtts7eDEAYv3M6qnci9wS8irt7c69Bw== X-Received: by 2002:a37:2c85:: with SMTP id s127mr30634838qkh.381.1605187434481; Thu, 12 Nov 2020 05:23:54 -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 j16sm4820609qkg.26.2020.11.12.05.23.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 05:23:53 -0800 (PST) Received: from jgg by mlx with local (Exim 4.94) (envelope-from ) id 1kdCZt-003foe-6x; Thu, 12 Nov 2020 09:23:53 -0400 Date: Thu, 12 Nov 2020 09:23:53 -0400 From: Jason Gunthorpe To: Christoph Hellwig , Santosh Shilimkar Subject: Re: remove dma_virt_ops v2 Message-ID: <20201112132353.GQ244516@ziepe.ca> References: <20201106181941.1878556-1-hch@lst.de> <20201112094030.GA19550@lst.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20201112094030.GA19550@lst.de> Cc: rds-devel@oss.oracle.com, Zhu Yanjun , Dennis Dalessandro , linux-rdma@vger.kernel.org, linux-pci@vger.kernel.org, Mike Marciniszyn , iommu@lists.linux-foundation.org, Bjorn Helgaas , Bernard Metzler , Logan Gunthorpe X-BeenThere: iommu@lists.linux-foundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Development issues for Linux IOMMU support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: iommu-bounces@lists.linux-foundation.org Sender: "iommu" On Thu, Nov 12, 2020 at 10:40:30AM +0100, Christoph Hellwig wrote: > ping? > > On Fri, Nov 06, 2020 at 07:19:31PM +0100, Christoph Hellwig wrote: > > Hi Jason, > > > > this series switches the RDMA core to opencode the special case of > > devices bypassing the DMA mapping in the RDMA ULPs. The virt ops > > have caused a bit of trouble due to the P2P code node working with > > them due to the fact that we'd do two dma mapping iterations for a > > single I/O, but also are a bit of layering violation and lead to > > more code than necessary. > > > > Tested with nvme-rdma over rxe. > > > > Note that the rds changes are untested, as I could not find any > > simple rds test setup. > > > > Changes since v2: > > - simplify the INFINIBAND_VIRT_DMA dependencies > > - add a ib_uses_virt_dma helper > > - use ib_uses_virt_dma in nvmet-rdma to disable p2p for virt_dma devices > > - use ib_dma_max_seg_size in umem > > - stop using dmapool in rds > > > > Changes since v1: > > - disable software RDMA drivers for highmem configs > > - update the PCI commit logs Santosh can you please check the RDA parts?? Jason _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu