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 68D45A0561 for ; Fri, 5 Mar 2021 08:50:48 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4AC5F22A30B; Fri, 5 Mar 2021 08:50:48 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mails.dpdk.org (Postfix) with ESMTP id 6F78840147 for ; Fri, 5 Mar 2021 08:50:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1614930645; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=9t6qV2bUOFntEpSFgmoybcgwQ89gtamqu/xs5JwmEQs=; b=SN7po6AbyaAo6YUUuHN9kz4HQQdZn8K9X0R6VRG6grf1tqed2xYYGwe2wsLSHHzaCxg5Jb TtAGe1DF9yfjY1jAETXYkgfMJURhjgTnprkPgVCQ3JwrGc+jhd7/6nnZYZmsiOrTDMq4IX /ImiT1ZNOHbj3FTypH/YYmleSO6sQ04= Received: from mail-ua1-f72.google.com (mail-ua1-f72.google.com [209.85.222.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-327-jYHg1-aLOzu3yPfrBpC68g-1; Fri, 05 Mar 2021 02:50:40 -0500 X-MC-Unique: jYHg1-aLOzu3yPfrBpC68g-1 Received: by mail-ua1-f72.google.com with SMTP id r9so131009uan.9 for ; Thu, 04 Mar 2021 23:50:40 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9t6qV2bUOFntEpSFgmoybcgwQ89gtamqu/xs5JwmEQs=; b=MdEJKhixjGqEEEFDcXLzpaDqZRu7OLacMLRmoGCJGDshq3iopttE3ze4JT5twoHCEO lRmQGzoXGfdf8BZ41JY4MOZ6nsSZuJz2aD5mHOLnTj5wRkgHCRX/Z5vl2jFQ7PXw1b+x EV35+VqV+skvrRLP2+sm5tRvP9X2zrv1M63zTZ17QZ+3vO0isdVGf2ICP0gDua9VBo1B TDm4YhLya0TzbriMAUQPywvE1MzaNDAYkmaKRkS7yBhf+WCz3Un33S1PU8KG4qpjVk2l 7k7cDlBXaVYSBUWZBOzBSXiq4qgwd6+LEYdy7E0ykozhr8o1UatYbmMlsS71GtFLa1ar 9dkw== X-Gm-Message-State: AOAM532ExalQikMaRUK+tqqnqND1ao8EwwgQLsfEXpvDB/QXFwDryDyf HX4XqlpHU7QQT2xlJ+/0sRS2nI09aLR2eL7QqyWlcaQMe4+qCF3ZylJZeXP09OdA7VHFY28azHW PfLhV9/9sFG6ktBm6G5qZt5o= X-Received: by 2002:a05:6102:ed4:: with SMTP id m20mr4784123vst.27.1614930639604; Thu, 04 Mar 2021 23:50:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJwh3xg3k0A/o90iCb2mvWoNqBTa2VEHP60rVFsEsLdA9ZfDR3Tcte/OXcNpBJJ0DuI+XDeCfD48MKM+g3lz7n8= X-Received: by 2002:a05:6102:ed4:: with SMTP id m20mr4784116vst.27.1614930639384; Thu, 04 Mar 2021 23:50:39 -0800 (PST) MIME-Version: 1.0 References: <20201012081106.10610-1-ndabilpuram@marvell.com> <20210115073243.7025-1-ndabilpuram@marvell.com> <20210115073243.7025-2-ndabilpuram@marvell.com> In-Reply-To: <20210115073243.7025-2-ndabilpuram@marvell.com> From: David Marchand Date: Fri, 5 Mar 2021 08:50:28 +0100 Message-ID: To: Nithin Dabilpuram Cc: "Burakov, Anatoly" , David Christensen , Jerin Jacob Kollanukkaran , dev , dpdk stable Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-stable] [PATCH v8 1/3] vfio: revert changes for map contiguous areas in one go X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" On Fri, Jan 15, 2021 at 8:33 AM Nithin Dabilpuram wrote: > > In order to save DMA entries limited by kernel both for externel > memory and hugepage memory, an attempt was made to map physically > contiguous memory in one go. This cannot be done as VFIO IOMMU type1 > does not support partially unmapping a previously mapped memory > region while Heap can request for multi page mapping and > partial unmapping. > Hence for going back to old method of mapping/unmapping at > memseg granularity, this commit reverts > commit d1c7c0cdf7ba ("vfio: map contiguous areas in one go") > > Also add documentation on what module parameter needs to be used > to increase the per-container dma map limit for VFIO. > > Fixes: d1c7c0cdf7ba ("vfio: map contiguous areas in one go") > Cc: anatoly.burakov@intel.com > Cc: stable@dpdk.org > > Signed-off-by: Nithin Dabilpuram > Acked-by: Anatoly Burakov > Acked-by: David Christensen There is a regression reported in bz: https://bugs.dpdk.org/show_bug.cgi?id=649 I assigned it to Anatoly for now. Nithin, can you have a loo too? Thanks. -- David Marchand