]> git.karo-electronics.de Git - karo-tx-linux.git/commit
PCI: tegra: Fix extended configuration space mapping
authorPeter Daifuku <pdaifuku@nvidia.com>
Tue, 26 Aug 2014 15:11:36 +0000 (17:11 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 16 Sep 2014 22:55:10 +0000 (16:55 -0600)
commit8d41794c6fc61ac2f09b5c25267e2c68748326cc
tree5204b146811b2600a9130a23317243d23301233a
parent0d20d6219216c5b37be8c82ee4a58d7f642e7cb0
PCI: tegra: Fix extended configuration space mapping

The 16 chunks of 64 KiB that need to be stitched together to make up the
configuration space for one bus (1 MiB) are located 24 bits (== 16 MiB)
apart in physical address space.  This is determined by the start of the
extended register field (bits 24-27) in the physical mapping.

Tested-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Peter Daifuku <pdaifuku@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/host/pci-tegra.c