]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: Fix enabling of PASID on RC integrated endpoints
authorFelix Kuehling <Felix.Kuehling@amd.com>
Mon, 10 Sep 2018 19:27:42 +0000 (15:27 -0400)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 12 Sep 2018 02:46:49 +0000 (21:46 -0500)
commit0c68b970623fd1b83be0fe58875440ed18f52c73
tree736a1338ecad107635482875990a02a75e82d7c0
parentca27c38664deb1c3244ba4cdf3bd6e12177dfeeb
PCI: Fix enabling of PASID on RC integrated endpoints

Set the eetlp_prefix_path on PCIE_EXP_TYPE_RC_END devices to allow PASID
to be enabled on them.  This fixes IOMMUv2 initialization on AMD Carrizo
APUs.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=201079
Fixes: da33575710 ("PCI: Enable PASID only if entire path supports End-End TLP prefixes")
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/probe.c