summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/unaligned_64.c
diff options
context:
space:
mode:
authoroftedal <oftedal@gmail.com>2013-10-18 22:28:29 +0200
committerDavid S. Miller <davem@davemloft.net>2013-11-14 23:56:38 +0100
commit557fc5873ef178c4b3e1e36a42db547ecdc43f9b (patch)
tree999e8cec01c0e173a377a70118408b9a1bae8271 /arch/sparc/kernel/unaligned_64.c
parentsparc64: Encode huge PMDs using PTE encoding. (diff)
downloadlinux-557fc5873ef178c4b3e1e36a42db547ecdc43f9b.tar.xz
linux-557fc5873ef178c4b3e1e36a42db547ecdc43f9b.zip
sparc: PCI: Fix incorrect address calculation of PCI Bridge windows on Simba-bridges
The SIMBA APB Bridges lacks the 'ranges' of-property describing the PCI I/O and memory areas located beneath the bridge. Faking this information has been performed by reading range registers in the APB bridge, and calculating the corresponding areas. In commit 01f94c4a6ced476ce69b895426fc29bfc48c69bd ("Fix sabre pci controllers with new probing scheme.") a bug was introduced into this calculation, causing the PCI memory areas to be calculated incorrectly: The shift size was set to be identical for I/O and MEM ranges, which is incorrect. This patch set the shift size of the MEM range back to the value used before 01f94c4a6ced476ce69b895426fc29bfc48c69bd. Signed-off-by: Kjetil Oftedal <oftedal@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/unaligned_64.c')
0 files changed, 0 insertions, 0 deletions