summaryrefslogtreecommitdiffstats
path: root/drivers/pci/host/pcie-designware.h
diff options
context:
space:
mode:
authorStanimir Varbanov <stanimir.varbanov@linaro.org>2015-12-18 14:38:55 +0200
committerBjorn Helgaas <bhelgaas@google.com>2016-01-05 11:50:21 -0600
commit17209dfb35a228e597a387bfc83b68093b247f78 (patch)
treee1285e1c10cd9eade67b3b2b81ceea959c5a68d3 /drivers/pci/host/pcie-designware.h
parent1ec218373b8ebda821aec00bb156a9c94fad9cd4 (diff)
downloadop-kernel-dev-17209dfb35a228e597a387bfc83b68093b247f78.zip
op-kernel-dev-17209dfb35a228e597a387bfc83b68093b247f78.tar.gz
PCI: designware: Ensure ATU is enabled before IO/conf space accesses
Read back the ATU CR2 register to ensure ATU programming is effective before any subsequent I/O or config space accesses. Without this, PCI device enumeration is unreliable. [bhelgaas: changelog, comment] Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Pratyush Anand <pratyush.anand@gmail.com>
Diffstat (limited to 'drivers/pci/host/pcie-designware.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud