Re: [dpdk-dev] [PATCH] eal/vfio: fix sPAPR IOMMU mapping

2018-08-07 Thread Burakov, Anatoly
On 06-Aug-18 10:50 AM, Thomas Monjalon wrote: 06/08/2018 10:43, Takeshi Yoshimura: Commit 73a639085938 ("vfio: allow to map other memory regions") introduced a bug in sPAPR IOMMU mapping. The commit removed necessary ioctl with VFIO_IOMMU_SPAPR_REGISTER_MEMORY. Also, vfio_spapr_map_walk should c

[dpdk-dev] [PATCH] eal/vfio: fix sPAPR IOMMU mapping

2018-08-06 Thread Takeshi Yoshimura
Commit 73a639085938 ("vfio: allow to map other memory regions") introduced a bug in sPAPR IOMMU mapping. The commit removed necessary ioctl with VFIO_IOMMU_SPAPR_REGISTER_MEMORY. Also, vfio_spapr_map_walk should call vfio_spapr_dma_do_map instead of vfio_spapr_dma_mem_map. Fixes: 73a639085938 ("vf

Re: [dpdk-dev] [PATCH] eal/vfio: fix sPAPR IOMMU mapping

2018-08-06 Thread Takeshi T Yoshimura
>06/08/2018 10:43, Takeshi Yoshimura: >> Commit 73a639085938 ("vfio: allow to map other memory regions") >> introduced a bug in sPAPR IOMMU mapping. The commit removed >necessary >> ioctl with VFIO_IOMMU_SPAPR_REGISTER_MEMORY. Also, >vfio_spapr_map_walk >> should call vfio_spapr_dma_do_map instead

Re: [dpdk-dev] [PATCH] eal/vfio: fix sPAPR IOMMU mapping

2018-08-06 Thread Thomas Monjalon
06/08/2018 10:43, Takeshi Yoshimura: > Commit 73a639085938 ("vfio: allow to map other memory regions") > introduced a bug in sPAPR IOMMU mapping. The commit removed necessary > ioctl with VFIO_IOMMU_SPAPR_REGISTER_MEMORY. Also, vfio_spapr_map_walk > should call vfio_spapr_dma_do_map instead of vfio

[dpdk-dev] [PATCH] eal/vfio: fix sPAPR IOMMU mapping

2018-08-06 Thread Takeshi Yoshimura
Commit 73a639085938 ("vfio: allow to map other memory regions") introduced a bug in sPAPR IOMMU mapping. The commit removed necessary ioctl with VFIO_IOMMU_SPAPR_REGISTER_MEMORY. Also, vfio_spapr_map_walk should call vfio_spapr_dma_do_map instead of vfio_spapr_dma_mem_map. Fixes: 73a639085938 ("vf