Re: [PATCH v2 2/2] vhost: fix physical address mapping

2022-02-04 Thread Maxime Coquelin
On 1/19/22 16:10, xuan.d...@intel.com wrote: From: Xuan Ding 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 b

Re: [PATCH v2 2/2] vhost: fix physical address mapping

2022-02-01 Thread Maxime Coquelin
On 1/19/22 16:10, xuan.d...@intel.com wrote: From: Xuan Ding 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 b