linux/arch/powerpc
Michael Ellerman 0d7386ebff [POWERPC] Use it_offset not pte_offset in cell IOMMU code
The cell IOMMU tce build and free routines use pte_offset to convert
the index passed from the generic IOMMU code into a page table offset.

This takes into account the SPIDER_DMA_OFFSET which sets the top bit
of every DMA address.

However it doesn't cater for the IOMMU window starting at a non-zero
address, as the base of the window is not incorporated into pte_offset
at all.

As it turns out tbl->it_offset already contains the value we need, it
takes into account the base of the window and also pte_offset. So use
it instead!

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2008-03-03 08:03:15 +01:00
..
boot [POWERPC] Fix bootwrapper builds with older gcc versions 2008-02-20 13:33:37 +11:00
configs [POWERPC] 44x: Add multiplatform defconfig 2008-02-16 08:01:10 -06:00
kernel [POWERPC] Fix dt_mem_next_cell() to read the full address 2008-02-20 13:33:37 +11:00
lib [POWERPC] rheap: Changes config mechanism 2007-10-16 17:09:21 -06:00
math-emu [POWERPC] Fix carry bug in 128-bit unsigned integer adding 2008-01-23 19:34:21 -06:00
mm Merge branch 'for-2.6.25' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc 2008-02-08 09:31:42 -08:00
oprofile [POWERPC] OProfile: enable callgraph support for Cell 2008-03-03 08:03:14 +01:00
platforms [POWERPC] Use it_offset not pte_offset in cell IOMMU code 2008-03-03 08:03:15 +01:00
sysdev [POWERPC] pasemi: Remove warning in mpic_pasemi_msi.c 2008-02-21 21:08:35 +11:00
xmon [POWERPC] Make setjmp/longjmp code usable outside of xmon 2008-01-25 22:52:50 +11:00
.gitignore [POWERPC] Add files build to .gitignore 2006-12-04 20:41:29 +11:00
Kconfig [POWERPC] Remove unused CONFIG_WANT_DEVICE_TREE 2008-02-14 22:11:03 +11:00
Kconfig.debug [POWERPC] 4xx: Base support for 440GX Taishan eval board 2007-12-23 13:13:33 -06:00
Makefile x86: fix vdso_install breaks user "make install" 2008-02-19 16:18:34 +01:00