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

Thomas Monjalon thomas at monjalon.net
Mon Aug 6 11:50:56 CEST 2018


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_spapr_dma_mem_map.

This is fixing an old patch:
	http://git.dpdk.org/dpdk/commit/?id=73a639085938

> Fixes: 73a639085938 ("vfio: allow to map other memory regions")

You probably want it to be backported in previous release,
so you need to add Cc: stable at dpdk.org

> Signed-off-by: Takeshi Yoshimura <tyos at jp.ibm.com>

It is common to have bugs in sPAPR implementation.
How can we be sure this one is OK?
Should it be added in last minute of 18.08?
Or can it wait 18.11?

Adding Anatoly and Chao who are maintainers to decide.




More information about the dev mailing list