vfio: fix sPAPR IOMMU DMA window size
authorJonas Pfefferle <jpf@zurich.ibm.com>
Tue, 8 Aug 2017 11:16:42 +0000 (13:16 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 10 Oct 2017 13:36:04 +0000 (15:36 +0200)
commited1e7e576be219e1e59253abb417c2286000641c
tree3cdf8ca7ceeac5077b23a38eb97781d64844e18c
parent1459585888b5543286c808ffc2db8ea489dfac8c
vfio: fix sPAPR IOMMU DMA window size

DMA window size needs to be big enough to span all memory segment's
physical addresses. We do not need multiple levels of IOMMU tables
as we already span ~70TB of physical memory with 16MB hugepages.

Signed-off-by: Jonas Pfefferle <jpf@zurich.ibm.com>
Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
lib/librte_eal/linuxapp/eal/eal_vfio.c