android_kernel_xiaomi_sm8350/arch/powerpc
Anton Vorontsov f93611fac7 powerpc/fsl_pci: Fix P2P bridge handling for MPC83xx PCIe controllers
It appears that we wrongly calculate dev_base for type1 config cycles.
The thing is: we shouldn't subtract hose->first_busno because PCI core
sets PCI primary, secondary and subordinate bus numbers, and PCIe
controller actually takes the registers into account. So we should use
just bus->number.

Also, according to MPC8315 reference manual, primary bus number should
always remain 0. We have PPC_INDIRECT_TYPE_SURPRESS_PRIMARY_BUS quirk
in indirect_pci.c, but since 83xx is somewhat special, it doesn't use
indirect_pci.c routines, so we have to implement the quirk specifically
for 83xx PCIe controllers.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2009-12-09 14:50:40 -06:00
..
boot powerpc/44x: Fix PCI node in Yosemite DTS 2009-12-04 07:10:26 -05:00
configs Merge commit 'origin/master' into next 2009-12-09 17:14:38 +11:00
include/asm Merge commit 'origin/master' into next 2009-12-09 17:14:38 +11:00
kernel powerpc: Fix usage of 64-bit instruction in 32-bit altivec code 2009-12-09 18:10:12 +11:00
kvm Merge commit 'origin/master' into next 2009-12-09 17:14:38 +11:00
lib Merge commit 'origin/master' into next 2009-12-09 17:14:38 +11:00
math-emu
mm powerpc/8xx: Invalidate non present TLBs 2009-12-09 17:10:35 +11:00
oprofile
platforms Merge commit 'origin/master' into next 2009-12-09 17:14:38 +11:00
sysdev powerpc/fsl_pci: Fix P2P bridge handling for MPC83xx PCIe controllers 2009-12-09 14:50:40 -06:00
xmon powerpc/pseries: Add extended_cede_processor() helper function. 2009-11-24 14:33:03 +11:00
Kconfig sysfs/cpu: Add probe/release files 2009-12-09 17:09:33 +11:00
Kconfig.debug
Makefile
relocs_check.pl