[dpdk-dev] [PATCH v3] vfio: fix expanding DMA area in ppc64le
Thomas Monjalon
thomas at monjalon.net
Tue Jul 16 12:56:52 CEST 2019
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 window. This patch fixes this
> > incorrect behavior.
> >
> > I also fixed the order of ioctl for unregister and unmap. The ioctl
> > for unregister sometimes report device busy errors due to the
> > existence of mapped area.
> >
> > Signed-off-by: Takeshi Yoshimura <tyos at jp.ibm.com>
> > ---
> Acked-by: David Christensen <drc at linux.vnet.ibm.com>
Applied, thanks
More information about the dev
mailing list