[PATCH 05/14] lib: Add I/O map cache implementation
Thierry Reding
thierry.reding at avionic-design.de
Wed Jan 16 06:52:25 EST 2013
On Wed, Jan 16, 2013 at 11:25:56AM +0000, Russell King - ARM Linux wrote:
> On Wed, Jan 16, 2013 at 11:18:22AM +0100, Thierry Reding wrote:
> > err = ioremap_page_range(virt, virt + SZ_64K - 1, phys,
>
> Why -1 here?
Right, I forgot that end in these functions always means one byte after
the end. Removing the -1 seems to get past the remapping at least.
Reading the configuration space through the mapping doesn't though. I'll
investigate some more.
Thanks for pointing this out Russell.
Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20130116/c42c59ae/attachment.sig>
More information about the linux-arm-kernel
mailing list