pci: tegra: implement PCA enable workaround
authorStephen Warren <swarren@nvidia.com>
Mon, 5 Oct 2015 23:00:42 +0000 (17:00 -0600)
committerTom Warren <twarren@nvidia.com>
Thu, 12 Nov 2015 16:21:05 +0000 (09:21 -0700)
commit514e19138af26682dfaec0f92d24406b2e846f98
tree98af1013d7a086ad6e6441635541e7ef97839888
parent223ddbcb09f6449d6d56ccacc4112ab61589fd29
pci: tegra: implement PCA enable workaround

Tegra210's PCIe controller has a bug that requires the PCA (performance
counter) feature to be enabled. If this isn't done, accesses to device
configuration space will hang the chip for tens of seconds. Implement
the workaround.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
drivers/pci/pci_tegra.c