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 EBCF3A0093 for ; Thu, 10 Mar 2022 13:18:50 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BA2CE4113E; Thu, 10 Mar 2022 13:18:50 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 829A84113E for ; Thu, 10 Mar 2022 13:18:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1646914728; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=GwWkuSvjTT4KYH9pq5DCzfpuo5IXevHqq2zl3E8Pl+o=; b=Q5AMW3CzcWGau2kq3B3/xUMd1qKlmgfF2ba4Dt3SKmdkKksmOGaXPlw6YmwZrwTZfmF7VE WNNjsaQ1EvteQcjUKnlhrPlSD8vYOrY5fZVCwgvYYFNDScTikIw7hGf5jj0YvbMtCcIH7k BePsN1ZRgV6NFBt744n4xOrEL+XTe1k= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-457-wdkDgxhXN3mK8T6sToJGBw-1; Thu, 10 Mar 2022 07:18:44 -0500 X-MC-Unique: wdkDgxhXN3mK8T6sToJGBw-1 Received: by mail-wr1-f72.google.com with SMTP id o9-20020adfca09000000b001ea79f7edf8so1625978wrh.16 for ; Thu, 10 Mar 2022 04:18:44 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent :content-language:to:cc:references:from:subject:in-reply-to :content-transfer-encoding; bh=GwWkuSvjTT4KYH9pq5DCzfpuo5IXevHqq2zl3E8Pl+o=; b=jTFTJ7H3tFBFNQev/NldsNpKr54ilErnqZ5c98YxlfQrbSecVuPB33iVtYD4qS7InT Eaeh+fWrCxy4CzVObLfc8TiJH7nU1eUDtBdPhxLUPnMKyUdFthZS/QeKmNYfzut0HdL5 bFjItNoDns7MW30+eUb/EtJpr87WZR6pzRxQZfD1+Be+v7IsWfSXHw+1x13siAqrbhBK rGKIcVWi5xHZCtYjLgqg20WYl8XRHhuOZ5SRrRPXbDB4NgMrQybpTrc8MA5GW2f5ozYb 16yt+fpLr8KE2RlwuDTP9VqYqy9TZZTrAsFHVCN3c3UvZXlRnGmYoM1XuUnXp2NuWMGe NCug== X-Gm-Message-State: AOAM532R7YwndyCk2UxNbwjXk8CfkcQLRX+dZRzhBQabldlGnVvqRJfm RvM+2tLjITGd8ODS8IKTUKyPJkSbyuFo+DnxwZWm+cFv7jbgk6sBUuppEJo2GZpOqNVJHf2/yx2 ITmDSTLw= X-Received: by 2002:a7b:c14c:0:b0:381:32fb:a128 with SMTP id z12-20020a7bc14c000000b0038132fba128mr11589622wmi.116.1646914723536; Thu, 10 Mar 2022 04:18:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJxblh6WpGeIbkypIJp2lkY2lIcHqys/JIt8kgGJjPbdS/MFW/DeRipPlAgL170V6o5i2h+IMA== X-Received: by 2002:a7b:c14c:0:b0:381:32fb:a128 with SMTP id z12-20020a7bc14c000000b0038132fba128mr11589606wmi.116.1646914723310; Thu, 10 Mar 2022 04:18:43 -0800 (PST) Received: from [192.168.0.36] ([78.18.17.201]) by smtp.gmail.com with ESMTPSA id i10-20020adfb64a000000b0020373275c09sm4032586wre.14.2022.03.10.04.18.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 10 Mar 2022 04:18:42 -0800 (PST) Message-ID: <09c44aab-4521-039d-954a-c7ddf5bb5584@redhat.com> Date: Thu, 10 Mar 2022 12:18:41 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 To: xuan.ding@intel.com, stable@dpdk.org Cc: chenbo.xia@intel.com, maxime.coquelin@redhat.com, Yuan Wang References: <20220309090004.18159-1-xuan.ding@intel.com> From: Kevin Traynor Subject: Re: [PATCH 21.11] vhost: fix physical address mapping In-Reply-To: <20220309090004.18159-1-xuan.ding@intel.com> Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=ktraynor@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 On 09/03/2022 09:00, xuan.ding@intel.com wrote: > From: Xuan Ding > > [ upstream commit 52ade97e36413ba0dbfbaca03adc5d17d3b770bb ] > > When choosing IOVA as PA mode, IOVA is likely to be discontinuous, > which requires page by page mapping for DMA devices. To be consistent, > this patch implements page by page mapping instead of mapping at the > region granularity for both IOVA as VA and PA mode. > > Fixes: 7c61fa08b716 ("vhost: enable IOMMU for async vhost") > Cc:stable@dpdk.org > > Signed-off-by: Xuan Ding > Signed-off-by: Yuan Wang > Reviewed-by: Maxime Coquelin Thanks. Applied to queue, will push to dpdk.org as part of batch next week.