original_kernel/arch/powerpc/sysdev
Thomas Moll bd4fb654e3 rapidio: fix maintenance access to higher memory areas
Fix the maintenance access functions to farend RapidIO devices.
1. Fixed shift of the given offset, to open the maintenance window
2. Mask offset to limit access to the opened maintenance window
3. Added extended destid part to rowtear register, required for 16bit mode

This method is matching maintenance transactions generation described
by Freescale in the appnote AN2932. With this modification full access
to a 16MB maintenance window is possible, this patch is required for
IDT cps switches. For easier handling of the access routines, the
access was limited to aligned memory regions. This should be no problem
because all registers are 32bit wide.

Signed-off-by: Thomas Moll <thomas.moll@sysgo.com>
Tested-by: Alexandre Bounine <alexandre.bounine@idt.com>
Cc: Matt Porter <mporter@kernel.crashing.org>
Cc: Li Yang <leoli@freescale.com>
Cc: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-05-27 09:12:51 -07:00
..
bestcomm of: Remove duplicate fields from of_platform_driver 2010-05-22 00:10:40 -06:00
qe_lib of: Remove duplicate fields from of_platform_driver 2010-05-22 00:10:40 -06:00
6xx-suspend.S
Kconfig
Makefile
axonram.c of: Remove duplicate fields from of_platform_driver 2010-05-22 00:10:40 -06:00
cpm1.c
cpm2.c
cpm2_pic.c
cpm2_pic.h
cpm_common.c
dart.h
dart_iommu.c
dcr-low.S
dcr.c
fsl_gtm.c
fsl_lbc.c
fsl_msi.c of: Remove duplicate fields from of_platform_driver 2010-05-22 00:10:40 -06:00
fsl_msi.h
fsl_pci.c
fsl_pci.h
fsl_pmc.c of: Remove duplicate fields from of_platform_driver 2010-05-22 00:10:40 -06:00
fsl_rio.c rapidio: fix maintenance access to higher memory areas 2010-05-27 09:12:51 -07:00
fsl_soc.c
fsl_soc.h
grackle.c
i8259.c
indirect_pci.c
ipic.c
ipic.h
micropatch.c
mmio_nvram.c
mpc5xxx_clocks.c
mpc8xx_pic.c
mpc8xx_pic.h
mpc8xxx_gpio.c
mpic.c
mpic.h
mpic_msi.c
mpic_pasemi_msi.c
mpic_u3msi.c
msi_bitmap.c
mv64x60.h
mv64x60_dev.c
mv64x60_pci.c
mv64x60_pic.c
mv64x60_udbg.c
of_rtc.c
pmi.c of: Remove duplicate fields from of_platform_driver 2010-05-22 00:10:40 -06:00
ppc4xx_gpio.c
ppc4xx_pci.c
ppc4xx_pci.h
ppc4xx_soc.c
rtc_cmos_setup.c
simple_gpio.c
simple_gpio.h
tsi108_dev.c
tsi108_pci.c
uic.c
xilinx_intc.c
xilinx_pci.c