aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2008-01-08 10:34:22 +1100
committerPaul Mackerras <paulus@samba.org>2008-01-15 15:39:59 +1100
commitd262c32a4bcc3e5fda0325a64e53c25fe1e999d7 (patch)
treeaa09101b13dac2bca27c5bab878c72c9c9015505 /arch/blackfin
parentMerge branch 'i2c-for-linus' of git://jdelvare.pck.nerim.net/jdelvare-2.6 (diff)
downloadlinux-dev-d262c32a4bcc3e5fda0325a64e53c25fe1e999d7.tar.xz
linux-dev-d262c32a4bcc3e5fda0325a64e53c25fe1e999d7.zip
[POWERPC] Workaround for iommu page alignment
Commit 5d2efba64b231a1733c4048d1708d77e07f26426 changed our iommu code so that it always uses an iommu page size of 4kB. That means with our current code, drivers may do a dma_map_sg() of a 64kB page and obtain a dma_addr_t that is only 4k aligned. This works fine in most cases except for some infiniband HW it seems, where they tell the HW about the page size and it ignores the low bits of the DMA address. This works around it by making our IOMMU code enforce a PAGE_SIZE alignment for mappings of objects that are page aligned in the first place and whose size is larger or equal to a page. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/blackfin')
0 files changed, 0 insertions, 0 deletions