Re: [dpdk-dev] [PATCH v3] vfio: fix expanding DMA area in ppc64le

2019-07-16 Thread Thomas Monjalon
16/07/2019 02:20, David Christensen: > > In ppc64le, expanding DMA areas always fail because we cannot remove > > a DMA window. As a result, we cannot allocate more than one memseg in > > ppc64le. This is because vfio_spapr_dma_mem_map() doesn't unmap all > > the mapped DMA before removing the wind

Re: [dpdk-dev] [PATCH v3] vfio: fix expanding DMA area in ppc64le

2019-07-15 Thread David Christensen
In ppc64le, expanding DMA areas always fail because we cannot remove a DMA window. As a result, we cannot allocate more than one memseg in ppc64le. This is because vfio_spapr_dma_mem_map() doesn't unmap all the mapped DMA before removing the window. This patch fixes this incorrect behavior. I als