OSDN Git Service

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)
commit9d27e39d309c93025ae6aa97236af15bef2a5f1f
tree736a1338ecad107635482875990a02a75e82d7c0
parentbfc456060d0cbcf6902a436d358b60cb1534668c
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: 7ce3f912ae ("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