diff options
author | Stanimir Varbanov <stanimir.varbanov@linaro.org> | 2015-12-18 14:38:55 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-01-05 11:50:21 -0600 |
commit | 17209dfb35a228e597a387bfc83b68093b247f78 (patch) | |
tree | e1285e1c10cd9eade67b3b2b81ceea959c5a68d3 /drivers/pci/host/pcie-designware.h | |
parent | 1ec218373b8ebda821aec00bb156a9c94fad9cd4 (diff) | |
download | op-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