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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Aug 2017 00:12:18 +0000 (17:12 -0700)
commit93f5a0318aae53541a4c53eca444917755b15a40
treedf784e1f6181482641f0ef7da879e21632463d3c
parentadcfbb2d9e386517db84ac56fa3e4abd56db75b3
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