From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9D75D42DC8; Tue, 4 Jul 2023 01:49:01 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 23CB440F18; Tue, 4 Jul 2023 01:49:01 +0200 (CEST) Received: from mail-ot1-f45.google.com (mail-ot1-f45.google.com [209.85.210.45]) by mails.dpdk.org (Postfix) with ESMTP id 13D1040E03 for ; Tue, 4 Jul 2023 01:49:00 +0200 (CEST) Received: by mail-ot1-f45.google.com with SMTP id 46e09a7af769-6b5f362f4beso4218806a34.2 for ; Mon, 03 Jul 2023 16:48:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1688428139; x=1691020139; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=rrPOq3rGAkaIQhetTgsS9G5+70AhUDPzsYBzeksYXVg=; b=ACULF0eLsuib79O73cIpeTffB14DWzI7XR4mrtXYiwXxZtdemJ4fjUJApNZKRQxJNI T/GfxLditCROMUmSCl25nrnV172q0GACCEkUHQHdxl9hAmt2i2QRVZjZotz6QVHHcgoY hUcbuniLcXT9Z7oq/U4g0vTUqjI4BLUcRJvwDvLk3+ry8nmplI2EOpSeXhSkfi8HHB7j 9JEIm5Ik2Ct6ZGwQwjn79ai7C1yvoMmiXkFyKgKgd1Q+Py5WUjqkjyvIjA9aicMNONTS vxv6A9xEvc8u63dJiMl0RSGWcfYjPmK067rEsWKRVnNuQR1IeqwK0w9au5+cqsXxMOpn BKEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688428139; x=1691020139; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rrPOq3rGAkaIQhetTgsS9G5+70AhUDPzsYBzeksYXVg=; b=T2qzrLuxLmhMA3nEcyxB6E7axQ2BFzgtAs1QnIxxqlNTdS4hLv7J1owWXKhoc8Yxm3 /Q5fuhbLYRJDrAtJDxffh8GBd0VDS3xs+j+aiFvPzuaobvvb1EnzQt56x7ynylv3Y5cY fxwQEx4Lm8BlMOnL5OzOtgKH1xmtyMB1JT19ToD1XU0q3jzoMGK7L8B8n5e6JoacdxIX ORRy0MPoDkzF/xNnlqb0QFA5RuysLxHSVq2sFRCHZHpu9caPIstCyUBfeWagv7aqDqYA xpwx6vZAX7yIe/nFHDjLQJ5OE6liwEGHIUR5ySEgEr6ZTWVdCgQx0y3MyaH6JMfkXAYR wAZQ== X-Gm-Message-State: AC+VfDyAoUkc0ijE+fmiylBsOmosy3+jUnSf3GxQG8M11OpGA8fKfjuk pZKfVvJLioLvuIiYi7+w6tl+4g== X-Google-Smtp-Source: ACHHUZ5cavva1sb06wOsnZ675JKn4pjPDguo7tYE+OSQ7kW9Ky7lSNcp+NScd3xHGIJhKEs30VdcCw== X-Received: by 2002:a9d:6d0b:0:b0:6b8:6cf0:b26a with SMTP id o11-20020a9d6d0b000000b006b86cf0b26amr12700595otp.28.1688428139352; Mon, 03 Jul 2023 16:48:59 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id u4-20020a634544000000b0052c9d1533b6sm15387199pgk.56.2023.07.03.16.48.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jul 2023 16:48:59 -0700 (PDT) Date: Mon, 3 Jul 2023 16:48:57 -0700 From: Stephen Hemminger To: David Marchand Cc: "Burakov, Anatoly" , dev , Bruce Richardson , Ray Kinsella , Dmitry Kozlyuk , Narcisa Ana Maria Vasile , Dmitry Malloy , Pallavi Kadam , Xuan Ding , "Yigit, Ferruh" Subject: Re: [dpdk-dev] [PATCH v2 1/1] vfio: add page-by-page mapping API Message-ID: <20230703164857.6b016eab@hermes.local> In-Reply-To: References: <043fc2d53770da8248b9cd0214775f9d41f2e0fb.1631273229.git.anatoly.burakov@intel.com> <868198b65b2e067d0fc733eb30b78dd4f8337798.1635430146.git.anatoly.burakov@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Thu, 2 Jun 2022 10:23:07 +0200 David Marchand wrote: > Hello Anatoly, > > On Tue, Nov 2, 2021 at 4:54 PM Burakov, Anatoly > wrote: > > > > On 28-Oct-21 3:09 PM, Anatoly Burakov wrote: > > > Currently, there is no way to map memory for DMA in a way that allows > > > unmapping it partially later, because some IOMMU's do not support > > > partial unmapping. There is a workaround of mapping all of these > > > segments separately, but this is inconvenient and silly, so this > > > commit adds a proper API that does it. > > > > > > This commit relies on earlier infrastructure that was built out to > > > support "chunking", as the concept of "chunks" is essentially the same > > > as page size. > > > > > > Signed-off-by: Anatoly Burakov > > > --- > > > > > > Notes: > > > v2: > > > - Added checks for page alignment of supplied values > > > - Added rte_errno values (similar to patch 103165 [1]) > > > > > > [1] http://patches.dpdk.org/project/dpdk/patch/e8c5e7ba089e2283c3cd67e4529e52fe49390eb9.1635428963.git.anatoly.burakov@intel.com/ > > > > I think this API also needs VA and IOVA addresses in an array, so that > > it's possible to map IOVA-discontiguous segments. This is too late for > > this release, so let's postpone it till 22.02. > > It seems this patch fell through the cracks. > Any update? > > Thanks. It is not clear what problem this is trying to solve. Is it for some hardware platform that is not available? Any updates on this patch or should it just be dropped?