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 iommu/amd: Move missing parts to drivers/iommu 2011-06-21 10:49:31 +02:00
amd_iommu_proto.h iommu/amd: Move missing parts to drivers/iommu 2011-06-21 10:49:31 +02:00
amd_iommu_types.h Merge branches 'amd/transparent-bridge' and 'core' 2011-06-21 11:14:10 +02:00
amd_iommu.c iommu/amd: Don't use MSI address range for DMA addresses 2011-07-06 17:14:44 +02:00
dmar.c x86/ia64: intel-iommu: move to drivers/iommu/ 2011-06-21 10:49:30 +02:00
intel-iommu.c x86/ia64: intel-iommu: move to drivers/iommu/ 2011-06-21 10:49:30 +02:00
intr_remapping.c x86/ia64: intel-iommu: move to drivers/iommu/ 2011-06-21 10:49:30 +02:00
intr_remapping.h x86/ia64: intel-iommu: move to drivers/iommu/ 2011-06-21 10:49:30 +02:00
iommu.c
iova.c x86/ia64: intel-iommu: move to drivers/iommu/ 2011-06-21 10:49:30 +02:00
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