[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BANLkTimqt=yMGHcqEH5u-4GkMX9=+BuB6A@mail.gmail.com>
Date: Tue, 7 Jun 2011 16:46:26 +0300
From: Ohad Ben-Cohen <ohad@...ery.com>
To: Laurent Pinchart <laurent.pinchart@...asonboard.com>
Cc: linux-media@...r.kernel.org, linux-omap@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
Hiroshi.DOYU@...ia.com, arnd@...db.de, davidb@...eaurora.org,
Joerg.Roedel@....com
Subject: Re: [RFC 2/6] omap: iovmm: generic iommu api migration
Hi Laurent,
On Tue, Jun 7, 2011 at 2:26 PM, Laurent Pinchart
<laurent.pinchart@...asonboard.com> wrote:
>> Right now we have a BUG_ON if pa is unaligned, but that can be changed
>> if needed (do we want it to handle offsets ?).
>
> At least for the OMAP3 ISP we need to, as video buffers don't necessarily
> start on page boundaries.
Where do you take care of those potential offsets today ? Or do you
simply ignore the offsets and map the entire page ?
Seems like omap's iommu (mostly) rejects unaligned pa addresses, see:
4abb761749abfb4ec403e4054f9dae2ee604e54f "omap iommu: Reject unaligned
addresses at setting page table entry"
(this doesn't seem to cover 4KB entries though, only large pages,
sections and super sections)
> A separate patch is indeed needed, yes. As you're already working on iommu it
> might be simpler if you add it to your tree.
Sure, i'll send it.
Thanks,
Ohad.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists