kernel_optimize_test/arch/powerpc/sysdev
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
..
bestcomm trivial: fix typos/grammar errors in Kconfig texts 2009-03-30 15:22:01 +02:00
qe_lib powerpc: Make "intspec" pointers in irq_host->xlate() const 2009-12-09 17:10:37 +11:00
6xx-suspend.S
axonram.c const: make block_device_operations const 2009-09-22 07:17:25 -07:00
cpm1.c powerpc: Fixup last users of irq_chip->typename 2009-11-24 14:32:45 +11:00
cpm2_pic.c powerpc: Make "intspec" pointers in irq_host->xlate() const 2009-12-09 17:10:37 +11:00
cpm2_pic.h
cpm2.c powerpc/cpm: Remove some cruft code and defines 2009-05-19 00:47:19 -05:00
cpm_common.c powerpc/qe: Make qe_reset() code path safe for repeated invocation 2009-11-11 21:43:13 -06:00
dart_iommu.c powerpc: Change archdata dma_data to a union 2009-09-24 15:31:43 +10:00
dart.h
dcr-low.S powerpc/4xx: Extended DCR support v2 2008-12-21 14:21:15 +11:00
dcr.c powerpc: Const-qualify Device Node Argument to DCR Resource Extent API 2008-12-21 14:21:16 +11:00
fsl_gtm.c
fsl_lbc.c [MTD] [NAND] FSL-UPM: add multi chip support 2009-04-06 07:17:09 -07:00
fsl_msi.c powerpc: Fixup last users of irq_chip->typename 2009-11-24 14:32:45 +11:00
fsl_msi.h
fsl_pci.c powerpc/fsl_pci: Fix P2P bridge handling for MPC83xx PCIe controllers 2009-12-09 14:50:40 -06:00
fsl_pci.h powerpc/fsl: Setup PCI inbound window based on actual amount of memory 2009-05-19 00:50:44 -05:00
fsl_pmc.c powerpc/85xx/86xx: Add suspend/resume support 2009-11-11 21:43:28 -06:00
fsl_rio.c powerpc/fsl_rio: Add kmalloc NULL tests 2009-08-20 10:27:17 +10:00
fsl_soc.c powerpc/85xx: Kconfig cleanup 2009-11-20 16:45:27 -06:00
fsl_soc.h powerpc/fsl_soc: isolate legacy fsl_spi support to mpc832x_rdb boards 2009-04-01 08:59:23 -07:00
grackle.c powerpc: Introduce ppc_pci_flags accessors 2008-12-16 15:53:16 +11:00
i8259.c powerpc: Make "intspec" pointers in irq_host->xlate() const 2009-12-09 17:10:37 +11:00
indirect_pci.c powerpc/pci: Clean up direct access to sysdata by indirect ops 2009-05-21 15:44:22 +10:00
ipic.c powerpc: Make "intspec" pointers in irq_host->xlate() const 2009-12-09 17:10:37 +11:00
ipic.h
Kconfig
Makefile powerpc/85xx/86xx: Add suspend/resume support 2009-11-11 21:43:28 -06:00
micropatch.c
mmio_nvram.c powerpc/nvram: Allow byte length reads from mmio NVRAM driver 2009-08-20 10:29:22 +10:00
mpc5xxx_clocks.c powerpc/5xxx: Add common mpc5xxx_get_bus_frequency() function 2009-06-17 00:30:22 -06:00
mpc8xx_pic.c powerpc: Make "intspec" pointers in irq_host->xlate() const 2009-12-09 17:10:37 +11:00
mpc8xx_pic.h
mpc8xxx_gpio.c
mpic_msi.c
mpic_pasemi_msi.c powerpc: Fixup last users of irq_chip->typename 2009-11-24 14:32:45 +11:00
mpic_u3msi.c powerpc: Fixup last users of irq_chip->typename 2009-11-24 14:32:45 +11:00
mpic.c powerpc: Make "intspec" pointers in irq_host->xlate() const 2009-12-09 17:10:37 +11:00
mpic.h irq: change ->set_affinity() to return status, fix 2009-05-06 07:55:33 +02:00
msi_bitmap.c powerpc/msi: Mark the MSI bitmap selftest code as __init 2009-03-24 13:47:28 +11:00
mv64x60_dev.c
mv64x60_pci.c
mv64x60_pic.c powerpc: Remove get_irq_desc() 2009-10-30 17:20:55 +11:00
mv64x60_udbg.c
mv64x60.h
of_rtc.c
pmi.c powerpc/pmi: Irq handlers return irqreturn_t 2009-03-24 13:47:30 +11:00
ppc4xx_gpio.c
ppc4xx_pci.c powerpc: Remove unnecessary semicolons 2009-07-08 13:50:21 +10:00
ppc4xx_pci.h
ppc4xx_soc.c
rtc_cmos_setup.c
simple_gpio.c powerpc: Implement GPIO driver for simple memory-mapped banks 2008-12-30 11:13:45 -06:00
simple_gpio.h powerpc: Implement GPIO driver for simple memory-mapped banks 2008-12-30 11:13:45 -06:00
tsi108_dev.c
tsi108_pci.c powerpc: Make "intspec" pointers in irq_host->xlate() const 2009-12-09 17:10:37 +11:00
uic.c powerpc: Make "intspec" pointers in irq_host->xlate() const 2009-12-09 17:10:37 +11:00
xilinx_intc.c powerpc: Make "intspec" pointers in irq_host->xlate() const 2009-12-09 17:10:37 +11:00
xilinx_pci.c powerpc/virtex: Add support for Xilinx PCI host bridge 2009-06-06 10:14:22 -06:00