parisc: pci memory bar assignment fails with 64bit kernels on dino/cujo
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>
Sat, 12 Aug 2017 21:36:47 +0000 (23:36 +0200)
committerpopcornmix <popcornmix@gmail.com>
Fri, 25 Aug 2017 16:35:08 +0000 (17:35 +0100)
commit511d5abcb5c79d03a4a0700fb4e6d5766c1148a4
tree45aee968b84b1f57c13c41a136b58156e077a395
parent14b6b29fcd0a6fe5179ed23cf13e77039344b925
parisc: pci memory bar assignment fails with 64bit kernels on dino/cujo

commit 4098116039911e8870d84c975e2ec22dab65a909 upstream.

For 64bit kernels the lmmio_space_offset of the host bridge window
isn't set correctly on systems with dino/cujo PCI host bridges.
This leads to not assigned memory bars and failing drivers, which
need to use these bars.

Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Acked-by: Helge Deller <deller@gmx.de>
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/parisc/dino.c