[PATCH 21.11] vhost: fix physical address mapping

Kevin Traynor ktraynor at redhat.com
Thu Mar 10 13:18:41 CET 2022


On 09/03/2022 09:00, xuan.ding at intel.com wrote:
> From: Xuan Ding<xuan.ding at intel.com>
> 
> [ 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 at dpdk.org
> 
> Signed-off-by: Xuan Ding<xuan.ding at intel.com>
> Signed-off-by: Yuan Wang<yuanx.wang at intel.com>
> Reviewed-by: Maxime Coquelin<maxime.coquelin at redhat.com>

Thanks. Applied to queue, will push to dpdk.org as part of batch next week.



More information about the stable mailing list