[dpdk-dev] [PATCH v2] bus/pci: support iova=va on PowerNV systems

David Marchand david.marchand at redhat.com
Sat Apr 25 16:54:42 CEST 2020


On Mon, Mar 16, 2020 at 9:38 PM David Christensen
<drc at linux.vnet.ibm.com> wrote:
>
> All recent POWER systems, Power 8 and 9 specifically, support an IOMMU
> (it can't be disabled). The functionality of the IOMMU is different
> depending on whether it's running on a bare metal PowerNV system or in
> a virtual environment (PowerVM LPAR or KVM/QEMU).  DPDK currently
> supports the IOMMU found on PowerNV platforms, sPAPRv2, so IOVA=VA
> mode can be enabled when the correct platform is detected.
>
> The POWER IOMMU type can't be detected through mechansims such as

mechanisms

> parsing files in the /sys heirarchy like x86_64 systems so the

hierarchy


> /proc/cpuinfo file is parsed to determine whether Linux is running
> on bare metal (i.e. PowerNV) or in a virtual environment (KVM/QEMU).
>
> Signed-off-by: David Christensen <drc at linux.vnet.ibm.com>

Applied, thanks.


-- 
David Marchand



More information about the dev mailing list