bus/pci: fix IOVA as VA support for PowerNV
authorDavid Christensen <drc@linux.vnet.ibm.com>
Tue, 15 Jun 2021 17:20:27 +0000 (10:20 -0700)
committerDavid Marchand <david.marchand@redhat.com>
Mon, 5 Jul 2021 09:30:58 +0000 (11:30 +0200)
commitcc4219d1f0f0598d4f05ac9e24bafd6532122399
treea0f463f8e75ab9ebc7ef35a39f333c80f36d889a
parent18f0b28eecb4b4232ee7afd8e7961dcb73a44f9c
bus/pci: fix IOVA as VA support for PowerNV

Fix the IOMMU detection logic that looks for the "platform" field of
/proc/cpuinfo on POWER systems.

Fixes: 905215731833 ("bus/pci: support IOVA as VA on PowerNV systems")
Cc: stable@dpdk.org
Signed-off-by: David Christensen <drc@linux.vnet.ibm.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
drivers/bus/pci/linux/pci.c