]> 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)
commitc2ec166b7079eb15cd06ce82231c788c8b02f903
tree736a1338ecad107635482875990a02a75e82d7c0
parent5d798563daa33d8863ea39c7dd307e8b0d02c062
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: e67ec3835c ("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