[dpdk-dev] [PATCH v2] bus/pci: always check IOMMU capabilities

Thomas Monjalon thomas at monjalon.net
Mon Aug 5 12:09:31 CEST 2019


05/08/2019 08:23, David Marchand:
> IOMMU capabilities won't change and must be checked even if no PCI device
> seem to be supported yet when EAL initialised.
> 
> This is to accommodate with SPDK that registers its drivers after
> rte_eal_init(), especially on PPC platform where the IOMMU does not
> support VA.
> 
> Fixes: 703458e19c16 ("bus/pci: consider only usable devices for IOVA mode")
> 
> Signed-off-by: David Marchand <david.marchand at redhat.com>
> Reviewed-by: David Christensen <drc at linux.vnet.ibm.com>
> Acked-by: Jerin Jacob <jerinj at marvell.com>
> Tested-by: Jerin Jacob <jerinj at marvell.com>
> Tested-by: Takeshi Yoshimura <tyos at jp.ibm.com>

Applied, thanks





More information about the dev mailing list