linux/drivers/iommu
Laurent Pinchart 329d8d3b47 iommu/omap-iovmm: support non page-aligned buffers in iommu_vmap
omap_iovmm requires page-aligned buffers, and that sometimes causes
omap3isp failures (i.e. whenever the buffer passed from userspace is not
page-aligned).

Remove this limitation by rounding the address of the first page entry
down, and adding the offset back to the device address.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
[ohad@wizery.com: rebased, but tested only with aligned buffers]
[ohad@wizery.com: slightly edited the commit log]
Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
2011-09-05 15:14:37 +02:00
..
amd_iommu_init.c
amd_iommu_proto.h
amd_iommu_types.h
amd_iommu.c
dmar.c
intel-iommu.c
intr_remapping.c
intr_remapping.h
iommu.c
iova.c
Kconfig iommu: omap: add Kconfig OMAP dependency 2011-08-29 12:38:19 +02:00
Makefile omap: iommu/iovmm: move to dedicated iommu folder 2011-08-26 11:46:00 +02:00
msm_iommu_dev.c
msm_iommu.c
omap-iommu-debug.c omap: iommu: omapify 'struct iommu' and exposed API 2011-08-26 11:46:01 +02:00
omap-iommu.c omap: iommu: Fix up mutex->spin_lock conversion of iommu_lock 2011-08-26 13:22:42 +02:00
omap-iovmm.c iommu/omap-iovmm: support non page-aligned buffers in iommu_vmap 2011-09-05 15:14:37 +02:00