Re: [PATCH v2 2/2] omap3: iovmm: Support non page-aligned buffers in iommu_vmap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Tony Lindgren <tony@xxxxxxxxxxx> [110601 06:07]:
> * Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx> [110601 06:04]:
> > On Wednesday 01 June 2011 14:50:24 Tony Lindgren wrote:
> > > * Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx> [110601 05:21]:
> > > > The IOMMU virtual memory mapping API requires page-aligned buffers.
> > > > There's no hardware reason behind such a restriction. Remove it by
> > > > rounding the address of the first page entry down, and adding the offset
> > > > back to the IOMMU virtual address.
> > > 
> > > Does this one also fix some bug?
> > 
> > Yes, but no oops. It fixes an OMAP3 ISP failure when the buffer passed from 
> > userspace is not page-aligned.
> 
> OK, thanks. I'll update the description with that and apply both to devel-fixes.

Oops not quite. Please repost one more time with linux-arm-kernel
also Cc'd for review. Otherwise I have to repost them before merging..

Thanks,

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux